TBaseClass


class description - source file - inheritance tree

class TBaseClass : public TDictionary


    public:
TBaseClass TBaseClass(G__BaseClassInfo* info = 0, TClass* cl = 0) TBaseClass TBaseClass(const TBaseClass&) virtual void ~TBaseClass() virtual void Browse(TBrowser* b) static TClass* Class() virtual Int_t Compare(const TObject* obj) const TClass* GetClassPointer(Bool_t load = kTRUE) Int_t GetDelta() const virtual const char* GetName() const virtual const char* GetTitle() const virtual ULong_t Hash() const virtual TClass* IsA() const virtual Bool_t IsFolder() const Int_t IsSTLContainer() 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 class TString fName name of 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* GetName() const
 Get base class name.

const char* GetTitle() const
 Get base class description (comment).

Int_t Compare(const TObject *obj) const
 Compare to other object. Returns 0<, 0 or >0 depending on
 whether "this" is lexicographically less than, equal to, or
 greater than obj.

ULong_t Hash() const
 Return hash value for TBaseClass based on its name.

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&)


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


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.