library: libCore #include "TBaseClass.h"

# TBaseClass

class description - source file - inheritance tree (.pdf)

## class TBaseClass : public TDictionary

| Inheritance Chart:
`TObject`
| <- | `TNamed`
| <- | `TDictionary`
| <- | `TBaseClass` |

        public:

                              TBaseClass(G__BaseClassInfo* info = 0, TClass* cl = 0)
                              TBaseClass(const TBaseClass&)
                      virtual ~TBaseClass()
                 virtual void Browse(TBrowser* b)
               static TClass* Class()
                      TClass* GetClassPointer(Bool_t load = kTRUE)
                        Int_t GetDelta() const
          virtual const char* GetTitle() const
              virtual TClass* IsA() const
               virtual Bool_t IsFolder() const
                        Int_t IsSTLContainer()
                  TBaseClass& operator=(const TBaseClass&)
               virtual Long_t Property() const
                 virtual void ShowMembers(TMemberInspector& insp, char* parent)
                 virtual void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)

### Data Members

        private:

          G__BaseClassInfo* fInfo      pointer to CINT base class info
                    TClass* fClassPtr  pointer to the base class TClass
                    TClass* fClass     pointer to parent class

## Class Description

      Each class (see TClass) has a linked list of its base class(es).
      This class describes one single base class.
      The base class info is obtained via the CINT api.
         see class TCint.

      The base class information is used a.o. in to find all inherited
      methods.

TBaseClass(G__BaseClassInfo *info, TClass *cl) : TDictionary()

     Default TBaseClass ctor. TBaseClasses are constructed in TClass
     via a call to TCint::CreateListOfBaseClasses().

~TBaseClass()

     TBaseClass dtor deletes adopted G__BaseClassInfo object.

void Browse(TBrowser *b)

     Called by the browser, to browse a baseclass.

TClass* GetClassPointer(Bool_t load)

     Get pointer to the base class TClass.

Int_t GetDelta() const

     Get offset from "this" to part of base class.

const char* GetTitle() const

     Get base class description (comment).

int IsSTLContainer()

     Return which type (if any) of STL container the data member is.

Long_t Property() const

     Get property description word. For meaning of bits see EProperty.

### Inline Functions

                 Bool_t IsFolder() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
             TBaseClass TBaseClass(const TBaseClass&)
            TBaseClass& operator=(const TBaseClass&)

Author: Fons Rademakers 08/02/95
Last update: root/meta:$Name: $:$Id: TBaseClass.cxx,v 1.9 2002/11/26 10:24:09 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *