Logo ROOT   6.19/01
Reference Guide
List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
TClass Class Reference

Definition at line 75 of file TClass.h.

Classes

class  InsertTClassInRegistryRAII
 
class  TDeclNameRegistry
 
class  TNameMapNode
 

Public Types

enum  ECheckSum {
  kCurrentCheckSum = 0, kNoEnum = 1, kReflexNoComment = 2, kNoRange = 3,
  kWithTypeDef = 4, kReflex = 5, kNoRangeCheck = 6, kNoBaseCheckSum = 7,
  kLatestCheckSum = 8
}
 
enum  ENewType { kRealNew = 0, kClassNew, kDummyNew }
 
enum  EState {
  kNoInfo, kForwardDeclared, kEmulated, kInterpreted,
  kHasTClassInit, kLoaded = kHasTClassInit, kNamespaceForMeta
}
 
enum  EStatusBits {
  kReservedLoading = BIT(7), kClassSaved = BIT(12), kHasLocalHashMember = BIT(14), kIgnoreTObjectStreamer = BIT(15),
  kUnloaded = BIT(16), kIsTObject = BIT(17), kIsForeign = BIT(18), kIsEmulation = BIT(19),
  kStartWithTObject = BIT(20), kWarned = BIT(21), kHasNameMapNode = BIT(22), kHasCustomStreamerMember = BIT(23)
}
 
- Public Types inherited from TDictionary
typedef const voidDeclId_t
 
enum  ESTLType {
  kNone = ROOT::kNotSTL, kVector = ROOT::kSTLvector, kList = ROOT::kSTLlist, kForwardlist = ROOT::kSTLforwardlist,
  kDeque = ROOT::kSTLdeque, kMap = ROOT::kSTLmap, kMultimap = ROOT::kSTLmultimap, kSet = ROOT::kSTLset,
  kMultiset = ROOT::kSTLmultiset, kUnorderedSet = ROOT::kSTLunorderedset, kUnorderedMultiset = ROOT::kSTLunorderedmultiset, kUnorderedMap = ROOT::kSTLunorderedmap,
  kUnorderedMultimap = ROOT::kSTLunorderedmultimap, kBitset = ROOT::kSTLbitset
}
 
- Public Types inherited from TObject
enum  {
  kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kInconsistent = 0x08000000,
  kBitMask = 0x00ffffff
}
 
enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }
 
enum  EDeprecatedStatusBits { kObjInCanvas = BIT(3) }
 
enum  EStatusBits {
  kCanDelete = BIT(0), kMustCleanup = BIT(3), kIsReferenced = BIT(4), kHasUUID = BIT(5),
  kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13)
}
 

Public Member Functions

 TClass ()
 
 TClass (const char *name, Bool_t silent=kFALSE)
 
 TClass (const char *name, Version_t cversion, Bool_t silent=kFALSE)
 
 TClass (const char *name, Version_t cversion, EState theState, Bool_t silent=kFALSE)
 
 TClass (ClassInfo_t *info, Version_t cversion, const char *dfil, const char *ifil=0, Int_t dl=0, Int_t il=0, Bool_t silent=kFALSE)
 
 TClass (const char *name, Version_t cversion, const char *dfil, const char *ifil=0, Int_t dl=0, Int_t il=0, Bool_t silent=kFALSE)
 
 TClass (const char *name, Version_t cversion, const std::type_info &info, TVirtualIsAProxy *isa, const char *dfil, const char *ifil, Int_t dl, Int_t il, Bool_t silent=kFALSE)
 
virtual ~TClass ()
 
void AddImplFile (const char *filename, int line)
 
void AddInstance (Bool_t heap=kFALSE)
 
void AdoptMemberStreamer (const char *name, TMemberStreamer *strm)
 
void AdoptReferenceProxy (TVirtualRefProxy *proxy)
 
void AdoptSchemaRules (ROOT::Detail::TSchemaRuleSet *rules)
 
void AdoptStreamer (TClassStreamer *strm)
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action. More...
 
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 (const void *obj, TMemberInspector &insp, Bool_t isTransient=kFALSE) const
 
Bool_t CanIgnoreTObjectStreamer ()
 
Bool_t CanSplit () const
 
Long_t ClassProperty () const
 
TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
void CopyCollectionProxy (const TVirtualCollectionProxy &)
 
void DeleteArray (void *ary, Bool_t dtorOnly=kFALSE)
 
void Destructor (void *obj, Bool_t dtorOnly=kFALSE)
 
void Draw (Option_t *option="")
 Default Draw method for all objects. More...
 
void Dump () const
 Dump contents of object on stdout. More...
 
void Dump (const void *obj, Bool_t noAddr=kFALSE) const
 
voidDynamicCast (const TClass *base, void *obj, Bool_t up=kTRUE)
 
const voidDynamicCast (const TClass *base, const void *obj, Bool_t up=kTRUE)
 
char * EscapeChars (const char *text) const
 
TVirtualStreamerInfoFindConversionStreamerInfo (const char *onfile_classname, UInt_t checksum) const
 
TVirtualStreamerInfoFindConversionStreamerInfo (const TClass *onfile_cl, UInt_t checksum) const
 
TVirtualStreamerInfoFindStreamerInfo (UInt_t checksum) const
 
TVirtualStreamerInfoFindStreamerInfoAbstractEmulated (UInt_t checksum) const
 
TClassGetActualClass (const void *object) const
 
TClassGetBaseClass (const char *classname)
 
TClassGetBaseClass (const TClass *base)
 
Int_t GetBaseClassOffset (const TClass *toBase, void *address=0, bool isDerivedObject=true)
 
TClassGetBaseDataMember (const char *datamember)
 
UInt_t GetCheckSum (ECheckSum code=kCurrentCheckSum) const
 
UInt_t GetCheckSum (Bool_t &isvalid) const
 
UInt_t GetCheckSum (ECheckSum code, Bool_t &isvalid) const
 
ClassInfo_t * GetClassInfo () const
 
TMethodGetClassMethod (const char *name, const char *params, Bool_t objectIsConst=kFALSE)
 
TMethodGetClassMethodWithPrototype (const char *name, const char *proto, Bool_t objectIsConst=kFALSE, ROOT::EFunctionMatchMode mode=ROOT::kConversionMatch)
 
Int_t GetClassSize () const
 
Version_t GetClassVersion () const
 
TVirtualCollectionProxyGetCollectionProxy () const
 
ROOT::ESTLType GetCollectionType () const
 
const char * GetContextMenuTitle () const
 
TVirtualStreamerInfoGetConversionStreamerInfo (const char *onfile_classname, Int_t version) const
 
TVirtualStreamerInfoGetConversionStreamerInfo (const TClass *onfile_cl, Int_t version) const
 
ClassConvStreamerFunc_t GetConvStreamerFunc () const
 
TVirtualStreamerInfoGetCurrentStreamerInfo ()
 
TDataMemberGetDataMember (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
 
ROOT::DirAutoAdd_t GetDirectoryAutoAdd () const
 
TFunctionTemplateGetFunctionTemplate (const char *name)
 
UInt_t GetHeapInstanceCount () const
 
Short_t GetImplFileLine () const
 
const char * GetImplFileName () const
 
UInt_t GetInstanceCount () const
 
TVirtualIsAProxyGetIsAProxy () const
 
TVirtualStreamerInfoGetLastReadInfo () const
 
TListGetListOfAllPublicDataMembers (Bool_t load=kTRUE)
 
const TListGetListOfAllPublicMethods (Bool_t load=kTRUE)
 
TListGetListOfBases ()
 
TListGetListOfDataMembers (Bool_t load=kTRUE)
 
TListGetListOfEnums (Bool_t load=kTRUE)
 
TListGetListOfFunctionTemplates (Bool_t load=kTRUE)
 
TCollectionGetListOfMethodOverloads (const char *name) const
 
TListGetListOfMethods (Bool_t load=kTRUE)
 
TListGetListOfRealData () const
 
void GetMenuItems (TList *listitems)
 
TListGetMenuList () const
 
ROOT::MergeFunc_t GetMerge () const
 
TMethodGetMethod (const char *method, const char *params, Bool_t objectIsConst=kFALSE)
 
TMethodGetMethodAllAny (const char *method)
 
TMethodGetMethodAny (const char *method)
 
TMethodGetMethodWithPrototype (const char *method, const char *proto, Bool_t objectIsConst=kFALSE, ROOT::EFunctionMatchMode mode=ROOT::kConversionMatch)
 
void GetMissingDictionaries (THashTable &result, bool recurse=false)
 
Int_t GetNdata ()
 
ROOT::NewFunc_t GetNew () const
 
ROOT::NewArrFunc_t GetNewArray () const
 
Int_t GetNmethods ()
 
TClass *const * GetPersistentRef () const
 
TRealDataGetRealData (const char *name) const
 
TVirtualRefProxyGetReferenceProxy () const
 
ROOT::ResetAfterMergeFunc_t GetResetAfterMerge () const
 
const ROOT::Detail::TSchemaRuleSetGetSchemaRules () const
 
ROOT::Detail::TSchemaRuleSetGetSchemaRules (Bool_t create=kFALSE)
 
const char * GetSharedLibs ()
 
ShowMembersFunc_t GetShowMembersWrapper () const
 
EState GetState () const
 
TClassStreamerGetStreamer () const
 
ClassStreamerFunc_t GetStreamerFunc () const
 
TVirtualStreamerInfoGetStreamerInfo (Int_t version=0) const
 
TVirtualStreamerInfoGetStreamerInfoAbstractEmulated (Int_t version=0) const
 
const TObjArrayGetStreamerInfos () const
 
const std::type_info * GetTypeInfo () const
 
Bool_t HasConsistentHashMember ()
 Return 'true' if we can guarantee that if this class (or any class in this class inheritance hierarchy) overload TObject::Hash it also starts the RecursiveRemove process from its own destructor. More...
 
Bool_t HasDataMemberInfo () const
 
Bool_t HasDefaultConstructor () const
 
Bool_t HasDictionary () const
 
Bool_t HasInterpreterInfo () const
 
Bool_t HasInterpreterInfoInMemory () const
 
Bool_t HasLocalHashMember () const
 
void IgnoreTObjectStreamer (Bool_t ignore=kTRUE)
 
Bool_t InheritsFrom (const char *cl) const
 Returns kTRUE if object inherits from class "classname". More...
 
Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl. More...
 
void InterpretedShowMembers (void *obj, TMemberInspector &insp, Bool_t isTransient)
 
Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
Bool_t IsFolder (void *obj) const
 
Bool_t IsForeign () const
 
Bool_t IsLoaded () const
 
Bool_t IsStartingWithTObject () const
 
Bool_t IsTObject () const
 
Bool_t IsVersioned () const
 
void ls (Option_t *opt="") const
 List TNamed name and title. More...
 
void MakeCustomMenuList ()
 
Bool_t MatchLegacyCheckSum (UInt_t checksum) const
 
void Move (void *arenaFrom, void *arenaTo) const
 
voidNew (ENewType defConstructor=kClassNew, Bool_t quiet=kFALSE) const
 
voidNew (void *arena, ENewType defConstructor=kClassNew) const
 
voidNewArray (Long_t nElements, ENewType defConstructor=kClassNew) const
 
voidNewArray (Long_t nElements, void *arena, ENewType defConstructor=kClassNew) const
 
virtual void PostLoadCheck ()
 
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 RegisterStreamerInfo (TVirtualStreamerInfo *info)
 
void RemoveStreamerInfo (Int_t slot)
 
void ReplaceWith (TClass *newcl) const
 
void ResetCaches ()
 
void ResetClassInfo (Long_t tagnum)
 
void ResetClassInfo ()
 
void ResetInstanceCount ()
 
void ResetMenuList ()
 
void SetCanSplit (Int_t splitmode)
 
void SetCollectionProxy (const ROOT::Detail::TCollectionProxyInfo &)
 
void SetContextMenuTitle (const char *title)
 
void SetConvStreamerFunc (ClassConvStreamerFunc_t strm)
 
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)
 
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)
 
void SetNew (ROOT::NewFunc_t newFunc)
 
void SetNewArray (ROOT::NewArrFunc_t newArrayFunc)
 
void SetResetAfterMerge (ROOT::ResetAfterMergeFunc_t resetFunc)
 
void SetStreamerFunc (ClassStreamerFunc_t strm)
 
TVirtualStreamerInfoSetStreamerInfo (Int_t version, const char *info="")
 
void SetUnloaded ()
 
Int_t Size () const
 
void Store (TBuffer &b) const
 
void Streamer (void *obj, TBuffer &b, const TClass *onfile_class=0) const
 
Int_t WriteBuffer (TBuffer &b, void *pointer, const char *info="")
 
- Public Member Functions inherited from TDictionary
 TDictionary ()
 
 TDictionary (const char *name)
 
 TDictionary (const TDictionary &dict)
 
virtual ~TDictionary ()
 
void CreateAttributeMap ()
 
TDictAttributeMapGetAttributeMap () const
 
TDictionaryoperator= (const TDictionary &other)
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TString &name, const TString &title)
 
 TNamed (const TNamed &named)
 TNamed copy ctor. More...
 
virtual ~TNamed ()
 TNamed destructor. More...
 
virtual void Clear (Option_t *option="")
 Set name and title to empty strings (""). More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare two TNamed objects. More...
 
virtual void Copy (TObject &named) const
 Copy this to obj. More...
 
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
virtual Bool_t IsSortable () const
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator. More...
 
virtual void Print (Option_t *option="") const
 Print TNamed name and title. More...
 
virtual void SetName (const char *name)
 Set the name of the TNamed. More...
 
virtual void SetNameTitle (const char *name, const char *title)
 Set all the TNamed parameters (name and title). More...
 
virtual void SetTitle (const char *title="")
 Set the title of the TNamed. More...
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject. More...
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor. More...
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad for instance with: gROOT->SetSelectedPad(gPad). More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g. More...
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray. More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py). More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes. More...
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes. More...
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual Option_tGetOption () const
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e. More...
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
void InvertBit (UInt_t f)
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More...
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself. More...
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list. More...
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory. More...
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list. More...
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename. More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out". More...
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
void SetBit (UInt_t f)
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object. More...
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory. More...
 

Static Public Member Functions

static void AddClass (TClass *cl)
 
static void AddClassToDeclIdMap (TDictionary::DeclId_t id, TClass *cl)
 
static Bool_t AddRule (const char *rule)
 
static Int_t AutoBrowse (TObject *obj, TBrowser *browser)
 
static TClassGetClass (const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
 
static TClassGetClass (const std::type_info &typeinfo, Bool_t load=kTRUE, Bool_t silent=kFALSE)
 
static TClassGetClass (ClassInfo_t *info, Bool_t load=kTRUE, Bool_t silent=kFALSE)
 
template<typename T >
static TClassGetClass (Bool_t load=kTRUE, Bool_t silent=kFALSE)
 
static Bool_t GetClass (DeclId_t id, std::vector< TClass *> &classes)
 
static DictFuncPtr_t GetDict (const char *cname)
 
static DictFuncPtr_t GetDict (const std::type_info &info)
 
static Bool_t HasDictionarySelection (const char *clname)
 
static ENewType IsCallingNew ()
 
static TClassLoad (TBuffer &b)
 
static TClassLoadClass (const char *requestedname, Bool_t silent)
 
static Int_t ReadRules (const char *filename)
 
static Int_t ReadRules ()
 
static void RemoveClass (TClass *cl)
 
static void RemoveClassDeclId (TDictionary::DeclId_t id)
 
- Static Public Member Functions inherited from TDictionary
static TDictionaryGetDictionary (const char *name)
 
static TDictionaryGetDictionary (const std::type_info &typeinfo)
 
- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 

Protected Member Functions

TVirtualStreamerInfoFindStreamerInfo (TObjArray *arr, UInt_t checksum) const
 
void GetMissingDictionariesForBaseClasses (TCollection &result, TCollection &visited, bool recurse)
 
void GetMissingDictionariesForMembers (TCollection &result, TCollection &visited, bool recurse)
 
void GetMissingDictionariesForPairElements (TCollection &result, TCollection &visited, bool recurse)
 
void GetMissingDictionariesWithRecursionCheck (TCollection &result, TCollection &visited, bool recurse)
 
- Protected Member Functions inherited from TDictionary
Bool_t UpdateInterpreterStateMarker ()
 the Cling ID of the transaction that last updated the object More...
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 
void MakeZombie ()
 

Private Types

enum  { kLoading = kReservedLoading, kUnloading = kReservedLoading }
 
typedef std::atomic< std::map< std::string, TObjArray * > * > ConvSIMap_t
 Persistent address of pointer to this TClass object and its successors. More...
 
enum  ERuntimeProperties : UChar_t { ERuntimeProperties::kNotInitialized = 0, ERuntimeProperties::kSet = BIT(0), ERuntimeProperties::kConsistentHash = BIT(1) }
 Indicates whether GetClassVersion has been called. More...
 
enum  EStreamerType {
  kDefault =0, kEmulatedStreamer =1, kTObject =2, kInstrumented =4,
  kForeign =8, kExternal =16
}
 
typedef void(* StreamerImpl_t) (const TClass *pThis, void *obj, TBuffer &b, const TClass *onfile_class)
 Schema evolution rules. More...
 

Private Member Functions

 TClass (const TClass &tc)=delete
 
Bool_t CanSplitBaseAllow ()
 Pointer to the function implementing streaming for this class. More...
 
TVirtualStreamerInfoDetermineCurrentStreamerInfo ()
 
TMethodFindClassOrBaseMethodWithId (DeclId_t faddr)
 
void ForceReload (TClass *oldcl)
 
Int_t GetBaseClassOffsetRecurse (const TClass *toBase)
 
TMethodGetClassMethod (Long_t faddr)
 
TListOfFunctionsGetMethodList ()
 
void Init (const char *name, Version_t cversion, const std::type_info *info, TVirtualIsAProxy *isa, const char *dfil, const char *ifil, Int_t dl, Int_t il, ClassInfo_t *classInfo, Bool_t silent)
 
void LoadClassInfo () const
 
TClassoperator= (const TClass &)=delete
 
void SetClassSize (Int_t sizof)
 
void SetClassVersion (Version_t version)
 
void SetRuntimeProperties ()
 
void SetStreamerImpl ()
 

Static Private Member Functions

static void ConvStreamerInstrumented (const TClass *pThis, void *object, TBuffer &b, const TClass *onfile_class)
 
static DeclIdMap_tGetDeclIdMap ()
 
static IdMap_tGetIdMap ()
 
static Bool_t HasNoInfoOrEmuOrFwdDeclaredDecl (const char *)
 
static TClassLoadClassCustom (const char *requestedname, Bool_t silent)
 
static TClassLoadClassDefault (const char *requestedname, Bool_t silent)
 
static void StreamerDefault (const TClass *pThis, void *object, TBuffer &b, const TClass *onfile_class)
 
static void StreamerExternal (const TClass *pThis, void *object, TBuffer &b, const TClass *onfile_class)
 
static void StreamerInstrumented (const TClass *pThis, void *object, TBuffer &b, const TClass *onfile_class)
 
static void StreamerStreamerInfo (const TClass *pThis, void *object, TBuffer &b, const TClass *onfile_class)
 
static void StreamerTObject (const TClass *pThis, void *object, TBuffer &b, const TClass *onfile_class)
 
static void StreamerTObjectEmulated (const TClass *pThis, void *object, TBuffer &b, const TClass *onfile_class)
 
static void StreamerTObjectInitialized (const TClass *pThis, void *object, TBuffer &b, const TClass *onfile_class)
 

Private Attributes

TViewPubDataMembersfAllPubData
 
TViewPubFunctionsfAllPubMethod
 
std::atomic< TList * > fBase
 
std::atomic< Bool_tfCanLoadClassInfo
 Whether info was loaded from a root pcm. More...
 
Int_t fCanSplit
 
std::atomic< UInt_tfCheckSum
 
ClassInfo_t * fClassInfo
 
TListfClassMenuList
 
Long_t fClassProperty
 Property. More...
 
Version_t fClassVersion
 
TVirtualCollectionProxyfCollectionProxy
 
TString fContextMenuTitle
 
ConvSIMap_t fConversionStreamerInfo
 
ClassConvStreamerFunc_t fConvStreamerFunc
 
std::atomic< TVirtualStreamerInfo * > fCurrentInfo
 Current 'state' of the class (Emulated,Interpreted,Loaded) More...
 
TListOfDataMembersfData
 
Short_t fDeclFileLine
 
const char * fDeclFileName
 
ROOT::DelFunc_t fDelete
 
ROOT::DelArrFunc_t fDeleteArray
 
ROOT::DesFunc_t fDestructor
 
ROOT::DirAutoAdd_t fDirAutoAdd
 
std::atomic< TListOfEnums * > fEnums
 
TListOfFunctionTemplatesfFuncTemplate
 
IsAGlobalFunc_t fGlobalIsA
 pointer to the class's IsA proxy. More...
 
std::atomic< Bool_tfHasRootPcmInfo
 C++ Property of the class (is abstract, has virtual table, etc.) More...
 
Short_t fImplFileLine
 
const char * fImplFileName
 
UInt_t fInstanceCount
 
TVirtualIsAProxyfIsA
 
std::atomic< TMethodCall * > fIsAMethod
 
std::atomic< Bool_tfIsOffsetStreamerSet
 Indicates whether the ClassInfo is supposed to be available. More...
 
std::atomic< TVirtualStreamerInfo * > fLastReadInfo
 cached current streamer info. More...
 
ROOT::MergeFunc_t fMerge
 saved info to call a IsA member function More...
 
std::atomic< TListOfFunctions * > fMethod
 
ROOT::NewFunc_t fNew
 
ROOT::NewArrFunc_t fNewArray
 
Long_t fOffsetStreamer
 Properties that can only be evaluated at run-time. More...
 
UInt_t fOnHeap
 
std::atomic< TClass ** > fPersistentRef
 
std::atomic< Long_tfProperty
 Indicates whether this class can be split or not. More...
 
TListfRealData
 
TVirtualRefProxyfRefProxy
 cached streamer info used in the last read. More...
 
ROOT::ResetAfterMergeFunc_t fResetAfterMerge
 
std::atomic< UChar_tfRuntimeProperties
 
ROOT::Detail::TSchemaRuleSetfSchemaRules
 Pointer to reference proxy if this class represents a reference. More...
 
TString fSharedLibs
 
ShowMembersFunc_t fShowMembers
 
Int_t fSizeof
 
EState fState
 cached of the streaming method to use More...
 
TClassStreamerfStreamer
 
ClassStreamerFunc_t fStreamerFunc
 
std::atomic< StreamerImpl_tfStreamerImpl
 
TObjArrayfStreamerInfo
 
Int_t fStreamerType
 saved info to call Streamer More...
 
const std::type_info * fTypeInfo
 
std::atomic< Bool_tfVersionUsed
 saved remember if fOffsetStreamer has been set. More...
 

Static Private Attributes

static std::atomic< Int_tfgClassCount
 
static THashTablefgClassTypedefHash
 
static TDeclNameRegistry fNoInfoOrEmuOrFwdDeclNameRegistry
 

Friends

bool operator & (UChar_t l, ERuntimeProperties r)
 
class ROOT::Internal::TCheckHashRecursiveRemoveConsistency
 
void ROOT::ResetClassVersion (TClass *, const char *, Short_t)
 
class ROOT::TGenericClassInfo
 
class TCling
 
class TProtoClass
 

Additional Inherited Members

- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 

#include <TClass.h>

Inheritance diagram for TClass:
[legend]

Member Typedef Documentation

◆ ConvSIMap_t

typedef std::atomic<std::map<std::string, TObjArray*>*> TClass::ConvSIMap_t
private

Persistent address of pointer to this TClass object and its successors.

Definition at line 171 of file TClass.h.

◆ StreamerImpl_t

typedef void(* TClass::StreamerImpl_t) (const TClass *pThis, void *obj, TBuffer &b, const TClass *onfile_class)
private

Schema evolution rules.

Definition at line 248 of file TClass.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
kLoading 
kUnloading 

Definition at line 298 of file TClass.h.

◆ ECheckSum

Enumerator
kCurrentCheckSum 
kNoEnum 
kReflexNoComment 
kNoRange 
kWithTypeDef 
kReflex 
kNoRangeCheck 
kNoBaseCheckSum 
kLatestCheckSum 

Definition at line 102 of file TClass.h.

◆ ENewType

Enumerator
kRealNew 
kClassNew 
kDummyNew 

Definition at line 101 of file TClass.h.

◆ ERuntimeProperties

enum TClass::ERuntimeProperties : UChar_t
strongprivate

Indicates whether GetClassVersion has been called.

Enumerator
kNotInitialized 
kSet 
kConsistentHash 

Definition at line 229 of file TClass.h.

◆ EState

Enumerator
kNoInfo 
kForwardDeclared 
kEmulated 
kInterpreted 
kHasTClassInit 
kLoaded 
kNamespaceForMeta 

Definition at line 115 of file TClass.h.

◆ EStatusBits

Enumerator
kReservedLoading 
kClassSaved 
kHasLocalHashMember 
kIgnoreTObjectStreamer 
kUnloaded 
kIsTObject 
kIsForeign 
kIsEmulation 
kStartWithTObject 
kWarned 
kHasNameMapNode 
kHasCustomStreamerMember 

Definition at line 85 of file TClass.h.

◆ EStreamerType

enum TClass::EStreamerType
private
Enumerator
kDefault 
kEmulatedStreamer 
kTObject 
kInstrumented 
kForeign 
kExternal 

Definition at line 300 of file TClass.h.

Constructor & Destructor Documentation

◆ TClass() [1/8]

TClass::TClass ( const TClass tc)
privatedelete

◆ TClass() [2/8]

TClass::TClass ( )

◆ TClass() [3/8]

TClass::TClass ( const char *  name,
Bool_t  silent = kFALSE 
)

◆ TClass() [4/8]

TClass::TClass ( const char *  name,
Version_t  cversion,
Bool_t  silent = kFALSE 
)

◆ TClass() [5/8]

TClass::TClass ( const char *  name,
Version_t  cversion,
EState  theState,
Bool_t  silent = kFALSE 
)

◆ TClass() [6/8]

TClass::TClass ( ClassInfo_t *  info,
Version_t  cversion,
const char *  dfil,
const char *  ifil = 0,
Int_t  dl = 0,
Int_t  il = 0,
Bool_t  silent = kFALSE 
)

◆ TClass() [7/8]

TClass::TClass ( const char *  name,
Version_t  cversion,
const char *  dfil,
const char *  ifil = 0,
Int_t  dl = 0,
Int_t  il = 0,
Bool_t  silent = kFALSE 
)

◆ TClass() [8/8]

TClass::TClass ( const char *  name,
Version_t  cversion,
const std::type_info &  info,
TVirtualIsAProxy isa,
const char *  dfil,
const char *  ifil,
Int_t  dl,
Int_t  il,
Bool_t  silent = kFALSE 
)

◆ ~TClass()

virtual TClass::~TClass ( )
virtual

Member Function Documentation

◆ AddClass()

static void TClass::AddClass ( TClass cl)
static

◆ AddClassToDeclIdMap()

static void TClass::AddClassToDeclIdMap ( TDictionary::DeclId_t  id,
TClass cl 
)
static

◆ AddImplFile()

void TClass::AddImplFile ( const char *  filename,
int  line 
)

◆ AddInstance()

void TClass::AddInstance ( Bool_t  heap = kFALSE)
inline

Definition at line 353 of file TClass.h.

◆ AddRule()

static Bool_t TClass::AddRule ( const char *  rule)
static

◆ AdoptMemberStreamer()

void TClass::AdoptMemberStreamer ( const char *  name,
TMemberStreamer strm 
)

◆ AdoptReferenceProxy()

void TClass::AdoptReferenceProxy ( TVirtualRefProxy proxy)

◆ AdoptSchemaRules()

void TClass::AdoptSchemaRules ( ROOT::Detail::TSchemaRuleSet rules)

◆ AdoptStreamer()

void TClass::AdoptStreamer ( TClassStreamer strm)

◆ AutoBrowse()

static Int_t TClass::AutoBrowse ( TObject obj,
TBrowser browser 
)
static

◆ Browse() [1/2]

virtual void TClass::Browse ( TBrowser b)
virtual

Browse object. May be overridden for another default action.

Reimplemented from TObject.

◆ Browse() [2/2]

Int_t TClass::Browse ( void obj,
TBrowser b 
) const

◆ BuildEmulatedRealData()

void TClass::BuildEmulatedRealData ( const char *  name,
Long_t  offset,
TClass cl 
)

◆ BuildRealData()

void TClass::BuildRealData ( void pointer = 0,
Bool_t  isTransient = kFALSE 
)

◆ CalculateStreamerOffset()

void TClass::CalculateStreamerOffset ( ) const

◆ CallShowMembers()

Bool_t TClass::CallShowMembers ( const void obj,
TMemberInspector insp,
Bool_t  isTransient = kFALSE 
) const

◆ CanIgnoreTObjectStreamer()

Bool_t TClass::CanIgnoreTObjectStreamer ( )
inline

Definition at line 365 of file TClass.h.

◆ CanSplit()

Bool_t TClass::CanSplit ( ) const

◆ CanSplitBaseAllow()

Bool_t TClass::CanSplitBaseAllow ( )
private

Pointer to the function implementing streaming for this class.

◆ ClassProperty()

Long_t TClass::ClassProperty ( ) const

◆ Clone()

TObject* TClass::Clone ( const char *  newname = "") const
virtual

Make a clone of an object using the Streamer facility.

If newname is specified, this will be the name of the new object.

Reimplemented from TNamed.

◆ ConvStreamerInstrumented()

static void TClass::ConvStreamerInstrumented ( const TClass pThis,
void object,
TBuffer b,
const TClass onfile_class 
)
staticprivate

◆ CopyCollectionProxy()

void TClass::CopyCollectionProxy ( const TVirtualCollectionProxy )

◆ DeleteArray()

void TClass::DeleteArray ( void ary,
Bool_t  dtorOnly = kFALSE 
)

◆ Destructor()

void TClass::Destructor ( void obj,
Bool_t  dtorOnly = kFALSE 
)

◆ DetermineCurrentStreamerInfo()

TVirtualStreamerInfo* TClass::DetermineCurrentStreamerInfo ( )
private

◆ Draw()

void TClass::Draw ( Option_t option = "")
virtual

Default Draw method for all objects.

Reimplemented from TObject.

◆ Dump() [1/2]

void TClass::Dump ( ) const
inlinevirtual

Dump contents of object on stdout.

Using the information in the object dictionary (class TClass) each data member is interpreted. If a data member is a pointer, the pointer value is printed

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

Reimplemented from TObject.

Definition at line 370 of file TClass.h.

◆ Dump() [2/2]

void TClass::Dump ( const void obj,
Bool_t  noAddr = kFALSE 
) const

◆ DynamicCast() [1/2]

void* TClass::DynamicCast ( const TClass base,
void obj,
Bool_t  up = kTRUE 
)

◆ DynamicCast() [2/2]

const void* TClass::DynamicCast ( const TClass base,
const void obj,
Bool_t  up = kTRUE 
)

◆ EscapeChars()

char* TClass::EscapeChars ( const char *  text) const

◆ FindClassOrBaseMethodWithId()

TMethod* TClass::FindClassOrBaseMethodWithId ( DeclId_t  faddr)
private

◆ FindConversionStreamerInfo() [1/2]

TVirtualStreamerInfo* TClass::FindConversionStreamerInfo ( const char *  onfile_classname,
UInt_t  checksum 
) const

◆ FindConversionStreamerInfo() [2/2]

TVirtualStreamerInfo* TClass::FindConversionStreamerInfo ( const TClass onfile_cl,
UInt_t  checksum 
) const

◆ FindStreamerInfo() [1/2]

TVirtualStreamerInfo* TClass::FindStreamerInfo ( TObjArray arr,
UInt_t  checksum 
) const
protected

◆ FindStreamerInfo() [2/2]

TVirtualStreamerInfo* TClass::FindStreamerInfo ( UInt_t  checksum) const

◆ FindStreamerInfoAbstractEmulated()

TVirtualStreamerInfo* TClass::FindStreamerInfoAbstractEmulated ( UInt_t  checksum) const

◆ ForceReload()

void TClass::ForceReload ( TClass oldcl)
private

◆ GetActualClass()

TClass* TClass::GetActualClass ( const void object) const

◆ GetBaseClass() [1/2]

TClass* TClass::GetBaseClass ( const char *  classname)

◆ GetBaseClass() [2/2]

TClass* TClass::GetBaseClass ( const TClass base)

◆ GetBaseClassOffset()

Int_t TClass::GetBaseClassOffset ( const TClass toBase,
void address = 0,
bool  isDerivedObject = true 
)

◆ GetBaseClassOffsetRecurse()

Int_t TClass::GetBaseClassOffsetRecurse ( const TClass toBase)
private

◆ GetBaseDataMember()

TClass* TClass::GetBaseDataMember ( const char *  datamember)

◆ GetCheckSum() [1/3]

UInt_t TClass::GetCheckSum ( ECheckSum  code = kCurrentCheckSum) const

◆ GetCheckSum() [2/3]

UInt_t TClass::GetCheckSum ( Bool_t isvalid) const

◆ GetCheckSum() [3/3]

UInt_t TClass::GetCheckSum ( ECheckSum  code,
Bool_t isvalid 
) const

◆ GetClass() [1/5]

static TClass* TClass::GetClass ( const char *  name,
Bool_t  load = kTRUE,
Bool_t  silent = kFALSE 
)
static

◆ GetClass() [2/5]

static TClass* TClass::GetClass ( const std::type_info &  typeinfo,
Bool_t  load = kTRUE,
Bool_t  silent = kFALSE 
)
static

◆ GetClass() [3/5]

static TClass* TClass::GetClass ( ClassInfo_t *  info,
Bool_t  load = kTRUE,
Bool_t  silent = kFALSE 
)
static

◆ GetClass() [4/5]

template<typename T >
TClass * TClass::GetClass ( Bool_t  load = kTRUE,
Bool_t  silent = kFALSE 
)
static

Definition at line 595 of file TClass.h.

◆ GetClass() [5/5]

static Bool_t TClass::GetClass ( DeclId_t  id,
std::vector< TClass *> &  classes 
)
static

◆ GetClassInfo()

ClassInfo_t* TClass::GetClassInfo ( ) const
inline

Definition at line 400 of file TClass.h.

◆ GetClassMethod() [1/2]

TMethod* TClass::GetClassMethod ( Long_t  faddr)
private

◆ GetClassMethod() [2/2]

TMethod* TClass::GetClassMethod ( const char *  name,
const char *  params,
Bool_t  objectIsConst = kFALSE 
)

◆ GetClassMethodWithPrototype()

TMethod* TClass::GetClassMethodWithPrototype ( const char *  name,
const char *  proto,
Bool_t  objectIsConst = kFALSE,
ROOT::EFunctionMatchMode  mode = ROOT::kConversionMatch 
)

◆ GetClassSize()

Int_t TClass::GetClassSize ( ) const
inline

Definition at line 392 of file TClass.h.

◆ GetClassVersion()

Version_t TClass::GetClassVersion ( ) const
inline

Definition at line 391 of file TClass.h.

◆ GetCollectionProxy()

TVirtualCollectionProxy* TClass::GetCollectionProxy ( ) const

◆ GetCollectionType()

ROOT::ESTLType TClass::GetCollectionType ( ) const

◆ GetContextMenuTitle()

const char* TClass::GetContextMenuTitle ( ) const
inline

Definition at line 405 of file TClass.h.

◆ GetConversionStreamerInfo() [1/2]

TVirtualStreamerInfo* TClass::GetConversionStreamerInfo ( const char *  onfile_classname,
Int_t  version 
) const

◆ GetConversionStreamerInfo() [2/2]

TVirtualStreamerInfo* TClass::GetConversionStreamerInfo ( const TClass onfile_cl,
Int_t  version 
) const

◆ GetConvStreamerFunc()

ClassConvStreamerFunc_t TClass::GetConvStreamerFunc ( ) const

◆ GetCurrentStreamerInfo()

TVirtualStreamerInfo* TClass::GetCurrentStreamerInfo ( )
inline

Definition at line 406 of file TClass.h.

◆ GetDataMember()

TDataMember* TClass::GetDataMember ( const char *  datamember) const

◆ GetDataMemberOffset()

Long_t TClass::GetDataMemberOffset ( const char *  membername) const

◆ GetDeclFileLine()

Short_t TClass::GetDeclFileLine ( ) const
inline

Definition at line 396 of file TClass.h.

◆ GetDeclFileName()

const char* TClass::GetDeclFileName ( ) const

◆ GetDeclIdMap()

static DeclIdMap_t* TClass::GetDeclIdMap ( )
staticprivate

◆ GetDelete()

ROOT::DelFunc_t TClass::GetDelete ( ) const

◆ GetDeleteArray()

ROOT::DelArrFunc_t TClass::GetDeleteArray ( ) const

◆ GetDestructor()

ROOT::DesFunc_t TClass::GetDestructor ( ) const

◆ GetDict() [1/2]

static DictFuncPtr_t TClass::GetDict ( const char *  cname)
static

◆ GetDict() [2/2]

static DictFuncPtr_t TClass::GetDict ( const std::type_info &  info)
static

◆ GetDirectoryAutoAdd()

ROOT::DirAutoAdd_t TClass::GetDirectoryAutoAdd ( ) const

◆ GetFunctionTemplate()

TFunctionTemplate* TClass::GetFunctionTemplate ( const char *  name)

◆ GetHeapInstanceCount()

UInt_t TClass::GetHeapInstanceCount ( ) const
inline

Definition at line 432 of file TClass.h.

◆ GetIdMap()

static IdMap_t* TClass::GetIdMap ( )
staticprivate

◆ GetImplFileLine()

Short_t TClass::GetImplFileLine ( ) const
inline

Definition at line 422 of file TClass.h.

◆ GetImplFileName()

const char* TClass::GetImplFileName ( ) const
inline

Definition at line 421 of file TClass.h.

◆ GetInstanceCount()

UInt_t TClass::GetInstanceCount ( ) const
inline

Definition at line 431 of file TClass.h.

◆ GetIsAProxy()

TVirtualIsAProxy* TClass::GetIsAProxy ( ) const

◆ GetLastReadInfo()

TVirtualStreamerInfo* TClass::GetLastReadInfo ( ) const
inline

Definition at line 410 of file TClass.h.

◆ GetListOfAllPublicDataMembers()

TList* TClass::GetListOfAllPublicDataMembers ( Bool_t  load = kTRUE)

◆ GetListOfAllPublicMethods()

const TList* TClass::GetListOfAllPublicMethods ( Bool_t  load = kTRUE)

◆ GetListOfBases()

TList* TClass::GetListOfBases ( )

◆ GetListOfDataMembers()

TList* TClass::GetListOfDataMembers ( Bool_t  load = kTRUE)

◆ GetListOfEnums()

TList* TClass::GetListOfEnums ( Bool_t  load = kTRUE)

◆ GetListOfFunctionTemplates()

TList* TClass::GetListOfFunctionTemplates ( Bool_t  load = kTRUE)

◆ GetListOfMethodOverloads()

TCollection* TClass::GetListOfMethodOverloads ( const char *  name) const

◆ GetListOfMethods()

TList* TClass::GetListOfMethods ( Bool_t  load = kTRUE)

◆ GetListOfRealData()

TList* TClass::GetListOfRealData ( ) const
inline

Definition at line 418 of file TClass.h.

◆ GetMenuItems()

void TClass::GetMenuItems ( TList listitems)

◆ GetMenuList()

TList* TClass::GetMenuList ( ) const

◆ GetMerge()

ROOT::MergeFunc_t TClass::GetMerge ( ) const

◆ GetMethod()

TMethod* TClass::GetMethod ( const char *  method,
const char *  params,
Bool_t  objectIsConst = kFALSE 
)

◆ GetMethodAllAny()

TMethod* TClass::GetMethodAllAny ( const char *  method)

◆ GetMethodAny()

TMethod* TClass::GetMethodAny ( const char *  method)

◆ GetMethodList()

TListOfFunctions* TClass::GetMethodList ( )
private

◆ GetMethodWithPrototype()

TMethod* TClass::GetMethodWithPrototype ( const char *  method,
const char *  proto,
Bool_t  objectIsConst = kFALSE,
ROOT::EFunctionMatchMode  mode = ROOT::kConversionMatch 
)

◆ GetMissingDictionaries()

void TClass::GetMissingDictionaries ( THashTable result,
bool  recurse = false 
)

◆ GetMissingDictionariesForBaseClasses()

void TClass::GetMissingDictionariesForBaseClasses ( TCollection result,
TCollection visited,
bool  recurse 
)
protected

◆ GetMissingDictionariesForMembers()

void TClass::GetMissingDictionariesForMembers ( TCollection result,
TCollection visited,
bool  recurse 
)
protected

◆ GetMissingDictionariesForPairElements()

void TClass::GetMissingDictionariesForPairElements ( TCollection result,
TCollection visited,
bool  recurse 
)
protected

◆ GetMissingDictionariesWithRecursionCheck()

void TClass::GetMissingDictionariesWithRecursionCheck ( TCollection result,
TCollection visited,
bool  recurse 
)
protected

◆ GetNdata()

Int_t TClass::GetNdata ( )

◆ GetNew()

ROOT::NewFunc_t TClass::GetNew ( ) const

◆ GetNewArray()

ROOT::NewArrFunc_t TClass::GetNewArray ( ) const

◆ GetNmethods()

Int_t TClass::GetNmethods ( )

◆ GetPersistentRef()

TClass* const* TClass::GetPersistentRef ( ) const
inline

Definition at line 446 of file TClass.h.

◆ GetRealData()

TRealData* TClass::GetRealData ( const char *  name) const

◆ GetReferenceProxy()

TVirtualRefProxy* TClass::GetReferenceProxy ( ) const
inline

Definition at line 448 of file TClass.h.

◆ GetResetAfterMerge()

ROOT::ResetAfterMergeFunc_t TClass::GetResetAfterMerge ( ) const

◆ GetSchemaRules() [1/2]

const ROOT::Detail::TSchemaRuleSet* TClass::GetSchemaRules ( ) const

◆ GetSchemaRules() [2/2]

ROOT::Detail::TSchemaRuleSet* TClass::GetSchemaRules ( Bool_t  create = kFALSE)

◆ GetSharedLibs()

const char* TClass::GetSharedLibs ( )

◆ GetShowMembersWrapper()

ShowMembersFunc_t TClass::GetShowMembersWrapper ( ) const
inline

Definition at line 452 of file TClass.h.

◆ GetState()

EState TClass::GetState ( ) const
inline

Definition at line 453 of file TClass.h.

◆ GetStreamer()

TClassStreamer* TClass::GetStreamer ( ) const

◆ GetStreamerFunc()

ClassStreamerFunc_t TClass::GetStreamerFunc ( ) const

◆ GetStreamerInfo()

TVirtualStreamerInfo* TClass::GetStreamerInfo ( Int_t  version = 0) const

◆ GetStreamerInfoAbstractEmulated()

TVirtualStreamerInfo* TClass::GetStreamerInfoAbstractEmulated ( Int_t  version = 0) const

◆ GetStreamerInfos()

const TObjArray* TClass::GetStreamerInfos ( ) const
inline

Definition at line 457 of file TClass.h.

◆ GetTypeInfo()

const std::type_info* TClass::GetTypeInfo ( ) const
inline

Definition at line 461 of file TClass.h.

◆ HasConsistentHashMember()

Bool_t TClass::HasConsistentHashMember ( )
inline

Return 'true' if we can guarantee that if this class (or any class in this class inheritance hierarchy) overload TObject::Hash it also starts the RecursiveRemove process from its own destructor.

Definition at line 466 of file TClass.h.

◆ HasDataMemberInfo()

Bool_t TClass::HasDataMemberInfo ( ) const
inline

Definition at line 378 of file TClass.h.

◆ HasDefaultConstructor()

Bool_t TClass::HasDefaultConstructor ( ) const

◆ HasDictionary()

Bool_t TClass::HasDictionary ( ) const

◆ HasDictionarySelection()

static Bool_t TClass::HasDictionarySelection ( const char *  clname)
static

◆ HasInterpreterInfo()

Bool_t TClass::HasInterpreterInfo ( ) const
inline

Definition at line 381 of file TClass.h.

◆ HasInterpreterInfoInMemory()

Bool_t TClass::HasInterpreterInfoInMemory ( ) const
inline

Definition at line 380 of file TClass.h.

◆ HasLocalHashMember()

Bool_t TClass::HasLocalHashMember ( ) const

◆ HasNoInfoOrEmuOrFwdDeclaredDecl()

static Bool_t TClass::HasNoInfoOrEmuOrFwdDeclaredDecl ( const char *  )
staticprivate

◆ IgnoreTObjectStreamer()

void TClass::IgnoreTObjectStreamer ( Bool_t  ignore = kTRUE)

◆ InheritsFrom() [1/2]

Bool_t TClass::InheritsFrom ( const char *  classname) const
virtual

Returns kTRUE if object inherits from class "classname".

Reimplemented from TObject.

◆ InheritsFrom() [2/2]

Bool_t TClass::InheritsFrom ( const TClass cl) const
virtual

Returns kTRUE if object inherits from TClass cl.

Reimplemented from TObject.

◆ Init()

void TClass::Init ( const char *  name,
Version_t  cversion,
const std::type_info *  info,
TVirtualIsAProxy isa,
const char *  dfil,
const char *  ifil,
Int_t  dl,
Int_t  il,
ClassInfo_t *  classInfo,
Bool_t  silent 
)
private

◆ InterpretedShowMembers()

void TClass::InterpretedShowMembers ( void obj,
TMemberInspector insp,
Bool_t  isTransient 
)

◆ IsCallingNew()

static ENewType TClass::IsCallingNew ( )
static

◆ IsFolder() [1/2]

Bool_t TClass::IsFolder ( ) const
inlinevirtual

Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).

Reimplemented from TObject.

Definition at line 480 of file TClass.h.

◆ IsFolder() [2/2]

Bool_t TClass::IsFolder ( void obj) const

◆ IsForeign()

Bool_t TClass::IsForeign ( ) const

◆ IsLoaded()

Bool_t TClass::IsLoaded ( ) const

◆ IsStartingWithTObject()

Bool_t TClass::IsStartingWithTObject ( ) const

◆ IsTObject()

Bool_t TClass::IsTObject ( ) const

◆ IsVersioned()

Bool_t TClass::IsVersioned ( ) const
inline

Definition at line 484 of file TClass.h.

◆ Load()

static TClass* TClass::Load ( TBuffer b)
static

◆ LoadClass()

static TClass* TClass::LoadClass ( const char *  requestedname,
Bool_t  silent 
)
static

◆ LoadClassCustom()

static TClass* TClass::LoadClassCustom ( const char *  requestedname,
Bool_t  silent 
)
staticprivate

◆ LoadClassDefault()

static TClass* TClass::LoadClassDefault ( const char *  requestedname,
Bool_t  silent 
)
staticprivate

◆ LoadClassInfo()

void TClass::LoadClassInfo ( ) const
private

◆ ls()

void TClass::ls ( Option_t option = "") const
virtual

List TNamed name and title.

Reimplemented from TNamed.

◆ MakeCustomMenuList()

void TClass::MakeCustomMenuList ( )

◆ MatchLegacyCheckSum()

Bool_t TClass::MatchLegacyCheckSum ( UInt_t  checksum) const

◆ Move()

void TClass::Move ( void arenaFrom,
void arenaTo 
) const

◆ New() [1/2]

void* TClass::New ( ENewType  defConstructor = kClassNew,
Bool_t  quiet = kFALSE 
) const

◆ New() [2/2]

void* TClass::New ( void arena,
ENewType  defConstructor = kClassNew 
) const

◆ NewArray() [1/2]

void* TClass::NewArray ( Long_t  nElements,
ENewType  defConstructor = kClassNew 
) const

◆ NewArray() [2/2]

void* TClass::NewArray ( Long_t  nElements,
void arena,
ENewType  defConstructor = kClassNew 
) const

◆ operator=()

TClass& TClass::operator= ( const TClass )
privatedelete

◆ PostLoadCheck()

virtual void TClass::PostLoadCheck ( )
virtual

◆ Property()

Long_t TClass::Property ( ) const
virtual

Implements TDictionary.

◆ ReadBuffer() [1/2]

Int_t TClass::ReadBuffer ( TBuffer b,
void pointer,
Int_t  version,
UInt_t  start,
UInt_t  count 
)

◆ ReadBuffer() [2/2]

Int_t TClass::ReadBuffer ( TBuffer b,
void pointer 
)

◆ ReadRules() [1/2]

static Int_t TClass::ReadRules ( const char *  filename)
static

◆ ReadRules() [2/2]

static Int_t TClass::ReadRules ( )
static

◆ RegisterStreamerInfo()

void TClass::RegisterStreamerInfo ( TVirtualStreamerInfo info)

◆ RemoveClass()

static void TClass::RemoveClass ( TClass cl)
static

◆ RemoveClassDeclId()

static void TClass::RemoveClassDeclId ( TDictionary::DeclId_t  id)
static

◆ RemoveStreamerInfo()

void TClass::RemoveStreamerInfo ( Int_t  slot)

◆ ReplaceWith()

void TClass::ReplaceWith ( TClass newcl) const

◆ ResetCaches()

void TClass::ResetCaches ( )

◆ ResetClassInfo() [1/2]

void TClass::ResetClassInfo ( Long_t  tagnum)

◆ ResetClassInfo() [2/2]

void TClass::ResetClassInfo ( )

◆ ResetInstanceCount()

void TClass::ResetInstanceCount ( )
inline

Definition at line 505 of file TClass.h.

◆ ResetMenuList()

void TClass::ResetMenuList ( )

◆ SetCanSplit()

void TClass::SetCanSplit ( Int_t  splitmode)

◆ SetClassSize()

void TClass::SetClassSize ( Int_t  sizof)
inlineprivate

Definition at line 273 of file TClass.h.

◆ SetClassVersion()

void TClass::SetClassVersion ( Version_t  version)
private

◆ SetCollectionProxy()

void TClass::SetCollectionProxy ( const ROOT::Detail::TCollectionProxyInfo )

◆ SetContextMenuTitle()

void TClass::SetContextMenuTitle ( const char *  title)

◆ SetConvStreamerFunc()

void TClass::SetConvStreamerFunc ( ClassConvStreamerFunc_t  strm)

◆ SetCurrentStreamerInfo()

void TClass::SetCurrentStreamerInfo ( TVirtualStreamerInfo info)

◆ SetDeclFile()

void TClass::SetDeclFile ( const char *  name,
int  line 
)
inline

Definition at line 513 of file TClass.h.

◆ SetDelete()

void TClass::SetDelete ( ROOT::DelFunc_t  deleteFunc)

◆ SetDeleteArray()

void TClass::SetDeleteArray ( ROOT::DelArrFunc_t  deleteArrayFunc)

◆ SetDestructor()

void TClass::SetDestructor ( ROOT::DesFunc_t  destructorFunc)

◆ SetDirectoryAutoAdd()

void TClass::SetDirectoryAutoAdd ( ROOT::DirAutoAdd_t  dirAutoAddFunc)

◆ SetGlobalIsA()

void TClass::SetGlobalIsA ( IsAGlobalFunc_t  )

◆ SetImplFileName()

void TClass::SetImplFileName ( const char *  implFileName)
inline

Definition at line 518 of file TClass.h.

◆ SetLastReadInfo()

void TClass::SetLastReadInfo ( TVirtualStreamerInfo info)
inline

Definition at line 411 of file TClass.h.

◆ SetMemberStreamer()

void TClass::SetMemberStreamer ( const char *  name,
MemberStreamerFunc_t  strm 
)

◆ SetMerge()

void TClass::SetMerge ( ROOT::MergeFunc_t  mergeFunc)

◆ SetNew()

void TClass::SetNew ( ROOT::NewFunc_t  newFunc)

◆ SetNewArray()

void TClass::SetNewArray ( ROOT::NewArrFunc_t  newArrayFunc)

◆ SetResetAfterMerge()

void TClass::SetResetAfterMerge ( ROOT::ResetAfterMergeFunc_t  resetFunc)

◆ SetRuntimeProperties()

void TClass::SetRuntimeProperties ( )
private

◆ SetStreamerFunc()

void TClass::SetStreamerFunc ( ClassStreamerFunc_t  strm)

◆ SetStreamerImpl()

void TClass::SetStreamerImpl ( )
private

◆ SetStreamerInfo()

TVirtualStreamerInfo* TClass::SetStreamerInfo ( Int_t  version,
const char *  info = "" 
)

◆ SetUnloaded()

void TClass::SetUnloaded ( )

◆ Size()

Int_t TClass::Size ( ) const

◆ Store()

void TClass::Store ( TBuffer b) const

◆ Streamer()

void TClass::Streamer ( void obj,
TBuffer b,
const TClass onfile_class = 0 
) const
inline

Definition at line 563 of file TClass.h.

◆ StreamerDefault()

static void TClass::StreamerDefault ( const TClass pThis,
void object,
TBuffer b,
const TClass onfile_class 
)
staticprivate

◆ StreamerExternal()

static void TClass::StreamerExternal ( const TClass pThis,
void object,
TBuffer b,
const TClass onfile_class 
)
staticprivate

◆ StreamerInstrumented()

static void TClass::StreamerInstrumented ( const TClass pThis,
void object,
TBuffer b,
const TClass onfile_class 
)
staticprivate

◆ StreamerStreamerInfo()

static void TClass::StreamerStreamerInfo ( const TClass pThis,
void object,
TBuffer b,
const TClass onfile_class 
)
staticprivate

◆ StreamerTObject()

static void TClass::StreamerTObject ( const TClass pThis,
void object,
TBuffer b,
const TClass onfile_class 
)
staticprivate

◆ StreamerTObjectEmulated()

static void TClass::StreamerTObjectEmulated ( const TClass pThis,
void object,
TBuffer b,
const TClass onfile_class 
)
staticprivate

◆ StreamerTObjectInitialized()

static void TClass::StreamerTObjectInitialized ( const TClass pThis,
void object,
TBuffer b,
const TClass onfile_class 
)
staticprivate

◆ WriteBuffer()

Int_t TClass::WriteBuffer ( TBuffer b,
void pointer,
const char *  info = "" 
)

Friends And Related Function Documentation

◆ operator &

bool operator& ( UChar_t  l,
ERuntimeProperties  r 
)
friend

Definition at line 235 of file TClass.h.

◆ ROOT::Internal::TCheckHashRecursiveRemoveConsistency

Definition at line 81 of file TClass.h.

◆ ROOT::ResetClassVersion

void ROOT::ResetClassVersion ( TClass ,
const char *  ,
Short_t   
)
friend

◆ ROOT::TGenericClassInfo

friend class ROOT::TGenericClassInfo
friend

Definition at line 79 of file TClass.h.

◆ TCling

friend class TCling
friend

Definition at line 77 of file TClass.h.

◆ TProtoClass

friend class TProtoClass
friend

Definition at line 80 of file TClass.h.

Member Data Documentation

◆ fAllPubData

TViewPubDataMembers* TClass::fAllPubData
private

Definition at line 183 of file TClass.h.

◆ fAllPubMethod

TViewPubFunctions* TClass::fAllPubMethod
private

Definition at line 184 of file TClass.h.

◆ fBase

std::atomic<TList*> TClass::fBase
private

Definition at line 176 of file TClass.h.

◆ fCanLoadClassInfo

std::atomic<Bool_t> TClass::fCanLoadClassInfo
mutableprivate

Whether info was loaded from a root pcm.

Definition at line 225 of file TClass.h.

◆ fCanSplit

Int_t TClass::fCanSplit
private

Definition at line 219 of file TClass.h.

◆ fCheckSum

std::atomic<UInt_t> TClass::fCheckSum
mutableprivate

Definition at line 193 of file TClass.h.

◆ fClassInfo

ClassInfo_t* TClass::fClassInfo
private

Definition at line 196 of file TClass.h.

◆ fClassMenuList

TList* TClass::fClassMenuList
mutableprivate

Definition at line 185 of file TClass.h.

◆ fClassProperty

Long_t TClass::fClassProperty
mutableprivate

Property.

Definition at line 221 of file TClass.h.

◆ fClassVersion

Version_t TClass::fClassVersion
private

Definition at line 195 of file TClass.h.

◆ fCollectionProxy

TVirtualCollectionProxy* TClass::fCollectionProxy
private

Definition at line 194 of file TClass.h.

◆ fContextMenuTitle

TString TClass::fContextMenuTitle
private

Definition at line 197 of file TClass.h.

◆ fConversionStreamerInfo

ConvSIMap_t TClass::fConversionStreamerInfo
mutableprivate

Definition at line 174 of file TClass.h.

◆ fConvStreamerFunc

ClassConvStreamerFunc_t TClass::fConvStreamerFunc
private

Definition at line 216 of file TClass.h.

◆ fCurrentInfo

std::atomic<TVirtualStreamerInfo*> TClass::fCurrentInfo
mutableprivate

Current 'state' of the class (Emulated,Interpreted,Loaded)

Definition at line 243 of file TClass.h.

◆ fData

TListOfDataMembers* TClass::fData
private

Definition at line 177 of file TClass.h.

◆ fDeclFileLine

Short_t TClass::fDeclFileLine
private

Definition at line 189 of file TClass.h.

◆ fDeclFileName

const char* TClass::fDeclFileName
private

Definition at line 187 of file TClass.h.

◆ fDelete

ROOT::DelFunc_t TClass::fDelete
private

Definition at line 211 of file TClass.h.

◆ fDeleteArray

ROOT::DelArrFunc_t TClass::fDeleteArray
private

Definition at line 212 of file TClass.h.

◆ fDestructor

ROOT::DesFunc_t TClass::fDestructor
private

Definition at line 213 of file TClass.h.

◆ fDirAutoAdd

ROOT::DirAutoAdd_t TClass::fDirAutoAdd
private

Definition at line 214 of file TClass.h.

◆ fEnums

std::atomic<TListOfEnums*> TClass::fEnums
private

Definition at line 179 of file TClass.h.

◆ fFuncTemplate

TListOfFunctionTemplates* TClass::fFuncTemplate
private

Definition at line 180 of file TClass.h.

◆ fgClassCount

std::atomic<Int_t> TClass::fgClassCount
staticprivate

Definition at line 292 of file TClass.h.

◆ fgClassTypedefHash

THashTable* TClass::fgClassTypedefHash
staticprivate

Definition at line 323 of file TClass.h.

◆ fGlobalIsA

IsAGlobalFunc_t TClass::fGlobalIsA
private

pointer to the class's IsA proxy.

Definition at line 204 of file TClass.h.

◆ fHasRootPcmInfo

std::atomic<Bool_t> TClass::fHasRootPcmInfo
private

C++ Property of the class (is abstract, has virtual table, etc.)

Definition at line 224 of file TClass.h.

◆ fImplFileLine

Short_t TClass::fImplFileLine
private

Definition at line 190 of file TClass.h.

◆ fImplFileName

const char* TClass::fImplFileName
private

Definition at line 188 of file TClass.h.

◆ fInstanceCount

UInt_t TClass::fInstanceCount
private

Definition at line 191 of file TClass.h.

◆ fIsA

TVirtualIsAProxy* TClass::fIsA
private

Definition at line 203 of file TClass.h.

◆ fIsAMethod

std::atomic<TMethodCall*> TClass::fIsAMethod
mutableprivate

Definition at line 205 of file TClass.h.

◆ fIsOffsetStreamerSet

std::atomic<Bool_t> TClass::fIsOffsetStreamerSet
mutableprivate

Indicates whether the ClassInfo is supposed to be available.

Definition at line 226 of file TClass.h.

◆ fLastReadInfo

std::atomic<TVirtualStreamerInfo*> TClass::fLastReadInfo
mutableprivate

cached current streamer info.

Definition at line 244 of file TClass.h.

◆ fMerge

ROOT::MergeFunc_t TClass::fMerge
private

saved info to call a IsA member function

Definition at line 207 of file TClass.h.

◆ fMethod

std::atomic<TListOfFunctions*> TClass::fMethod
private

Definition at line 181 of file TClass.h.

◆ fNew

ROOT::NewFunc_t TClass::fNew
private

Definition at line 209 of file TClass.h.

◆ fNewArray

ROOT::NewArrFunc_t TClass::fNewArray
private

Definition at line 210 of file TClass.h.

◆ fNoInfoOrEmuOrFwdDeclNameRegistry

TDeclNameRegistry TClass::fNoInfoOrEmuOrFwdDeclNameRegistry
staticprivate

Definition at line 294 of file TClass.h.

◆ fOffsetStreamer

Long_t TClass::fOffsetStreamer
mutableprivate

Properties that can only be evaluated at run-time.

Definition at line 240 of file TClass.h.

◆ fOnHeap

UInt_t TClass::fOnHeap
private

Definition at line 192 of file TClass.h.

◆ fPersistentRef

std::atomic<TClass**> TClass::fPersistentRef
private

Definition at line 169 of file TClass.h.

◆ fProperty

std::atomic<Long_t> TClass::fProperty
mutableprivate

Indicates whether this class can be split or not.

Definition at line 220 of file TClass.h.

◆ fRealData

TList* TClass::fRealData
private

Definition at line 175 of file TClass.h.

◆ fRefProxy

TVirtualRefProxy* TClass::fRefProxy
private

cached streamer info used in the last read.

Definition at line 245 of file TClass.h.

◆ fResetAfterMerge

ROOT::ResetAfterMergeFunc_t TClass::fResetAfterMerge
private

Definition at line 208 of file TClass.h.

◆ fRuntimeProperties

std::atomic<UChar_t> TClass::fRuntimeProperties
mutableprivate

Definition at line 238 of file TClass.h.

◆ fSchemaRules

ROOT::Detail::TSchemaRuleSet* TClass::fSchemaRules
private

Pointer to reference proxy if this class represents a reference.

Definition at line 246 of file TClass.h.

◆ fSharedLibs

TString TClass::fSharedLibs
private

Definition at line 201 of file TClass.h.

◆ fShowMembers

ShowMembersFunc_t TClass::fShowMembers
private

Definition at line 199 of file TClass.h.

◆ fSizeof

Int_t TClass::fSizeof
private

Definition at line 217 of file TClass.h.

◆ fState

EState TClass::fState
private

cached of the streaming method to use

Definition at line 242 of file TClass.h.

◆ fStreamer

TClassStreamer* TClass::fStreamer
private

Definition at line 200 of file TClass.h.

◆ fStreamerFunc

ClassStreamerFunc_t TClass::fStreamerFunc
private

Definition at line 215 of file TClass.h.

◆ fStreamerImpl

std::atomic<StreamerImpl_t> TClass::fStreamerImpl
mutableprivate

Definition at line 252 of file TClass.h.

◆ fStreamerInfo

TObjArray* TClass::fStreamerInfo
mutableprivate

Definition at line 173 of file TClass.h.

◆ fStreamerType

Int_t TClass::fStreamerType
private

saved info to call Streamer

Definition at line 241 of file TClass.h.

◆ fTypeInfo

const std::type_info* TClass::fTypeInfo
private

Definition at line 198 of file TClass.h.

◆ fVersionUsed

std::atomic<Bool_t> TClass::fVersionUsed
mutableprivate

saved remember if fOffsetStreamer has been set.

Definition at line 227 of file TClass.h.

Libraries for TClass:
[legend]

The documentation for this class was generated from the following file: