The ROOT global object gROOT contains a list of all defined classes. This list is build when a reference to a class dictionary is made. When this happens, the static "class"::Dictionary() function is called to create a TClass object describing the class. The Dictionary() function is defined in the ClassDef macro and stored (at program startup or library load time) together with the class name in the TClassTable singleton object. For a description of all dictionary classes see TDictionary.
TClass() | |
TClass(const char* name, Bool_t silent = kFALSE) | |
TClass(const char* name, Version_t cversion, const char* dfil = 0, const char* ifil = 0, Int_t dl = 0, Int_t il = 0, Bool_t silent = kFALSE) | |
TClass(const char* name, Version_t cversion, const type_info& info, TVirtualIsAProxy* isa, ShowMembersFunc_t showmember, const char* dfil, const char* ifil, Int_t dl, Int_t il, Bool_t silent = kFALSE) | |
virtual | ~TClass() |
void | TObject::AbstractMethod(const char* method) const |
static void | AddClass(TClass* cl) |
void | AddImplFile(const char* filename, int line) |
void | AddInstance(Bool_t heap = kFALSE) |
static Bool_t | AddRule(const char* rule) |
void | AdoptMemberStreamer(const char* name, TMemberStreamer* strm) |
void | AdoptReferenceProxy(TVirtualRefProxy* proxy) |
void | AdoptSchemaRules(ROOT::TSchemaRuleSet* rules) |
void | AdoptStreamer(TClassStreamer* strm) |
virtual void | TObject::AppendPad(Option_t* option = "") |
static Int_t | AutoBrowse(TObject* obj, TBrowser* browser) |
virtual void | Browse(TBrowser* b) |
Int_t | Browse(void* obj, TBrowser* b) const |
void | BuildEmulatedRealData(const char* name, Long_t offset, TClass* cl) |
void | BuildRealData(void* pointer = 0, Bool_t isTransient = kFALSE) |
void | CalculateStreamerOffset() const |
Bool_t | CallShowMembers(void* obj, TMemberInspector& insp, Int_t isATObject = -1) const |
Bool_t | CanIgnoreTObjectStreamer() |
Bool_t | CanSplit() const |
static TClass* | Class() |
virtual const char* | TObject::ClassName() const |
virtual void | TNamed::Clear(Option_t* option = "") |
virtual TObject* | Clone(const char* newname = "") const |
virtual Int_t | TNamed::Compare(const TObject* obj) const |
virtual void | TNamed::Copy(TObject& named) const |
void | CopyCollectionProxy(const TVirtualCollectionProxy&) |
void | TDictionary::CreateAttributeMap() |
virtual void | TObject::Delete(Option_t* option = "")MENU |
void | DeleteArray(void* ary, Bool_t dtorOnly = kFALSE) |
void | Destructor(void* obj, Bool_t dtorOnly = kFALSE) |
virtual Int_t | TObject::DistancetoPrimitive(Int_t px, Int_t py) |
virtual void | Draw(Option_t* option = "") |
virtual void | TObject::DrawClass() constMENU |
virtual TObject* | TObject::DrawClone(Option_t* option = "") constMENU |
virtual void | Dump() const |
void | Dump(void* obj) const |
void* | DynamicCast(const TClass* base, void* obj, Bool_t up = kTRUE) |
virtual void | TObject::Error(const char* method, const char* msgfmt) const |
char* | EscapeChars(const char* text) const |
virtual void | TObject::Execute(const char* method, const char* params, Int_t* error = 0) |
virtual void | TObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0) |
virtual void | TObject::ExecuteEvent(Int_t event, Int_t px, Int_t py) |
virtual void | TObject::Fatal(const char* method, const char* msgfmt) const |
virtual void | TNamed::FillBuffer(char*& buffer) |
TVirtualStreamerInfo* | FindConversionStreamerInfo(const char* onfile_classname, UInt_t checksum) const |
TVirtualStreamerInfo* | FindConversionStreamerInfo(const TClass* onfile_cl, UInt_t checksum) const |
virtual TObject* | TObject::FindObject(const char* name) const |
virtual TObject* | TObject::FindObject(const TObject* obj) const |
TVirtualStreamerInfo* | FindStreamerInfo(UInt_t checksum) const |
TVirtualStreamerInfo* | FindStreamerInfoAbstractEmulated(UInt_t checksum) const |
TClass* | GetActualClass(const void* object) const |
TDictAttributeMap* | TDictionary::GetAttributeMap() 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(TClass::ECheckSum code = kCurrentCheckSum) const |
static TClass* | GetClass(const char* name, Bool_t load = kTRUE, Bool_t silent = kFALSE) |
static TClass* | GetClass(const type_info& typeinfo, Bool_t load = kTRUE, Bool_t silent = kFALSE) |
ClassInfo_t* | GetClassInfo() const |
Int_t | GetClassSize() const |
Version_t | GetClassVersion() const |
TVirtualCollectionProxy* | GetCollectionProxy() const |
const char* | GetContextMenuTitle() const |
TVirtualStreamerInfo* | GetConversionStreamerInfo(const char* onfile_classname, Int_t version) const |
TVirtualStreamerInfo* | GetConversionStreamerInfo(const TClass* onfile_cl, Int_t version) const |
TVirtualStreamerInfo* | GetCurrentStreamerInfo() |
TDataMember* | GetDataMember(const char* datamember) const |
Long_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 |
static VoidFuncPtr_t | GetDict(const char* cname) |
static VoidFuncPtr_t | GetDict(const type_info& info) |
static TDictionary* | TDictionary::GetDictionary(const char* name) |
static TDictionary* | TDictionary::GetDictionary(const type_info& typeinfo) |
ROOT::DirAutoAdd_t | GetDirectoryAutoAdd() const |
virtual Option_t* | TObject::GetDrawOption() const |
static Long_t | TObject::GetDtorOnly() |
UInt_t | GetHeapInstanceCount() const |
virtual const char* | TObject::GetIconName() const |
Short_t | GetImplFileLine() const |
const char* | GetImplFileName() const |
UInt_t | GetInstanceCount() const |
TVirtualIsAProxy* | GetIsAProxy() const |
TVirtualStreamerInfo* | GetLastReadInfo() const |
TList* | GetListOfAllPublicDataMembers() |
TList* | GetListOfAllPublicMethods() |
TList* | GetListOfBases() |
TList* | GetListOfDataMembers() |
TList* | GetListOfMethods() |
TList* | GetListOfRealData() const |
void | GetMenuItems(TList* listitems) |
TList* | GetMenuList() const |
ROOT::MergeFunc_t | GetMerge() 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) |
virtual const char* | TNamed::GetName() const |
Int_t | GetNdata() |
ROOT::NewFunc_t | GetNew() const |
ROOT::NewArrFunc_t | GetNewArray() const |
Int_t | GetNmethods() |
virtual char* | TObject::GetObjectInfo(Int_t px, Int_t py) const |
static Bool_t | TObject::GetObjectStat() |
virtual Option_t* | TObject::GetOption() const |
TClass** | GetPersistentRef() const |
TRealData* | GetRealData(const char* name) const |
TVirtualRefProxy* | GetReferenceProxy() const |
ROOT::ResetAfterMergeFunc_t | GetResetAfterMerge() const |
const ROOT::TSchemaRuleSet* | GetSchemaRules() const |
ROOT::TSchemaRuleSet* | GetSchemaRules(Bool_t create = kFALSE) |
const char* | GetSharedLibs() |
ShowMembersFunc_t | GetShowMembersWrapper() const |
TClassStreamer* | GetStreamer() const |
ClassStreamerFunc_t | GetStreamerFunc() const |
TVirtualStreamerInfo* | GetStreamerInfo(Int_t version = 0) const |
TVirtualStreamerInfo* | GetStreamerInfoAbstractEmulated(Int_t version = 0) const |
TObjArray* | GetStreamerInfos() const |
virtual const char* | TNamed::GetTitle() const |
const type_info* | GetTypeInfo() const |
virtual UInt_t | TObject::GetUniqueID() const |
virtual Bool_t | TObject::HandleTimer(TTimer* timer) |
Bool_t | HasDefaultConstructor() const |
virtual ULong_t | TNamed::Hash() const |
void | IgnoreTObjectStreamer(Bool_t ignore = kTRUE) |
virtual void | TObject::Info(const char* method, const char* msgfmt) const |
virtual Bool_t | InheritsFrom(const char* cl) const |
virtual Bool_t | InheritsFrom(const TClass* cl) const |
virtual void | TObject::Inspect() constMENU |
void | InterpretedShowMembers(void* obj, TMemberInspector& insp) |
void | TObject::InvertBit(UInt_t f) |
virtual TClass* | IsA() const |
static TClass::ENewType | IsCallingNew() |
virtual Bool_t | TObject::IsEqual(const TObject* obj) const |
virtual Bool_t | IsFolder() const |
Bool_t | IsFolder(void* obj) const |
Bool_t | IsForeign() const |
Bool_t | IsLoaded() const |
Bool_t | TObject::IsOnHeap() const |
virtual Bool_t | TNamed::IsSortable() const |
Bool_t | IsStartingWithTObject() const |
Bool_t | IsTObject() const |
Bool_t | IsVersioned() const |
Bool_t | TObject::IsZombie() const |
static TClass* | Load(TBuffer& b) |
virtual void | ls(Option_t* opt = "") const |
void | MakeCustomMenuList() |
Bool_t | MatchLegacyCheckSum(UInt_t checksum) const |
void | TObject::MayNotUse(const char* method) const |
void | Move(void* arenaFrom, void* arenaTo) const |
void* | New(TClass::ENewType defConstructor = kClassNew) const |
void* | New(void* arena, TClass::ENewType defConstructor = kClassNew) const |
void* | NewArray(Long_t nElements, TClass::ENewType defConstructor = kClassNew) const |
void* | NewArray(Long_t nElements, void* arena, TClass::ENewType defConstructor = kClassNew) const |
virtual Bool_t | TObject::Notify() |
void | TObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const |
static void | TObject::operator delete(void* ptr) |
static void | TObject::operator delete(void* ptr, void* vp) |
static void | TObject::operator delete[](void* ptr) |
static void | TObject::operator delete[](void* ptr, void* vp) |
void* | TObject::operator new(size_t sz) |
void* | TObject::operator new(size_t sz, void* vp) |
void* | TObject::operator new[](size_t sz) |
void* | TObject::operator new[](size_t sz, void* vp) |
virtual void | TObject::Paint(Option_t* option = "") |
virtual void | TObject::Pop() |
virtual void | PostLoadCheck() |
virtual void | TNamed::Print(Option_t* option = "") const |
virtual Long_t | Property() const |
virtual Int_t | TObject::Read(const char* name) |
Int_t | ReadBuffer(TBuffer& b, void* pointer) |
Int_t | ReadBuffer(TBuffer& b, void* pointer, Int_t version, UInt_t start, UInt_t count) |
static Int_t | ReadRules() |
static Int_t | ReadRules(const char* filename) |
virtual void | TObject::RecursiveRemove(TObject* obj) |
static void | RemoveClass(TClass* cl) |
void | ReplaceWith(TClass* newcl, Bool_t recurse = kTRUE) const |
void | TObject::ResetBit(UInt_t f) |
void | ResetClassInfo(Long_t tagnum) |
void | ResetInstanceCount() |
void | ResetMenuList() |
virtual void | TObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU |
virtual void | TObject::SavePrimitive(ostream& out, Option_t* option = "") |
void | TObject::SetBit(UInt_t f) |
void | TObject::SetBit(UInt_t f, Bool_t set) |
void | SetCanSplit(Int_t splitmode) |
void | SetCollectionProxy(const ROOT::TCollectionProxyInfo&) |
void | SetContextMenuTitle(const char* title) |
void | SetCurrentStreamerInfo(TVirtualStreamerInfo* info) |
void | SetDeclFile(const char* name, int line) |
void | SetDelete(ROOT::DelFunc_t deleteFunc) |
void | SetDeleteArray(ROOT::DelArrFunc_t deleteArrayFunc) |
void | SetDestructor(ROOT::DesFunc_t destructorFunc) |
void | SetDirectoryAutoAdd(ROOT::DirAutoAdd_t dirAutoAddFunc) |
virtual void | TObject::SetDrawOption(Option_t* option = "")MENU |
static void | TObject::SetDtorOnly(void* obj) |
void | SetGlobalIsA(IsAGlobalFunc_t) |
void | SetImplFileName(const char* implFileName) |
void | SetLastReadInfo(TVirtualStreamerInfo* info) |
void | SetMemberStreamer(const char* name, MemberStreamerFunc_t strm) |
void | SetMerge(ROOT::MergeFunc_t mergeFunc) |
virtual void | TNamed::SetName(const char* name)MENU |
virtual void | TNamed::SetNameTitle(const char* name, const char* title) |
void | SetNew(ROOT::NewFunc_t newFunc) |
void | SetNewArray(ROOT::NewArrFunc_t newArrayFunc) |
static void | TObject::SetObjectStat(Bool_t stat) |
void | SetResetAfterMerge(ROOT::ResetAfterMergeFunc_t resetFunc) |
void | SetStreamerFunc(ClassStreamerFunc_t strm) |
TVirtualStreamerInfo* | SetStreamerInfo(Int_t version, const char* info = "") |
virtual void | TNamed::SetTitle(const char* title = "")MENU |
virtual void | TObject::SetUniqueID(UInt_t uid) |
void | SetUnloaded() |
virtual void | ShowMembers(TMemberInspector&) |
Int_t | Size() const |
virtual Int_t | TNamed::Sizeof() const |
void | Store(TBuffer& b) const |
virtual void | Streamer(TBuffer&) |
void | Streamer(void* obj, TBuffer& b, const TClass* onfile_class = 0) const |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
virtual void | TObject::SysError(const char* method, const char* msgfmt) const |
Bool_t | TObject::TestBit(UInt_t f) const |
Int_t | TObject::TestBits(UInt_t f) const |
virtual void | TObject::UseCurrentStyle() |
virtual void | TObject::Warning(const char* method, const char* msgfmt) const |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const |
Int_t | WriteBuffer(TBuffer& b, void* pointer, const char* info = "") |
virtual void | TObject::DoError(int level, const char* location, const char* fmt, va_list va) const |
TVirtualStreamerInfo* | FindStreamerInfo(TObjArray* arr, UInt_t checksum) const |
static THashTable* | GetClassShortTypedefHash() |
void | TObject::MakeZombie() |
TClass(const TClass& tc) | |
TVirtualStreamerInfo* | DetermineCurrentStreamerInfo() |
void | ForceReload(TClass* oldcl) |
Int_t | GetBaseClassOffsetRecurse(const TClass* base) |
TMethod* | GetClassMethod(Long_t faddr) |
TMethod* | GetClassMethod(const char* name, const char* signature) |
static ROOT::TMapTypeToTClass* | GetIdMap() |
void | Init(const char* name, Version_t cversion, const type_info* info, TVirtualIsAProxy* isa, ShowMembersFunc_t showmember, const char* dfil, const char* ifil, Int_t dl, Int_t il, Bool_t silent) |
TClass& | operator=(const TClass&) |
void | SetClassSize(Int_t sizof) |
void | SetClassVersion(Version_t version) |
void | StreamerDefault(void* object, TBuffer& b, const TClass* onfile_class) const |
void | StreamerExternal(void* object, TBuffer& b, const TClass* onfile_class) const |
void | StreamerInstrumented(void* object, TBuffer& b, const TClass* onfile_class) const |
void | StreamerStreamerInfo(void* object, TBuffer& b, const TClass* onfile_class) const |
void | StreamerTObject(void* object, TBuffer& b, const TClass* onfile_class) const |
void | StreamerTObjectEmulated(void* object, TBuffer& b, const TClass* onfile_class) const |
void | StreamerTObjectInitialized(void* object, TBuffer& b, const TClass* onfile_class) const |
enum { | kClassSaved | |
kIgnoreTObjectStreamer | ||
kUnloaded | ||
kIsTObject | ||
kIsForeign | ||
kIsEmulation | ||
kStartWithTObject | ||
kWarned | ||
kHasNameMapNode | ||
}; | ||
enum ENewType { | kRealNew | |
kClassNew | ||
kDummyNew | ||
}; | ||
enum ECheckSum { | kCurrentCheckSum | |
kNoEnum | ||
kNoRange | ||
kWithTypeDef | ||
kNoBaseCheckSum | ||
kLatestCheckSum | ||
}; | ||
enum { | kLoading | |
}; | ||
enum EStreamerType { | kDefault | |
kEmulated | ||
kTObject | ||
kInstrumented | ||
kForeign | ||
kExternal | ||
}; | ||
enum TDictionary::ESTLType { | kNone | |
kVector | ||
kList | ||
kDeque | ||
kMap | ||
kMultimap | ||
kSet | ||
kMultiset | ||
kBitset | ||
}; | ||
enum TObject::EStatusBits { | kCanDelete | |
kMustCleanup | ||
kObjInCanvas | ||
kIsReferenced | ||
kHasUUID | ||
kCannotPick | ||
kNoContextMenu | ||
kInvalidObject | ||
}; | ||
enum TObject::[unnamed] { | kIsOnHeap | |
kNotDeleted | ||
kZombie | ||
kBitMask | ||
kSingleKey | ||
kOverwrite | ||
kWriteDelete | ||
}; |
TString | TNamed::fName | object identifier |
TString | TNamed::fTitle | object title |
TList* | fAllPubData | all public data members (including from base classes) |
TList* | fAllPubMethod | all public methods (including from base classes) |
TList* | fBase | linked list for base classes |
Int_t | fCanSplit | !Indicates whether this class can be split or not. |
UInt_t | fCheckSum | checksum of data members and base classes |
ClassInfo_t* | fClassInfo | pointer to CINT class info class |
TList* | fClassMenuList | list of class menu items |
Version_t | fClassVersion | Class version Identifier |
TVirtualCollectionProxy* | fCollectionProxy | Collection interface |
TString | fContextMenuTitle | context menu title |
map<std::string,TObjArray*>* | fConversionStreamerInfo | Array of the streamer infos derived from another class. |
TVirtualStreamerInfo* | fCurrentInfo | !cached current streamer info. |
TList* | fData | linked list for data members |
Short_t | fDeclFileLine | line of class declaration |
const char* | fDeclFileName | name of class declaration file |
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. |
void* | fDirAutoAdd | pointer which implements the Directory Auto Add feature for this class.']' |
IsAGlobalFunc_t | fGlobalIsA | pointer to a global IsA function. |
Short_t | fImplFileLine | line of class implementation |
const char* | fImplFileName | name of class implementation file |
UInt_t | fInstanceCount | number of instances of this class |
void* | fInterShowMembers | Interpreter call setup for ShowMembers |
TVirtualIsAProxy* | fIsA | !pointer to the class's IsA proxy. |
TMethodCall* | fIsAMethod | !saved info to call a IsA member function |
Bool_t | fIsOffsetStreamerSet | !saved remember if fOffsetStreamer has been set. |
TVirtualStreamerInfo* | fLastReadInfo | !cached streamer info used in the last read. |
void* | fMerge | pointer to a function implementing Merging objects of this class. |
TList* | fMethod | linked list for methods |
void* | fNew | pointer to a function newing one object. |
void* | fNewArray | pointer to a function newing an array of objects. |
Long_t | fOffsetStreamer | !saved info to call Streamer |
UInt_t | fOnHeap | number of instances on heap |
TClass** | fPersistentRef | !Persistent address of pointer to this TClass object and its successors. |
Long_t | fProperty | !Property |
TList* | fRealData | linked list for persistent members including base classes |
TVirtualRefProxy* | fRefProxy | !Pointer to reference proxy if this class represents a reference |
void* | fResetAfterMerge | pointer to a function implementing Merging objects of this class. |
ROOT::TSchemaRuleSet* | fSchemaRules | ! Schema evolution rules |
TString | fSharedLibs | shared libraries containing class code |
ShowMembersFunc_t | fShowMembers | pointer to the class's ShowMembers function |
Int_t | fSizeof | Sizeof the class. |
TClassStreamer* | fStreamer | pointer to streamer function |
ClassStreamerFunc_t | fStreamerFunc | Wrapper around this class custom Streamer member function. |
G__p2memfunc | fStreamerImpl | ! Pointer to the function implementing the right streaming behavior for the class represented by this object. |
TObjArray* | fStreamerInfo | Array of TVirtualStreamerInfo |
Int_t | fStreamerType | !cached of the streaming method to use |
const type_info* | fTypeInfo | pointer to the C++ type information. |
Bool_t | fVersionUsed | !Indicates whether GetClassVersion has been called |
static Int_t | fgClassCount | provides unique id for a each class |
static THashTable* | fgClassShortTypedefHash | |
static THashTable* | fgClassTypedefHash |
Create a TClass object. This object contains the full dictionary of a class. It has list to baseclasses, datamembers and methods. Use this ctor to create a standalone TClass object. Most useful to get a TClass interface to an interpreted class. Used by TTabCom. Normally you would use TClass::GetClass("class") to get access to a TClass object for a certain class.
Create a TClass object. This object contains the full dictionary of a class. It has list to baseclasses, datamembers and methods.
Create a TClass object. This object contains the full dictionary of a class. It has list to baseclasses, datamembers and methods.
Initialize a TClass object. This object contains the full dictionary of a class. It has list to baseclasses, datamembers and methods.
Read the class.rules files from the default location:. $ROOTSYS/etc/class.rules (or ROOTETCDIR/class.rules)
Read a class.rules file which contains one rule per line with comment starting with a # Returns the number of rules loaded. Returns -1 in case of error.
Add a schema evolution customization rule. The syntax of the rule can be either the short form: [type=Read] classname membername [attributes=... ] [version=[...] ] [checksum=[...] ] [oldtype=...] [code={...}] or the long form [type=Read] sourceClass=classname [targetclass=newClassname] [ source="type membername; [type2 membername2]" ] [target="membername3;membername4"] [attributes=... ] [version=...] [checksum=...] [code={...}|functionname] For example to set HepMC::GenVertex::m_event to _not_ owned the object it is pointing to: HepMC::GenVertex m_event attributes=NotOwner Semantic of the tags: type : the type of the rule, valid values: Read, ReadRaw, Write, WriteRaw, the default is 'Read'. sourceClass : the name of the class as it is on the rule file targetClass : the name of the class as it is in the current code ; defaults to the value of sourceClass source : the types and names of the data members from the class on file that are needed, the list is separated by semi-colons ';' oldtype: in the short form only, indicates the type on disk of the data member. target : the names of the data members updated by this rule, the list is separated by semi-colons ';' attributes : list of possible qualifiers amongs: Owner, NotOwner version : list of the version of the class layout that this rule applies to. The syntax can be [1,4,5] or [2-] or [1-3] or [-3] checksum : comma delimited list of the checksums of the class layout that this rule applies to. code={...} : code to be executed for the rule or name of the function implementing it.
Return the set of the schema rules if any. If create is true, create an empty set
Build a full list of persistent data members. Scans the list of all data members in the class itself and also in all base classes. For each persistent data member, inserts a TRealData object in the list fRealData. If pointer is not 0, uses the object at pointer otherwise creates a temporary object of this class.
Build the list of real data for an emulated class
Calculate the offset between an object of this class to its base class TObject. The pointer can be adjusted by that offset to access any virtual method of TObject like Streamer() and ShowMembers().
Call ShowMembers() on the obj of this class type, passing insp and parent. isATObject is -1 if unknown, 0 if it is not a TObject, and 1 if it is a TObject. The function returns whether it was able to call ShowMembers().
Do a ShowMembers() traversal of all members and base classes' members using the reflection information from the interpreter. Works also for ionterpreted objects.
Draw detailed class inheritance structure. If a class B inherits from a class A, the description of B is drawn on the right side of the description of A. Member functions overridden by B are shown in class A with a blue line erasing the corresponding member function
Dump contents of object on stdout. Using the information in the object dictionary each data member is interpreted. If a data member is a pointer, the pointer value is printed 'obj' is assume to point to an object of the class describe by this TClass The following output is the Dump of a TArrow object: fAngle 0 Arrow opening angle (degrees) fArrowSize 0.2 Arrow Size fOption.*fData fX1 0.1 X of 1st point fY1 0.15 Y of 1st point fX2 0.67 X of 2nd point fY2 0.83 Y of 2nd point fUniqueID 0 object unique identifier fBits 50331648 bit field status word fLineColor 1 line color fLineStyle 1 line style fLineWidth 1 line width fFillColor 19 fill area color fFillStyle 1001 fill area style
Introduce an escape character (@) in front of a special chars. You need to use the result immediately before it is being overwritten.
Return a pointer the the real class of the object. This is equivalent to object->IsA() when the class has a ClassDef. It is REQUIRED that object is coming from a proper pointer to the class represented by 'this'. Example: Special case: class MyClass : public AnotherClass, public TObject then on return, one must do: TObject *obj = (TObject*)((void*)myobject)directory->Get("some object of MyClass"); MyClass::Class()->GetActualClass(obj); // this would be wrong!!! Also if the class represented by 'this' and NONE of its parents classes have a virtual ptr table, the result will be 'this' and NOT the actual class.
Return pointer to the base class "classname". Returns 0 in case "classname" is not a base class. Takes care of multiple inheritance.
Return pointer to the base class "cl". Returns 0 in case "cl" is not a base class. Takes care of multiple inheritance.
Return data member offset to the base class "cl". Returns -1 in case "cl" is not a base class. Returns -2 if cl is a base class, but we can't find the offset because it's virtual. Takes care of multiple inheritance.
Return data member offset to the base class "cl". Returns -1 in case "cl" is not a base class. Takes care of multiple inheritance.
Return pointer to (base) class that contains datamember.
Return the proxy describinb the collection (if any).
Get a wrapper/accessor function around this class custom streamer (member function).
Static method returning pointer to TClass of the specified class name. If load is true an attempt is made to obtain the class by loading the appropriate shared library (directed by the rootmap file). If silent is 'true', do not warn about missing dictionary for the class. (typically used for class that are used only for transient members) Returns 0 in case class is not found.
Return the class' names massaged with TClassEdit::ShortType with kDropStlDefault.
Return pointer to class with name.
Return a pointer to the dictionary loading function generated by rootcint
Return a pointer to the dictionary loading function generated by rootcint
Return pointer to datamember object with name "datamember".
return offset for member name. name can be a data member in the class itself, one of its base classes, or one member in one of the aggregated classes. In case of an emulated class, the list of emulated TRealData is built
Get the list of shared libraries containing the code for class cls. The first library in the list is the one containing the class, the others are the libraries the first one depends on. Returns 0 in case the library is not found.
Returns a list of all public methods of this class and its base classes. Refers to a subset of the methods in GetListOfMethods() so don't do GetListOfAllPublicMethods()->Delete(). Algorithm used to get the list is: - put all methods of the class in the list (also protected and private ones). - loop over all base classes and add only those methods not already in the list (also protected and private ones). - once finished, loop over resulting list and remove all private and protected methods.
Returns a list of all public data members of this class and its base classes. Refers to a subset of the data members in GetListOfDatamembers() so don't do GetListOfAllPublicDataMembers()->Delete().
Inform the other objects to replace this object by the new TClass (newcl)
Makes a customizable version of the popup menu list, i.e. makes a list of TClassMenuItem objects of methods accessible by context menu. The standard (and different) way consists in having just one element in this list, corresponding to the whole standard list. Once the customizable version is done, one can remove or add elements.
Register the fact that an object was moved from the memory location 'arenaFrom' to the memory location 'arenaTo'.
Return pointer to method without looking at parameters. Does not look in (possible) base classes.
Return pointer to method without looking at parameters. Does look in all base classes.
Find the best method (if there is one) matching the parameters. The params string must contain argument values, like "3189, \"aap\", 1.3". The function invokes GetClassMethod to search for a possible method in the class itself or in its base classes. Returns 0 in case method is not found.
Find the method with a given prototype. The proto string must be of the
form: "char*,int,double". Returns 0 in case method is not found.
Look for a method in this class that has the interface function address faddr.
Look for a method in this class that has the name and signature
Return the number of data members of this class Note that in case the list of data members is not yet created, it will be done by GetListOfDataMembers().
Return the number of methods of this class Note that in case the list of methods is not yet created, it will be done by GetListOfMethods().
returns a pointer to the TVirtualStreamerInfo object for version If the object does not exist, it is created Note: There are two special version numbers: 0: Use the class version from the currently loaded class library. -1: Assume no class library loaded (emulated class). Warning: If we create a new streamer info, whether or not the build optimizes is controlled externally to us by a global variable! Don't call us unless you have set that variable properly with TStreamer::Optimize()!
For the case where the requestor class is emulated and this class is abstract, returns a pointer to the TVirtualStreamerInfo object for version with an emulated representation whether or not the class is loaded. If the object does not exist, it is created Note: There are two special version numbers: 0: Use the class version from the currently loaded class library. -1: Assume no class library loaded (emulated class). Warning: If we create a new streamer info, whether or not the build optimizes is controlled externally to us by a global variable! Don't call us unless you have set that variable properly with TStreamer::Optimize()!
For the case where the requestor class is emulated and this class is abstract, returns a pointer to the TVirtualStreamerInfo object for version with an emulated representation whether or not the class is loaded. If the object does not exist, it is created Warning: If we create a new streamer info, whether or not the build optimizes is controlled externally to us by a global variable! Don't call us unless you have set that variable properly with TStreamer::Optimize()!
When the class kIgnoreTObjectStreamer bit is set, the automatically generated Streamer will not call TObject::Streamer. This option saves the TObject space overhead on the file. However, the information (fBits, fUniqueID) of TObject is lost. Note that to be effective for objects streamed object-wise this function must be called for the class deriving directly from TObject, eg, assuming that BigTrack derives from Track and Track derives from TObject, one must do: Track::Class()->IgnoreTObjectStreamer(); and not: BigTrack::Class()->IgnoreTObjectStreamer(); To be effective for object streamed member-wise or split in a TTree, this function must be called for the most derived class (i.e. BigTrack).
Return kTRUE if this class inherits from class cl. note that the function returns KTRUE in case cl is the class itself
Return a pointer to a newly allocated object of this class. The class must have a default constructor. For meaning of defConstructor, see TClass::IsCallingNew(). The constructor actually called here can be customized by using the rootcint pragma: #pragma link C++ ioctortype UserClass; For example, with this pragma and a class named MyClass, this method will called the first of the following 3 constructors which exists and is public: MyClass(UserClass*); MyClass(TRootIOCtor*); MyClass(); // Or a constructor with all its arguments defaulted. When more than one pragma ioctortype is used, the first seen as priority For example with: #pragma link C++ ioctortype UserClass1; #pragma link C++ ioctortype UserClass2; We look in the following order: MyClass(UserClass1*); MyClass(UserClass2*); MyClass(TRootIOCtor*); MyClass(); // Or a constructor with all its arguments defaulted.
Return a pointer to a newly allocated object of this class. The class must have a default constructor. For meaning of defConstructor, see TClass::IsCallingNew().
Return a pointer to a newly allocated array of objects of this class. The class must have a default constructor. For meaning of defConstructor, see TClass::IsCallingNew().
Return a pointer to a newly allocated object of this class. The class must have a default constructor. For meaning of defConstructor, see TClass::IsCallingNew().
Explicitly call operator delete[] for an array.
Set the splitability of this class: -1: Use the default calculation 0: Disallow splitting 1: Always allow splitting.
Private function. Set the class version for the 'class' represented by this TClass object. See the public interface: ROOT::ResetClassVersion defined in TClassTable.cxx Note on class version numbers: If no class number has been specified, TClass::GetVersion will return -1 The Class Version 0 request the whole object to be transient The Class Version 1, unless specified via ClassDef indicates that the I/O should use the TClass checksum to distinguish the layout of the class
Determine and set pointer to current TVirtualStreamerInfo
Returns true if this class inherits from TObject and if the start of the TObject parts is at the very beginning of the objects. Concretly this means that the following code is proper for this class: ThisClass *ptr; void *void_ptr = (void)ptr; TObject *obj = (TObject*)void_ptr; This code would be wrong if 'ThisClass' did not inherit 'first' from TObject.
Do the initialization that can only be done after the CINT dictionary has been fully populated and can not be delayed efficiently.
Set TObject::fBits and fStreamerType to cache information about the class. The bits are kIsTObject : the class inherits from TObject kStartWithTObject: TObject is the left-most class in the inheritance tree kIsForeign : the class doe not have a Streamer method The value of fStreamerType are kTObject : the class inherits from TObject kForeign : the class does not have a Streamer method kInstrumented: the class does have a Streamer method kExternal: the class has a free standing way of streaming itself kEmulated: the class is missing its shared library.
Create the collection proxy object (and the streamer object) from using the information in the TCollectionProxyInfo.
This function installs a global IsA function for this class. The global IsA function will be used if there is no local IsA function (fIsA) A global IsA function has the signature: TClass *func( TClass *cl, const void *obj); 'cl' is a pointer to the TClass object that corresponds to the 'pointer type' used to retrieve the value 'obj' For example with: TNamed * m = new TNamed("example","test"); TObject* o = m and the global IsA function would be called with TObject::Class() as the first parameter and the exact numerical value in the pointer 'o'. In other word, inside the global IsA function. it is safe to C-style cast the value of 'obj' into a pointer to the class described by 'cl'.
Call this method to indicate that the shared library containing this class's code has been removed (unloaded) from the process's memory
Info is a string describing the names and types of attributes written by the class Streamer function. If info is an empty string (when called by TObject::StreamerInfo) the default Streamer info string is build. This corresponds to the case of an automatically generated Streamer. In case of user defined Streamer function, it is the user responsability to implement a StreamerInfo function (override TObject::StreamerInfo). The user must call IsA()->SetStreamerInfo(info) from this function.
Return true if the checksum passed as argument is one of the checksum value produced by the older checksum calulcation algorithm.
Compute and/or return the class check sum. The class ckecksum is used by the automatic schema evolution algorithm to uniquely identify a class version. The check sum is built from the names/types of base classes and data members. Original algorithm from Victor Perevovchikov (perev@bnl.gov). The valid range of code is determined by ECheckSum kNoEnum: data members of type enum are not counted in the checksum kNoRange: return the checksum of data members and base classes, not including the ranges and array size found in comments. kWithTypeDef: use the sugared type name in the calculation. This is needed for backward compatibility. WARNING: this function must be kept in sync with TClass::GetCheckSum. They are both used to handle backward compatibility and should both return the same values. TStreamerInfo uses the information in TStreamerElement while TClass uses the information from TClass::GetListOfBases and TClass::GetListOfDataMembers.
Adopt the Reference proxy pointer to indicate that this class represents a reference. When a new proxy is adopted, the old one is deleted.
Adopt the TMemberStreamer pointer to by p and use it to Stream non basic member name.
Install a new member streamer (p will be copied).
Function called by the Streamer functions to deserialize information from buffer b into object at p. This function assumes that the class version and the byte count information have been read. version is the version number of the class start is the starting position in the buffer b count is the number of bytes for this object in the buffer
Function called by the Streamer functions to deserialize information from buffer b into object at p.
Function called by the Streamer functions to serialize object at p to buffer b. The optional argument info may be specified to give an alternative StreamerInfo instead of using the default StreamerInfo automatically built from the class definition. For more information, see class TVirtualStreamerInfo.
There is special streamer for the class
Case of TObjects when fIsOffsetStreamerSet is known to have been set.
Case of TObjects when we do not have the library defining the class.
Case of instrumented class with a library
Default streaming in cases where either we have no way to know what to do or if Property() has not yet been called.
Adopt a TClassStreamer object. Ownership is transfered to this TClass object.
Set a wrapper/accessor function around this class custom streamer.
Install a new wrapper around 'ResetAfterMerge'.
Install a new wrapper around the directory auto add function.. The function autoAddFunc has the signature void (*)(void *obj, TDirectory dir) and should register 'obj' to the directory if dir is not null and unregister 'obj' from its current directory if dir is null
Find the TVirtualStreamerInfo in the StreamerInfos corresponding to checksum
Find the TVirtualStreamerInfo in the StreamerInfos corresponding to checksum
Return a Conversion StreamerInfo from the class 'classname' for version number 'version' to this class, if any.
Return a Conversion StreamerInfo from the class represened by cl for version number 'version' to this class, if any.
Return a Conversion StreamerInfo from the class 'classname' for the layout represented by 'checksum' to this class, if any.
Return a Conversion StreamerInfo from the class represened by cl for the layout represented by 'checksum' to this class, if any.
Return the wrapper around the directory auto add function.
Inline for performance, skipping one function call.