TClass


class description - source file - inheritance tree

class TClass : public TDictionary

    private:
TMethod* GetClassMethod(const char* name, const char* signature) TMethod* GetClassMethod(Long_t faddr) void Init(const char* name, Version_t cversion, const type_info* info, IsAFunc_t isa, ShowMembersFunc_t showmember, const char* dfil, const char* ifil, Int_t dl, Int_t il) void SetClassVersion(Version_t version) public:
TClass(const char* name) TClass(const char* name, Version_t cversion, const char* dfil = "0", const char* ifil = "0", Int_t dl = 0, Int_t il = 0) TClass(const char* name, Version_t cversion, const type_info& info, IsAFunc_t isa, ShowMembersFunc_t showmember, const char* dfil, const char* ifil, Int_t dl, Int_t il) TClass(const TClass&) TClass() virtual ~TClass() void AddImplFile(const char* filename, int line) void AddInstance(Bool_t heap = kFALSE) static Int_t AutoBrowse(TObject* obj, TBrowser* browser) virtual void Browse(TBrowser* b) void BuildRealData(void* pointer = 0) void BuildRealDataFake(const char* name, Int_t offset, TClass* cl) Bool_t CanIgnoreTObjectStreamer() static TClass* Class() void Destructor(void* obj, Bool_t dtorOnly = kFALSE) virtual void Draw(Option_t* option) void* DynamicCast(const TClass* base, void* obj, Bool_t up = kTRUE) char* EscapeChars(char* text) const TClass* GetActualClass(const void* object) const TClass* GetBaseClass(const char* classname) TClass* GetBaseClass(const TClass* base) Int_t GetBaseClassOffset(const TClass* base) TClass* GetBaseDataMember(const char* datamember) UInt_t GetCheckSum(UInt_t code = 0) const G__ClassInfo* GetClassInfo() const Version_t GetClassVersion() const TDataMember* GetDataMember(const char* datamember) const Int_t GetDataMemberOffset(const char* membername) const Short_t GetDeclFileLine() const const char* GetDeclFileName() const ROOT::DelFunc_t GetDelete() const ROOT::DelArrFunc_t GetDeleteArray() const ROOT::DesFunc_t GetDestructor() const UInt_t GetHeapInstanceCount() const Short_t GetImplFileLine() const const char* GetImplFileName() const UInt_t GetInstanceCount() const TList* GetListOfAllPublicDataMembers() TList* GetListOfAllPublicMethods() TList* GetListOfBases() TList* GetListOfDataMembers() TList* GetListOfMethods() TList* GetListOfRealData() const void GetMenuItems(TList* listitems) TList* GetMenuList() const TMethod* GetMethod(const char* method, const char* params) TMethod* GetMethodAllAny(const char* method) TMethod* GetMethodAny(const char* method) TMethod* GetMethodWithPrototype(const char* method, const char* proto) Int_t GetNdata() ROOT::NewFunc_t GetNew() const ROOT::NewArrFunc_t GetNewArray() const Int_t GetNmethods() TRealData* GetRealData(const char* name) const ShowMembersFunc_t GetShowMembersWrapper() TStreamerInfo* GetStreamerInfo(Int_t version = 0) TObjArray* GetStreamerInfos() const const type_info* GetTypeInfo() const Bool_t HasDefaultConstructor() const void IgnoreTObjectStreamer(Bool_t ignore = kTRUE) virtual Bool_t InheritsFrom(const char* cl) const virtual Bool_t InheritsFrom(const TClass* cl) const virtual TClass* IsA() const static TClass::ENewType IsCallingNew() virtual Bool_t IsFolder() const Bool_t IsForeign() const Bool_t IsLoaded() const Bool_t IsTObject() const static TClass* Load(TBuffer& b) void MakeCustomMenuList() void* New(void* arena, TClass::ENewType defConstructor = kClassNew) void* New(TClass::ENewType defConstructor = kClassNew) virtual Long_t Property() const Int_t ReadBuffer(TBuffer& b, void* pointer, Int_t version, UInt_t start, UInt_t count) Int_t ReadBuffer(TBuffer& b, void* pointer) void ResetInstanceCount() void ResetMenuList() void SetDelete(ROOT::DelFunc_t deleteFunc) void SetDeleteArray(ROOT::DelArrFunc_t deleteArrayFunc) void SetDestructor(ROOT::DesFunc_t destructorFunc) void SetNew(ROOT::NewFunc_t newFunc) void SetNewArray(ROOT::NewArrFunc_t newArrayFunc) void SetStreamer(const char* name, Streamer_t p) TStreamerInfo* SetStreamerInfo(Int_t version, const char* info) void SetUnloaded() virtual void ShowMembers(TMemberInspector& insp, char* parent) Int_t Size() const void Store(TBuffer& b) const virtual void Streamer(TBuffer& b) void Streamer(void* object, TBuffer& b) void StreamerNVirtual(TBuffer& b) Int_t WriteBuffer(TBuffer& b, void* pointer, const char* info)

Data Members

    private:
TObjArray* fStreamerInfo Array of TStreamerInfo TList* fRealData linked list for persistent members including base classes TList* fBase linked list for base classes TList* fData linked list for data members TList* fMethod linked list for methods TList* fAllPubData all public data members (including from base classes) TList* fAllPubMethod all public methods (including from base classes) const char* fDeclFileName name of class declaration file const char* fImplFileName name of class implementation file Short_t fDeclFileLine line of class declaration Short_t fImplFileLine line of class implementation UInt_t fInstanceCount number of instances of this class UInt_t fOnHeap number of instances on heap UInt_t fCheckSum checksum of data members and base classes Version_t fClassVersion Class version Identifier G__ClassInfo* fClassInfo pointer to CINT class info class TList* fClassMenuList list of class menu items const type_info* fTypeInfo pointer to the C++ type information. ShowMembersFunc_t fShowMembers pointer to the class's ShowMembers function IsAFunc_t fIsA pointer to the class's IsA function. void* fNew pointer to a function newing one object. void* fNewArray pointer to a function newing an array of objects. void* fDelete pointer to a function deleting one object. void* fDeleteArray pointer to a function deleting an array of objects. void* fDestructor pointer to a function call an object's destructor. Bool_t fVersionUsed !Indicates whether GetClassVersion has been called Long_t fProperty !Property void* fInterStreamer !saved info to call Streamer Long_t fOffsetStreamer !saved info to call Streamer static TClass::ENewType fgCallingNew Intent of why/how TClass::New() is called static Int_t fgClassCount provides unique id for a each class public:
static const enum TClass:: kClassSaved static const enum TClass:: kIgnoreTObjectStreamer static const enum TClass:: kUnloaded static const enum TClass:: kIsTObject static const enum TClass:: kIsForeign static const enum TClass:: kIsEmulation static const TClass::ENewType kRealNew static const TClass::ENewType kClassNew static const TClass::ENewType kDummyNew static const enum TClass:: kLoading


See also

TQClass

Class Description



Last update: Fri May 14 13:32:36 2004


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.