Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TQClass Class Reference

Definition at line 33 of file TQClass.h.

Public Types

enum  { kSingleKey = (1ULL << (0)) , kOverwrite = (1ULL << (1)) , kWriteDelete = (1ULL << (2)) }
enum  {
  kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 ,
  kBitMask = 0x00ffffff
}
typedef const void * DeclId_t
enum  ECheckSum {
  kCurrentCheckSum = 0 , kNoEnum = 1 , kReflexNoComment = 2 , kNoRange = 3 ,
  kWithTypeDef = 4 , kReflex = 5 , kNoRangeCheck = 6 , kNoBaseCheckSum = 7 ,
  kLatestCheckSum = 8
}
enum  EDeprecatedStatusBits { kObjInCanvas = (1ULL << (3)) }
enum class  EMemberSelection { kNoUsingDecls , kOnlyUsingDecls , kAlsoUsingDecls }
 Kinds of members to include in lists. More...
enum  ENewType { kRealNew = 0 , kClassNew , kDummyNew }
enum  EState {
  kNoInfo , kForwardDeclared , kEmulated , kInterpreted ,
  kHasTClassInit , kLoaded = kHasTClassInit , kNamespaceForMeta
}
enum  EStatusBits {
  kReservedLoading = (1ULL << (7)) , kHasLocalHashMember = (1ULL << (14)) , kIgnoreTObjectStreamer = (1ULL << (15)) , kUnloaded = (1ULL << (16)) ,
  kIsTObject = (1ULL << (17)) , kIsForeign = (1ULL << (18)) , kStartWithTObject = (1ULL << (20)) , kWarned = (1ULL << (21)) ,
  kHasNameMapNode = (1ULL << (22))
}
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 Member Functions

 TQClass (const char *name, Version_t cversion, const std::type_info &info, TVirtualIsAProxy *isa, const char *dfil=nullptr, const char *ifil=nullptr, Int_t dl=0, Int_t il=0)
virtual ~TQClass ()
void AbstractMethod (const char *method) const
 Call this function within a function that you don't want to define as purely virtual, in order not to force all users deriving from that class to implement that maybe (on their side) unused function; but at the same time, emit a run-time warning if they try to call it, telling that it is not implemented in the derived class: action must thus be taken on the user side to override it.
void AddImplFile (const char *filename, int line)
void AddInstance (Bool_t heap=kFALSE)
bool AdoptMemberStreamer (const char *name, TMemberStreamer *strm)
 Adopt the TMemberStreamer pointer to by p and use it to Stream non basic member name.
void AdoptReferenceProxy (TVirtualRefProxy *proxy)
 Adopt the Reference proxy pointer to indicate that this class represents a reference.
void AdoptSchemaRules (ROOT::Detail::TSchemaRuleSet *rules)
 Adopt a new set of Data Model Evolution rules.
void AdoptStreamer (TClassStreamer *strm)
 Adopt a TClassStreamer object.
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad.
Bool_t AreSignalsBlocked () const
Bool_t BlockSignals (Bool_t b)
void Browse (TBrowser *b) override
 This method is called by a browser to get the class information.
Int_t Browse (void *obj, TBrowser *b) const
 Browse objects of of the class described by this TClass object.
void BuildEmulatedRealData (const char *name, Longptr_t offset, TClass *cl, Bool_t isTransient=kFALSE)
 Build the list of real data for an emulated class.
void BuildRealData (void *pointer=nullptr, Bool_t isTransient=kFALSE)
 Build a full list of persistent data members.
void CalculateStreamerOffset () const
 Calculate the offset between an object of this class to its base class TObject.
Bool_t CallShowMembers (const void *obj, TMemberInspector &insp, Bool_t isTransient=kFALSE) const
 Call ShowMembers() on the obj of this class type, passing insp and parent.
Bool_t CanIgnoreTObjectStreamer ()
Bool_t CanSplit () const
 Return true if the data member of this TClass can be saved separately.
virtual void ChangedBy (const char *method)
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.
virtual const char * ClassName () const
 Returns name of class to which the object belongs.
Long_t ClassProperty () const
 Return the C++ property of this class, eg.
void Clear (Option_t *option="") override
 Set name and title to empty strings ("").
TObjectClone (const char *newname="") const override
 Create a Clone of this TClass object using a different name but using the same 'dictionary'.
void CollectClassSignalLists (TList &list, TClass *cls)
 Collect class signal lists from class cls and all its base-classes.
Int_t Compare (const TObject *obj) const override
 Compare two TNamed objects.
Bool_t Connect (const char *signal, const char *receiver_class, void *receiver, const char *slot)
 Non-static method is used to connect from the signal of this object to the receiver slot.
virtual void Connected (const char *)
void Copy (TObject &named) const override
 Copy this to obj.
void CopyCollectionProxy (const TVirtualCollectionProxy &)
 Replaces the collection proxy for this class.
void CreateAttributeMap ()
virtual void Delete (Option_t *option="")
 Delete this object.
void DeleteArray (ObjectPtr ary, Bool_t dtorOnly=kFALSE)
 Explicitly call operator delete[] for an array.
void DeleteArray (void *ary, Bool_t dtorOnly=kFALSE)
 Explicitly call operator delete[] for an array.
virtual void Destroyed ()
void Destructor (ObjectPtr obj, Bool_t dtorOnly=kFALSE)
 Explicitly call destructor for object.
void Destructor (void *obj, Bool_t dtorOnly=kFALSE)
 Explicitly call destructor for object.
Bool_t Disconnect (const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr)
 Disconnects signal of this object from slot of receiver.
virtual void Disconnected (const char *)
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object.
void Draw (Option_t *option="") override
 Draw detailed class inheritance structure.
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs.
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).
void Dump () const override
 Dump contents of object on stdout.
void Dump (const void *obj, Bool_t noAddr=kFALSE) const
 Dump contents of object on stdout.
const void * DynamicCast (const TClass *base, const void *obj, Bool_t up=kTRUE)
 Cast obj of this class type up to baseclass cl if up is true.
void * DynamicCast (const TClass *base, void *obj, Bool_t up=kTRUE)
 Cast obj of this class type up to baseclass cl if up is true.
void Emit (const char *signal)
 Activate signal without args.
template<typename T>
void Emit (const char *signal, const T &arg)
 Activate signal with single parameter.
template<typename... T>
void EmitVA (const char *signal_name, Int_t, const T &... params)
 Emit a signal with a varying number of arguments.
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message.
char * EscapeChars (const char *text) const
 Introduce an escape character () in front of a special chars.
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 Execute method on this object with the given parameter string, e.g.
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 Execute method on this object with parameters stored in the TObjArray.
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py).
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message.
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer.
TVirtualStreamerInfoFindConversionStreamerInfo (const char *onfile_classname, UInt_t checksum) const
 Return a Conversion StreamerInfo from the class 'classname' for the layout represented by 'checksum' to this class, if any.
TVirtualStreamerInfoFindConversionStreamerInfo (const TClass *onfile_cl, UInt_t checksum) const
 Return a Conversion StreamerInfo from the class represented by cl for the layout represented by 'checksum' to this class, if any.
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes.
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes.
TVirtualStreamerInfoFindStreamerInfo (UInt_t checksum, Bool_t isTransient=kFALSE) const
 Find the TVirtualStreamerInfo in the StreamerInfos corresponding to checksum.
TVirtualStreamerInfoFindStreamerInfoAbstractEmulated (UInt_t checksum) const
 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.
void ForceReload (TClass *oldcl)
 we found at least one equivalent.
TClassGetActualClass (const void *object) const
 Return a pointer to the real class of the object.
TDictAttributeMapGetAttributeMap () const
TClassGetBaseClass (const char *classname)
 Return pointer to the base class "classname".
TClassGetBaseClass (const TClass *base)
 Return pointer to the base class "cl".
Int_t GetBaseClassOffset (const TClass *toBase, void *address=nullptr, bool isDerivedObject=true)
TClassGetBaseDataMember (const char *datamember)
 Return pointer to (base) class that contains datamember.
ROOT::BrowseFunc_t GetBrowse () const
 Return the wrapper around Browse.
UInt_t GetCheckSum (Bool_t &isvalid) const
 Return GetCheckSum(kCurrentCheckSum,isvalid);.
UInt_t GetCheckSum (ECheckSum code, Bool_t &isvalid) const
 Compute and/or return the class check sum.
UInt_t GetCheckSum (ECheckSum code=kCurrentCheckSum) const
 Call GetCheckSum with validity check.
size_t GetClassAlignment () const
 Return the alignment requirement (in bytes) for objects of this class.
ClassInfo_t * GetClassInfo () const
TMethodGetClassMethod (const char *name, const char *params, Bool_t objectIsConst=kFALSE)
 Look for a method in this class that has the name and matches the parameters.
TMethodGetClassMethodWithPrototype (const char *name, const char *proto, Bool_t objectIsConst=kFALSE, ROOT::EFunctionMatchMode mode=ROOT::kConversionMatch)
 Find the method with a given prototype.
Int_t GetClassSize () const
Version_t GetClassVersion () const
TVirtualCollectionProxyGetCollectionProxy () const
 Return the proxy describing the collection (if any).
ROOT::ESTLType GetCollectionType () const
 Return the 'type' of the STL the TClass is representing.
const char * GetContextMenuTitle () const
TVirtualStreamerInfoGetConversionStreamerInfo (const char *onfile_classname, Int_t version) const
 Return a Conversion StreamerInfo from the class 'classname' for version number 'version' to this class, if any.
TVirtualStreamerInfoGetConversionStreamerInfo (const TClass *onfile_cl, Int_t version) const
 Return a Conversion StreamerInfo from the class represented by cl for version number 'version' to this class, if any.
ClassConvStreamerFunc_t GetConvStreamerFunc () const
 Get a wrapper/accessor function around this class custom conversion streamer (member function).
TVirtualStreamerInfoGetCurrentStreamerInfo ()
TDataMemberGetDataMember (const char *datamember) const
 Return pointer to datamember object with name "datamember".
Longptr_t GetDataMemberOffset (const char *membername) const
 return offset for member name.
Short_t GetDeclFileLine () const
const char * GetDeclFileName () const
 Return name of the file containing the declaration of this class.
ROOT::DelFunc_t GetDelete () const
 Return the wrapper around delete ThisObject.
ROOT::DelArrFunc_t GetDeleteArray () const
 Return the wrapper around delete [] ThisObject.
ROOT::DesFunc_t GetDestructor () const
 Return the wrapper around the destructor.
ROOT::DirAutoAdd_t GetDirectoryAutoAdd () const
 Return the wrapper around the directory auto add function.
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object.
TFunctionTemplateGetFunctionTemplate (const char *name)
UInt_t GetHeapInstanceCount () const
virtual const char * GetIconName () const
 Returns mime type name of object.
Short_t GetImplFileLine () const
const char * GetImplFileName () const
UInt_t GetInstanceCount () const
TVirtualIsAProxyGetIsAProxy () const
 Return the proxy implementing the IsA functionality.
TVirtualStreamerInfoGetLastReadInfo () const
TListGetListOfAllPublicDataMembers (Bool_t load=kTRUE)
 Returns a list of all public data members of this class and its base classes.
const TListGetListOfAllPublicMethods (Bool_t load=kTRUE)
 Returns a list of all public methods of this class and its base classes.
TListGetListOfBases ()
 Return list containing the TBaseClass(es) of a class.
TListGetListOfClassSignals () const
 Returns pointer to list of signals of this class.
TListGetListOfConnections () const
TListGetListOfDataMembers (Bool_t load=kTRUE)
 Return list containing the TDataMembers of a class.
TListGetListOfEnums (Bool_t load=kTRUE)
 Return a list containing the TEnums of a class.
TListGetListOfFunctionTemplates (Bool_t load=kTRUE)
 Return TListOfFunctionTemplates for a class.
TCollectionGetListOfMethodOverloads (const char *name) const
 Return the collection of functions named "name".
TListGetListOfMethods (Bool_t load=kTRUE)
 Return list containing the TMethods of a class.
TListGetListOfRealData () const
TListGetListOfSignals () const
TListGetListOfUsingDataMembers (Bool_t load=kTRUE)
 Return list containing the TDataMembers of using declarations of a class.
void GetMenuItems (TList *listitems)
 Returns list of methods accessible by context menu.
TListGetMenuList () const
 Return the list of menu items associated with the class.
ROOT::MergeFunc_t GetMerge () const
 Return the wrapper around Merge.
TMethodGetMethod (const char *method, const char *params, Bool_t objectIsConst=kFALSE)
 Find the best method (if there is one) matching the parameters.
TMethodGetMethodAllAny (const char *method)
 Return pointer to method without looking at parameters.
TMethodGetMethodAny (const char *method)
 Return pointer to method without looking at parameters.
TMethodGetMethodWithPrototype (const char *method, const char *proto, Bool_t objectIsConst=kFALSE, ROOT::EFunctionMatchMode mode=ROOT::kConversionMatch)
 Find the method with a given prototype.
void GetMissingDictionaries (THashTable &result, bool recurse=false)
 Get the classes that have a missing dictionary starting from this one.
const char * GetName () const override
 Returns name of object.
Int_t GetNdata ()
 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().
ROOT::NewFunc_t GetNew () const
 Return the wrapper around new ThisClass().
ROOT::NewArrFunc_t GetNewArray () const
 Return the wrapper around new ThisClass[].
Int_t GetNmethods ()
 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().
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py).
virtual Option_tGetOption () const
TClass *const * GetPersistentRef () const
TRealDataGetRealData (const char *name) const
 Return pointer to TRealData element with name "name".
TVirtualRefProxyGetReferenceProxy () const
ROOT::ResetAfterMergeFunc_t GetResetAfterMerge () const
 Return the wrapper around Merge.
const ROOT::Detail::TSchemaRuleSetGetSchemaRules () const
 Return the set of the schema rules if any.
ROOT::Detail::TSchemaRuleSetGetSchemaRules (Bool_t create=kFALSE)
 Return the set of the schema rules if any.
const char * GetSharedLibs ()
 Get the list of shared libraries containing the code for class cls.
ShowMembersFunc_t GetShowMembersWrapper () const
EState GetState () const
TClassStreamerGetStreamer () const
 Return the Streamer Class allowing streaming (if any).
ClassStreamerFunc_t GetStreamerFunc () const
 Get a wrapper/accessor function around this class custom streamer (member function).
TVirtualStreamerInfoGetStreamerInfo (Int_t version=0, Bool_t isTransient=kFALSE) const
 returns a pointer to the TVirtualStreamerInfo object for version If the object does not exist, it is created
TVirtualStreamerInfoGetStreamerInfoAbstractEmulated (Int_t version=0) const
 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.
const TObjArrayGetStreamerInfos () const
const char * GetTitle () const override
 Returns title of object.
const std::type_info * GetTypeInfo () const
virtual UInt_t GetUniqueID () const
 Return the unique object id.
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out.
virtual Bool_t HasConnection (const char *signal_name) const
 Return true if there is any object connected to this signal.
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.
Bool_t HasCustomStreamerMember () const
 The class has a Streamer method and it is implemented by the user or an older (not StreamerInfo based) automatic streamer.
Bool_t HasDataMemberInfo () const
Bool_t HasDefaultConstructor (Bool_t testio=kFALSE) const
 Return true if we have access to a constructor usable for I/O.
Bool_t HasDictionary () const
 Check whether a class has a dictionary or not.
Bool_t HasDirectStreamerInfoUse () const
ULong_t Hash () const override
 Return hash value for this object.
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.
Bool_t HasInterpreterInfo () const
Bool_t HasInterpreterInfoInMemory () const
Bool_t HasLocalHashMember () const
 Returns true if this class has an definition and/or overload of the member function Hash.
virtual void HighPriority (const char *signal_name, const char *slot_name=nullptr)
void IgnoreTObjectStreamer (Bool_t ignore=kTRUE)
 When the class kIgnoreTObjectStreamer bit is set, the automatically generated Streamer will not call TObject::Streamer.
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message.
Bool_t InheritsFrom (const char *cl) const override
 Return kTRUE if this class inherits from a class with name "classname".
Bool_t InheritsFrom (const TClass *cl) const override
 Return kTRUE if this class inherits from class cl.
virtual void Inspect () const
 Dump contents of this object in a graphics canvas.
void InterpretedShowMembers (void *obj, TMemberInspector &insp, Bool_t isTransient)
 Do a ShowMembers() traversal of all members and base classes' members using the reflection information from the interpreter.
void InvertBit (UInt_t f)
TClassIsA () const override
Bool_t IsDestructed () const
 IsDestructed.
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory).
Bool_t IsFolder () const override
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
Bool_t IsFolder (void *obj) const
 Return kTRUE if the class has elements.
Bool_t IsForeign () const
 Return kTRUE is the class is Foreign (the class does not have a Streamer method).
Bool_t IsLoaded () const
 Return true if the shared library of this class is currently in the a process's memory.
Bool_t IsOnHeap () const
Bool_t IsSortable () const override
Bool_t IsStartingWithTObject () const
 Returns true if this class inherits from TObject and if the start of the TObject parts is at the very beginning of the objects.
Bool_t IsSyntheticPair () const
Bool_t IsTObject () const
 Return kTRUE is the class inherits from TObject.
Bool_t IsVersioned () const
Bool_t IsZombie () const
virtual void LowPriority (const char *signal_name, const char *slot_name=nullptr)
void ls (Option_t *opt="") const override
 The ls function lists the contents of a class on stdout.
void MakeCustomMenuList ()
 Makes a customizable version of the popup menu list, i.e.
Bool_t MatchLegacyCheckSum (UInt_t checksum) const
 Return true if the checksum passed as argument is one of the checksum value produced by the older checksum calculation algorithm.
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).
virtual void Message (const char *msg)
void Move (void *arenaFrom, void *arenaTo) const
 Register the fact that an object was moved from the memory location 'arenaFrom' to the memory location 'arenaTo'.
void * New (ENewType defConstructor=kClassNew, Bool_t quiet=kFALSE) const
 Return a pointer to a newly allocated object of this class.
void * New (void *arena, ENewType defConstructor=kClassNew) const
 Return a pointer to a newly allocated object of this class.
void * NewArray (Long_t nElements, ENewType defConstructor=kClassNew) const
 Return a pointer to a newly allocated array of objects of this class.
void * NewArray (Long_t nElements, void *arena, ENewType defConstructor=kClassNew) const
 Return a pointer to a newly allocated object of this class.
ObjectPtr NewObject (ENewType defConstructor=kClassNew, Bool_t quiet=kFALSE) const
ObjectPtr NewObject (void *arena, ENewType defConstructor=kClassNew) const
 Return a pointer to a newly allocated object of this class.
ObjectPtr NewObjectArray (Long_t nElements, ENewType defConstructor=kClassNew) const
 Return a pointer to a newly allocated array of objects of this class.
ObjectPtr NewObjectArray (Long_t nElements, void *arena, ENewType defConstructor=kClassNew) const
 Return a pointer to a newly allocated object of this class.
virtual Bool_t Notify ()
 This method must be overridden to handle object notification (the base implementation is no-op).
virtual Int_t NumberOfConnections () const
 Return number of connections for this object.
virtual Int_t NumberOfSignals () const
 Return number of signals for this object.
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete.
void operator delete (void *, size_t)
 Operator delete for sized deallocation.
void operator delete (void *ptr)
 Operator delete.
void operator delete (void *ptr, void *vp)
 Only called by placement new when throwing an exception.
void operator delete[] (void *, size_t)
 Operator delete [] for sized deallocation.
void operator delete[] (void *ptr)
 Operator delete [].
void operator delete[] (void *ptr, void *vp)
 Only called by placement new[] when throwing an exception.
void * operator new (size_t sz)
void * operator new (size_t sz, void *vp)
void * operator new[] (size_t sz)
void * operator new[] (size_t sz, void *vp)
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself.
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list.
virtual void PostLoadCheck ()
 Do the initialization that can only be done after the CINT dictionary has been fully populated and can not be delayed efficiently.
void Print (Option_t *option="") const override
 Print TNamed name and title.
Long_t Property () const override
 Returns the properties of the TClass as a bit field stored as a Long_t value.
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory.
Int_t ReadBuffer (TBuffer &b, void *pointer)
 Function called by the Streamer functions to deserialize information from buffer b into object at p.
Int_t ReadBuffer (TBuffer &b, void *pointer, Int_t version, UInt_t start, UInt_t count)
 Function called by the Streamer functions to deserialize information from buffer b into object at p.
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list.
void RegisterStreamerInfo (TVirtualStreamerInfo *info)
 Register the StreamerInfo in the given slot, change the State of the TClass as appropriate.
void RemoveStreamerInfo (Int_t slot)
 Remove and delete the StreamerInfo in the given slot.
void ReplaceWith (TClass *newcl) const
void ResetBit (UInt_t f)
void ResetCaches ()
 To clean out all caches.
void ResetClassInfo ()
 Make sure that the current ClassInfo is up to date.
void ResetClassInfo (Long_t tagnum)
 Make sure that the current ClassInfo is up to date.
void ResetInstanceCount ()
void ResetMenuList ()
 Resets the menu list to it's standard value.
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename.
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out".
void SetBit (UInt_t f)
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f.
void SetBrowse (ROOT::BrowseFunc_t browseFunc)
 Install a new wrapper around 'Browse'.
void SetCanSplit (Int_t splitmode)
 Set the splitability of this class:
void SetCollectionProxy (const ROOT::Detail::TCollectionProxyInfo &)
 Create the collection proxy object (and the streamer object) from using the information in the TCollectionProxyInfo.
void SetContextMenuTitle (const char *title)
 Change (i.e. set) the title of the TNamed.
void SetConvStreamerFunc (ClassConvStreamerFunc_t strm)
 Set a wrapper/accessor function around this class custom conversion streamer.
void SetCurrentStreamerInfo (TVirtualStreamerInfo *info)
 Set pointer to current TVirtualStreamerInfo.
void SetDeclFile (const char *name, Short_t line)
void SetDelete (ROOT::DelFunc_t deleteFunc)
 Install a new wrapper around 'delete'.
void SetDeleteArray (ROOT::DelArrFunc_t deleteArrayFunc)
 Install a new wrapper around 'delete []'.
void SetDestructor (ROOT::DesFunc_t destructorFunc)
 Install a new wrapper around the destructor.
void SetDirectoryAutoAdd (ROOT::DirAutoAdd_t dirAutoAddFunc)
 Install a new wrapper around the directory auto add function.
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object.
void SetGlobalIsA (IsAGlobalFunc_t)
 This function installs a global IsA function for this class.
void SetImplFileName (const char *implFileName)
void SetLastReadInfo (TVirtualStreamerInfo *info)
void SetMemberStreamer (const char *name, MemberStreamerFunc_t strm)
 Install a new member streamer (p will be copied).
void SetMerge (ROOT::MergeFunc_t mergeFunc)
 Install a new wrapper around 'Merge'.
virtual void SetName (const char *name)
 Set the name of the TNamed.
virtual void SetNameTitle (const char *name, const char *title)
 Set all the TNamed parameters (name and title).
void SetNew (ROOT::NewFunc_t newFunc)
 Install a new wrapper around 'new'.
void SetNewArray (ROOT::NewArrFunc_t newArrayFunc)
 Install a new wrapper around 'new []'.
void SetResetAfterMerge (ROOT::ResetAfterMergeFunc_t resetFunc)
 Install a new wrapper around 'ResetAfterMerge'.
void SetStreamerFunc (ClassStreamerFunc_t strm)
 Set a wrapper/accessor function around this class custom streamer.
TVirtualStreamerInfoSetStreamerInfo (Int_t version, const char *info="")
 Info is a string describing the names and types of attributes written by the class Streamer function.
virtual void SetTitle (const char *title="")
 Set the title of the TNamed.
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id.
void SetUnloaded ()
 Call this method to indicate that the shared library containing this class's code has been removed (unloaded) from the process's memory The caller of this calss should be holding the ROOT Write lock.
Int_t Size () const
 Return size of object of this class.
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject.
void Store (TBuffer &b) const
 Store class description on I/O buffer.
void Streamer (void *obj, TBuffer &b, const TClass *onfile_class=nullptr) const
void Streamer (TBuffer &) override
 Stream an object of class TQObject.
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message.
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.
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message.
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory.
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory.
Int_t WriteBuffer (TBuffer &b, void *pointer, const char *info="")
 Function called by the Streamer functions to serialize object at p to buffer b.

Static Public Member Functions

static void AddClass (TClass *cl)
 static: Add a class to the list and map of classes.
static void AddClassToDeclIdMap (TDictionary::DeclId_t id, TClass *cl)
 static: Add a TClass* to the map of classes.
static Bool_t AddRule (const char *rule)
 Add a schema evolution customization rule.
static Bool_t AreAllSignalsBlocked ()
 Returns true if all signals are blocked.
static Int_t AutoBrowse (TObject *obj, TBrowser *browser)
 Browse external object inherited from TObject.
static Bool_t BlockAllSignals (Bool_t b)
 Block or unblock all signals. Returns the previous block status.
static TClassClass ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static Bool_t Connect (const char *sender_class, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 This method allows to make a connection from any object of the same class to a single slot.
static Bool_t Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 Create connection between sender and receiver.
static const char * DeclFileName ()
static Bool_t Disconnect (const char *class_name, const char *signal, void *receiver=nullptr, const char *slot=nullptr)
 Disconnects "class signal".
static Bool_t Disconnect (TQObject *sender, const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr)
 Disconnects signal in object sender from slot_method in object receiver.
template<typename T>
static TClassGetClass (Bool_t load=kTRUE, Bool_t silent=kFALSE)
static TClassGetClass (ClassInfo_t *info, Bool_t load=kTRUE, Bool_t silent=kFALSE)
 Static method returning pointer to TClass of the specified ClassInfo.
static TClassGetClass (const char *name, Bool_t load, Bool_t silent, size_t hint_pair_offset, size_t hint_pair_size)
static TClassGetClass (const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
 Static method returning pointer to TClass of the specified class name.
static TClassGetClass (const std::type_info &typeinfo, Bool_t load=kTRUE, Bool_t silent=kFALSE, size_t hint_pair_offset=0, size_t hint_pair_size=0)
 Return pointer to class with name.
static Bool_t GetClass (DeclId_t id, std::vector< TClass * > &classes)
static DictFuncPtr_t GetDict (const char *cname)
 Return a pointer to the dictionary loading function generated by rootcint.
static DictFuncPtr_t GetDict (const std::type_info &info)
 Return a pointer to the dictionary loading function generated by rootcint.
static TDictionaryGetDictionary (const char *name)
 Retrieve the type (class, fundamental type, typedef etc) named "name".
static TDictionaryGetDictionary (const std::type_info &typeinfo)
static Longptr_t GetDtorOnly ()
 Return destructor only flag.
static Bool_t GetObjectStat ()
 Get status of object stat flag.
static Bool_t HasDictionarySelection (const char *clname)
 Check whether a class has a dictionary or ROOT can load one.
static ENewType IsCallingNew ()
 Static method returning the defConstructor flag passed to TClass::New().
static TClassLoad (TBuffer &b)
 Load class description from I/O buffer and return class object.
static TClassLoadClass (const char *requestedname, Bool_t silent)
 Helper function used by TClass::GetClass().
static Int_t ReadRules ()
 Read the class.rules files from the default location:.
static Int_t ReadRules (const char *filename)
 Read a class.rules file which contains one rule per line with comment starting with a #.
static void RegisterReadRules (ROOT::TSchemaRule::RuleType_t, const char *classname, std::vector<::ROOT::Internal::TSchemaHelper > &&rules)
 Register a set of read rules for a target class.
static void RemoveClass (TClass *cl)
 static: Remove a class from the list and map of classes
static void RemoveClassDeclId (TDictionary::DeclId_t id)
static void SetDtorOnly (void *obj)
 Set destructor only flag.
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable.
static bool WantsRegularMembers (EMemberSelection sel)
static bool WantsUsingDecls (EMemberSelection sel)

Protected Types

enum  { kOnlyPrepStep = (1ULL << (3)) }
using SchemaHelperMap_t = std::unordered_map<std::string, std::vector<ROOT::Internal::TSchemaHelper>>

Protected Member Functions

virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected).
TVirtualStreamerInfoFindStreamerInfo (TObjArray *arr, UInt_t checksum) const
 Find the TVirtualStreamerInfo in the StreamerInfos corresponding to checksum.
void GetMissingDictionariesForBaseClasses (TCollection &result, TCollection &visited, bool recurse)
 Verify the base classes always.
void GetMissingDictionariesForMembers (TCollection &result, TCollection &visited, bool recurse)
 Verify the Data Members.
void GetMissingDictionariesForPairElements (TCollection &result, TCollection &visited, bool recurse)
void GetMissingDictionariesWithRecursionCheck (TCollection &result, TCollection &visited, bool recurse)
 From the second level of recursion onwards it is different state check.
virtual void * GetSender ()
virtual const char * GetSenderClassName () const
void MakeZombie ()
void SavePrimitiveNameTitle (std::ostream &out, const char *variable_name)
 Save object name and title into the output stream "out".
Bool_t UpdateInterpreterStateMarker ()

Static Protected Member Functions

static Int_t CheckConnectArgs (TQObject *sender, TClass *sender_class, const char *signal, TClass *receiver_class, const char *slot)
 Checking of consistency of sender/receiver methods/arguments.
static TString CompressName (const char *method_name)
 Removes "const" words and blanks from full (with prototype) method name and resolve any typedefs in the method signature.
static Bool_t ConnectToClass (const char *sender_class, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 This method allows to make connection from any object of the same class to the receiver object.
static Bool_t ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 Create connection between sender and receiver.
static SchemaHelperMap_tGetReadRulesRegistry (ROOT::TSchemaRule::RuleType_t type)
 Return the registry for the unassigned read rules.
static void SavePrimitiveConstructor (std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE)
 Save object constructor in the output stream "out".
static void SavePrimitiveDraw (std::ostream &out, const char *variable_name, Option_t *option=nullptr)
 Save invocation of primitive Draw() method Skipped if option contains "nodraw" string.
static TString SavePrimitiveVector (std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Int_t flag=0)
 Save array in the output stream "out" as vector.

Protected Attributes

TListfListOfConnections
 ! list of connections to this object
TListfListOfSignals
 ! list of signals from this object
TString fName
Bool_t fSignalsBlocked
 ! flag used for suppression of signals
TString fTitle

Static Protected Attributes

static Bool_t fgAllSignalsBlocked = kFALSE

Private Types

enum  { kLoading = kReservedLoading , kUnloading = kReservedLoading }
typedef std::atomic< std::map< std::string, TObjArray * > * > ConvSIMap_t
enum class  ERuntimeProperties : UChar_t { kNotInitialized = 0 , kSet = (1ULL << (0)) , kConsistentHash = (1ULL << (1)) }
enum  EStreamerType {
  kDefault =0 , kEmulatedStreamer =1 , kTObject =2 , kInstrumented =4 ,
  kForeign =8 , kExternal =16
}
typedef std::multimap< void *, Version_tRepoCont_t
typedef void(* StreamerImpl_t) (const TClass *pThis, void *obj, TBuffer &b, const TClass *onfile_class)

Private Member Functions

 TQClass (const TClass &)=delete
Bool_t CanSplitBaseAllow ()
TListCreateListOfDataMembers (std::atomic< TListOfDataMembers * > &data, TDictionary::EMemberSelection selection, bool load)
 Create the list containing the TDataMembers (of actual data members or members pulled in through using declarations) of a class.
TVirtualStreamerInfoDetermineCurrentStreamerInfo ()
 Determine and set pointer to current TVirtualStreamerInfo.
TMethodFindClassOrBaseMethodWithId (DeclId_t faddr)
 Find a method with decl id in this class or its bases.
Int_t GetBaseClassOffsetRecurse (const TClass *toBase)
 Return data member offset to the base class "cl".
TMethodGetClassMethod (Longptr_t faddr)
 Look for a method in this class that has the interface function address faddr.
TListOfFunctionsGetMethodList ()
 Return (create an empty one if needed) the list of functions.
TVirtualStreamerInfoGetStreamerInfoImpl (Int_t version, Bool_t silent) const
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)
 Initialize a TClass object.
bool IsClassStructOrUnion () const
void LoadClassInfo () const
 Try to load the ClassInfo if available.
void MoveAddressInRepository (const char *where, void *oldadd, void *newadd, const TClass *what) const
TQClassoperator= (const TQClass &)=delete
void RegisterAddressInRepository (const char *where, void *location, const TClass *what) const
void SetClassAlignment (std::size_t align)
void SetClassSize (Int_t sizof)
void SetClassVersion (Version_t version)
 Private function.
void SetRuntimeProperties ()
 Internal routine to set calculate the class properties that can only be known at run-time, for example whether the Hash member function and the destructor are consistent.
void SetStreamerImpl (Int_t streamerType)
 Internal routine to set fStreamerImpl based on the value of fStreamerType.
void UnregisterAddressInRepository (const char *where, void *location, const TClass *what) const

Static Private Member Functions

static void AddToTObjectTable (TObject *)
 Private helper function which will dispatch to TObjectTable::AddObj.
static void ConvStreamerInstrumented (const TClass *pThis, void *object, TBuffer &b, const TClass *onfile_class)
 Case of instrumented class with a library.
static DeclIdMap_tGetDeclIdMap ()
static IdMap_tGetIdMap ()
static Bool_t HasNoInfoOrEmuOrFwdDeclaredDecl (const char *)
static TClassLoadClassCustom (const char *requestedname, Bool_t silent)
 Helper function used by TClass::GetClass().
static TClassLoadClassDefault (const char *requestedname, Bool_t silent)
 Helper function used by TClass::GetClass().
static void StreamerDefault (const TClass *pThis, void *object, TBuffer &b, const TClass *onfile_class)
 Default streaming in cases where either we have no way to know what to do or if Property() has not yet been called.
static void StreamerExternal (const TClass *pThis, void *object, TBuffer &b, const TClass *onfile_class)
 There is special streamer for the class.
static void StreamerInstrumented (const TClass *pThis, void *object, TBuffer &b, const TClass *onfile_class)
 Case of instrumented class with a library.
static void StreamerStreamerInfo (const TClass *pThis, void *object, TBuffer &b, const TClass *onfile_class)
 Case of where we should directly use the StreamerInfo.
static void StreamerTObject (const TClass *pThis, void *object, TBuffer &b, const TClass *onfile_class)
 Case of TObjects.
static void StreamerTObjectEmulated (const TClass *pThis, void *object, TBuffer &b, const TClass *onfile_class)
 Case of TObjects when we do not have the library defining the class.
static void StreamerTObjectInitialized (const TClass *pThis, void *object, TBuffer &b, const TClass *onfile_class)
 Case of TObjects when fIsOffsetStreamerSet is known to have been set.

Private Attributes

std::size_t fAlignment = 0
TViewPubDataMembersfAllPubData = nullptr
TViewPubFunctionsfAllPubMethod = nullptr
TDictAttributeMapfAttributeMap {nullptr}
std::atomic< TList * > fBase = nullptr
UInt_t fBits
 bit field status word
ROOT::BrowseFunc_t fBrowse = nullptr
std::atomic< Bool_tfCanLoadClassInfo = false
 !Indicates whether the ClassInfo is supposed to be available.
std::atomic< Char_tfCanSplit = -1
 !Indicates whether this class can be split or not. Values are -1, 0, 1, 2
std::atomic< UInt_tfCheckSum = 0
ClassInfo_t * fClassInfo = nullptr
TListfClassMenuList = nullptr
Long_t fClassProperty = 0
 !C++ Property of the class (is abstract, has virtual table, etc.)
Version_t fClassVersion = 0
TVirtualCollectionProxyfCollectionProxy = nullptr
TString fContextMenuTitle
ConvSIMap_t fConversionStreamerInfo = nullptr
ClassConvStreamerFunc_t fConvStreamerFunc = nullptr
std::atomic< TVirtualStreamerInfo * > fCurrentInfo = nullptr
 !cached current streamer info.
std::atomic< TListOfDataMembers * > fData = nullptr
Short_t fDeclFileLine = 0
const char * fDeclFileName = ""
ROOT::DelFunc_t fDelete = nullptr
ROOT::DelArrFunc_t fDeleteArray = nullptr
ROOT::DesFunc_t fDestructor = nullptr
ROOT::DirAutoAdd_t fDirAutoAdd = nullptr
std::atomic< TListOfEnums * > fEnums = nullptr
TListOfFunctionTemplatesfFuncTemplate = nullptr
IsAGlobalFunc_t fGlobalIsA = nullptr
Bool_t fHasCustomStreamerMember: 1
 The class has a Streamer method and it is implemented by the user or an older (not StreamerInfo based) automatic streamer.
std::atomic< Bool_tfHasRootPcmInfo = false
 !Whether info was loaded from a root pcm.
Short_t fImplFileLine = 0
const char * fImplFileName = ""
UInt_t fInstanceCount = 0
TVirtualIsAProxyfIsA = nullptr
 !pointer to the class's IsA proxy.
std::atomic< TMethodCall * > fIsAMethod = nullptr
 !saved info to call a IsA member function
std::atomic< Bool_tfIsOffsetStreamerSet = false
 !saved remember if fOffsetStreamer has been set.
Bool_t fIsSyntheticPair: 1
 Indicates whether this class represents a pair and was not created from a dictionary nor interpreter info but has compiler compatible offset and size (and all the info is in the StreamerInfo per se).
std::atomic< TVirtualStreamerInfo * > fLastReadInfo = nullptr
 !cached streamer info used in the last read.
ROOT::MergeFunc_t fMerge = nullptr
std::atomic< TListOfFunctions * > fMethod = nullptr
ROOT::NewFunc_t fNew = nullptr
ROOT::NewArrFunc_t fNewArray = nullptr
RepoCont_t fObjectVersionRepository
Longptr_t fOffsetStreamer = 0
 !saved info to call Streamer
UInt_t fOnHeap = 0
TVirtualMutexfOVRMutex = nullptr
std::atomic< TClass ** > fPersistentRef = nullptr
 !Persistent address of pointer to this TClass object and its successors.
std::atomic< Long_tfProperty = 0
 !Property See TClass::Property() for details
TListfRealData = nullptr
TVirtualRefProxyfRefProxy = nullptr
 !Pointer to reference proxy if this class represents a reference
ROOT::ResetAfterMergeFunc_t fResetAfterMerge = nullptr
std::atomic< UChar_tfRuntimeProperties = 0
 ! Properties that can only be evaluated at run-time
ROOT::Detail::TSchemaRuleSetfSchemaRules = nullptr
 ! Schema evolution rules
TString fSharedLibs
ShowMembersFunc_t fShowMembers = nullptr
Int_t fSizeof = -1
EState fState = kNoInfo
 !Current 'state' of the class (Emulated,Interpreted,Loaded)
TClassStreamerfStreamer = nullptr
ClassStreamerFunc_t fStreamerFunc = nullptr
std::atomic< StreamerImpl_tfStreamerImpl = StreamerDefault
 ! Pointer to the function implementing streaming for this class
TObjArrayfStreamerInfo = nullptr
Int_t fStreamerType = kDefault
 !cached of the streaming method to use
const std::type_info * fTypeInfo = nullptr
UInt_t fUniqueID
 object unique identifier
ULong64_t fUpdatingTransactionCount {0}
 !the Cling ID of the transaction that last updated the object
std::atomic< TListOfDataMembers * > fUsingData = nullptr
std::atomic< Bool_tfVersionUsed = false
 !Indicates whether GetClassVersion has been called

Static Private Attributes

static std::atomic< Int_tfgClassCount
static THashTablefgClassTypedefHash = nullptr
static Longptr_t fgDtorOnly = 0
 object for which to call dtor only (i.e. no delete)
static Bool_t fgObjectStat = kTRUE
 if true keep track of objects in TObjectTable
static TDeclNameRegistry fNoInfoOrEmuOrFwdDeclNameRegistry

Friends

class TQObject

#include <TQClass.h>

Inheritance diagram for TQClass:
TQObject TClass TDictionary TNamed TObject

Member Typedef Documentation

◆ ConvSIMap_t

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

Definition at line 199 of file TClass.h.

◆ DeclId_t

typedef const void* TDictionary::DeclId_t
inherited

Definition at line 224 of file TDictionary.h.

◆ RepoCont_t

typedef std::multimap<void*, Version_t> TClass::RepoCont_t
privateinherited

Definition at line 353 of file TClass.h.

◆ SchemaHelperMap_t

using TClass::SchemaHelperMap_t = std::unordered_map<std::string, std::vector<ROOT::Internal::TSchemaHelper>>
protectedinherited

Definition at line 374 of file TClass.h.

◆ StreamerImpl_t

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

Definition at line 292 of file TClass.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
privateinherited
Enumerator
kLoading 
kUnloading 

Definition at line 342 of file TClass.h.

◆ anonymous enum

anonymous enum
protectedinherited
Enumerator
kOnlyPrepStep 

Used to request that the class specific implementation of TObject::Write just prepare the objects to be ready to be written but do not actually write them into the TBuffer.

This is just for example by TBufferMerger to request that the TTree inside the file calls TTree::FlushBaskets (outside of the merging lock) and TBufferMerger will later ask for the write (inside the merging lock). To take advantage of this feature the class needs to overload TObject::Write and use this enum value accordingly. (See TTree::Write and TObject::Write) Do not use, this feature will be migrate to the Merge function (See TClass and TTree::Merge)

Definition at line 106 of file TObject.h.

◆ anonymous enum

anonymous enum
inherited
Enumerator
kSingleKey 

write collection with single key

kOverwrite 

overwrite existing object with same name

kWriteDelete 

write object, then delete previous key with same name

Definition at line 99 of file TObject.h.

◆ anonymous enum

anonymous enum
inherited
Enumerator
kIsOnHeap 

object is on heap

kNotDeleted 

object has not been deleted

kZombie 

object ctor failed

kInconsistent 

class overload Hash but does call RecursiveRemove in destructor

kBitMask 

Definition at line 89 of file TObject.h.

◆ ECheckSum

enum TClass::ECheckSum
inherited
Enumerator
kCurrentCheckSum 
kNoEnum 
kReflexNoComment 
kNoRange 
kWithTypeDef 
kReflex 
kNoRangeCheck 
kNoBaseCheckSum 
kLatestCheckSum 

Definition at line 111 of file TClass.h.

◆ EDeprecatedStatusBits

Enumerator
kObjInCanvas 

for backward compatibility only, use kMustCleanup

Definition at line 84 of file TObject.h.

◆ EMemberSelection

enum class TDictionary::EMemberSelection
stronginherited

Kinds of members to include in lists.

Enumerator
kNoUsingDecls 
kOnlyUsingDecls 
kAlsoUsingDecls 

Definition at line 216 of file TDictionary.h.

◆ ENewType

enum TClass::ENewType
inherited
Enumerator
kRealNew 
kClassNew 
kDummyNew 

Definition at line 110 of file TClass.h.

◆ ERuntimeProperties

enum class TClass::ERuntimeProperties : UChar_t
strongprivateinherited
Enumerator
kNotInitialized 
kSet 
kConsistentHash 

Definition at line 273 of file TClass.h.

◆ EState

enum TClass::EState
inherited
Enumerator
kNoInfo 
kForwardDeclared 
kEmulated 
kInterpreted 
kHasTClassInit 
kLoaded 
kNamespaceForMeta 

Definition at line 124 of file TClass.h.

◆ EStatusBits

enum TClass::EStatusBits
inherited
Enumerator
kReservedLoading 
kHasLocalHashMember 
kIgnoreTObjectStreamer 
kUnloaded 
kIsTObject 
kIsForeign 
kStartWithTObject 
kWarned 
kHasNameMapNode 

Definition at line 95 of file TClass.h.

◆ ESTLType

enum TDictionary::ESTLType
inherited
Enumerator
kNone 
kVector 
kList 
kForwardlist 
kDeque 
kMap 
kMultimap 
kSet 
kMultiset 
kUnorderedSet 
kUnorderedMultiset 
kUnorderedMap 
kUnorderedMultimap 
kBitset 

Definition at line 198 of file TDictionary.h.

◆ EStreamerType

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

Definition at line 344 of file TClass.h.

Constructor & Destructor Documentation

◆ TQClass() [1/2]

TQClass::TQClass ( const TClass & )
privatedelete

◆ TQClass() [2/2]

TQClass::TQClass ( const char * name,
Version_t cversion,
const std::type_info & info,
TVirtualIsAProxy * isa,
const char * dfil = nullptr,
const char * ifil = nullptr,
Int_t dl = 0,
Int_t il = 0 )
inline

Definition at line 42 of file TQClass.h.

◆ ~TQClass()

virtual TQClass::~TQClass ( )
inlinevirtual

Definition at line 49 of file TQClass.h.

Member Function Documentation

◆ AbstractMethod()

void TObject::AbstractMethod ( const char * method) const
inherited

Call this function within a function that you don't want to define as purely virtual, in order not to force all users deriving from that class to implement that maybe (on their side) unused function; but at the same time, emit a run-time warning if they try to call it, telling that it is not implemented in the derived class: action must thus be taken on the user side to override it.

In other word, this method acts as a "runtime purely virtual" warning instead of a "compiler purely virtual" error.

Warning
This interface is a legacy function that is no longer recommended to be used by new development code.
Note
The name "AbstractMethod" does not imply that it's an abstract method in the strict C++ sense.

Definition at line 1149 of file TObject.cxx.

◆ AddClass()

void TClass::AddClass ( TClass * cl)
staticinherited

static: Add a class to the list and map of classes.

Definition at line 557 of file TClass.cxx.

◆ AddClassToDeclIdMap()

void TClass::AddClassToDeclIdMap ( TDictionary::DeclId_t id,
TClass * cl )
staticinherited

static: Add a TClass* to the map of classes.

Definition at line 578 of file TClass.cxx.

◆ AddImplFile()

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

Definition at line 1954 of file TClass.cxx.

◆ AddInstance()

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

Definition at line 394 of file TClass.h.

◆ AddRule()

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

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={...}]
virtual Int_t Read(const char *name)
Read contents of object with specified name from the current directory.
Definition TObject.cxx:673

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 among: 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.

Definition at line 1878 of file TClass.cxx.

◆ AddToTObjectTable()

void TObject::AddToTObjectTable ( TObject * op)
staticprivateinherited

Private helper function which will dispatch to TObjectTable::AddObj.

Included here to avoid circular dependency between header files.

Definition at line 195 of file TObject.cxx.

◆ AdoptMemberStreamer()

bool TClass::AdoptMemberStreamer ( const char * name,
TMemberStreamer * p )
inherited

Adopt the TMemberStreamer pointer to by p and use it to Stream non basic member name.

Returns false if the member streamer could not be adopted (which happens if this class had its StreamerInfo compiled already). This function transfers ownership of the strm pointer to the TClass, so it should not be used anymore on the caller side. In particular, if AdoptMemberStreamer returns false strm has been deleted and becomes invalid.

Definition at line 6817 of file TClass.cxx.

◆ AdoptReferenceProxy()

void TClass::AdoptReferenceProxy ( TVirtualRefProxy * proxy)
inherited

Adopt the Reference proxy pointer to indicate that this class represents a reference.

When a new proxy is adopted, the old one is deleted.

Definition at line 6796 of file TClass.cxx.

◆ AdoptSchemaRules()

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

Adopt a new set of Data Model Evolution rules.

Definition at line 1908 of file TClass.cxx.

◆ AdoptStreamer()

void TClass::AdoptStreamer ( TClassStreamer * str)
inherited

Adopt a TClassStreamer object.

Ownership is transferred to this TClass object.

Definition at line 7009 of file TClass.cxx.

◆ AppendPad()

void TObject::AppendPad ( Option_t * option = "")
virtualinherited

Append graphics object to current pad.

In case no current pad is set yet, create a default canvas with the name "c1".

Definition at line 204 of file TObject.cxx.

◆ AreAllSignalsBlocked()

Bool_t TQObject::AreAllSignalsBlocked ( )
staticinherited

Returns true if all signals are blocked.

Definition at line 1045 of file TQObject.cxx.

◆ AreSignalsBlocked()

Bool_t TQObject::AreSignalsBlocked ( ) const
inlineinherited

Definition at line 91 of file TQObject.h.

◆ AutoBrowse()

Int_t TClass::AutoBrowse ( TObject * obj,
TBrowser * b )
staticinherited

Browse external object inherited from TObject.

It passes through inheritance tree and calls TBrowser::Add in appropriate cases. Static function.

Definition at line 1968 of file TClass.cxx.

◆ BlockAllSignals()

Bool_t TQObject::BlockAllSignals ( Bool_t b)
staticinherited

Block or unblock all signals. Returns the previous block status.

Definition at line 1053 of file TQObject.cxx.

◆ BlockSignals()

Bool_t TQObject::BlockSignals ( Bool_t b)
inlineinherited

Definition at line 92 of file TQObject.h.

◆ Browse() [1/2]

void TClass::Browse ( TBrowser * b)
overridevirtualinherited

This method is called by a browser to get the class information.

Reimplemented from TObject.

Definition at line 2017 of file TClass.cxx.

◆ Browse() [2/2]

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

Browse objects of of the class described by this TClass object.

Definition at line 1980 of file TClass.cxx.

◆ BuildEmulatedRealData()

void TClass::BuildEmulatedRealData ( const char * name,
Longptr_t offset,
TClass * cl,
Bool_t isTransient = kFALSE )
inherited

Build the list of real data for an emulated class.

Definition at line 2119 of file TClass.cxx.

◆ BuildRealData()

void TClass::BuildRealData ( void * pointer = nullptr,
Bool_t isTransient = kFALSE )
inherited

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.

Definition at line 2038 of file TClass.cxx.

◆ CalculateStreamerOffset()

void TClass::CalculateStreamerOffset ( ) const
inherited

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().

Definition at line 2190 of file TClass.cxx.

◆ CallShowMembers()

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

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().

Definition at line 2212 of file TClass.cxx.

◆ CanIgnoreTObjectStreamer()

Bool_t TClass::CanIgnoreTObjectStreamer ( )
inlineinherited

Definition at line 406 of file TClass.h.

◆ CanSplit()

Bool_t TClass::CanSplit ( ) const
inherited

Return true if the data member of this TClass can be saved separately.

Definition at line 2326 of file TClass.cxx.

◆ CanSplitBaseAllow()

Bool_t TClass::CanSplitBaseAllow ( )
privateinherited

Definition at line 2254 of file TClass.cxx.

◆ ChangedBy()

virtual void TQObject::ChangedBy ( const char * method)
inlinevirtualinherited

Definition at line 199 of file TQObject.h.

◆ CheckConnectArgs()

Int_t TQObject::CheckConnectArgs ( TQObject * sender,
TClass * sender_class,
const char * signal,
TClass * receiver_class,
const char * slot )
staticprotectedinherited

Checking of consistency of sender/receiver methods/arguments.

Returns -1 on error, otherwise number or arguments of signal function. Static method.

Definition at line 175 of file TQObject.cxx.

◆ CheckedHash()

ULong_t TObject::CheckedHash ( )
inlineinherited

Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.

The intent is for this routine to be called instead of directly calling the function Hash during "insert" operations. See TObject::HasInconsistenTObjectHash();

(*) The setup is consistent when all classes in the class hierarchy that overload TObject::Hash do call ROOT::CallRecursiveRemoveIfNeeded in their destructor. i.e. it is safe to call the Hash virtual function during the RecursiveRemove operation.

Definition at line 332 of file TObject.h.

◆ Class()

TClass * TQClass::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

const char * TQClass::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

constexpr Version_t TQClass::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 51 of file TQClass.h.

◆ ClassName()

const char * TObject::ClassName ( ) const
virtualinherited

Returns name of class to which the object belongs.

Definition at line 227 of file TObject.cxx.

◆ ClassProperty()

Long_t TClass::ClassProperty ( ) const
inherited

Return the C++ property of this class, eg.

is abstract, has virtual base class, see EClassProperty in TDictionary.h

Definition at line 2403 of file TClass.cxx.

◆ Clear()

void TNamed::Clear ( Option_t * option = "")
overridevirtualinherited

Set name and title to empty strings ("").

Reimplemented from TObject.

Reimplemented in TPrincipal, TProcessID, TStreamerInfo, TTask, TVirtualFitter, and TVirtualStreamerInfo.

Definition at line 63 of file TNamed.cxx.

◆ Clone()

TObject * TClass::Clone ( const char * new_name = "") const
overridevirtualinherited

Create a Clone of this TClass object using a different name but using the same 'dictionary'.

This effectively creates a hard alias for the class name.

Reimplemented from TObject.

Definition at line 2413 of file TClass.cxx.

◆ CollectClassSignalLists()

void TQObject::CollectClassSignalLists ( TList & list,
TClass * cls )
inherited

Collect class signal lists from class cls and all its base-classes.

The recursive traversal is not performed for classes not deriving from TQClass.

Definition at line 447 of file TQObject.cxx.

◆ Compare()

Int_t TNamed::Compare ( const TObject * obj) const
overridevirtualinherited

Compare two TNamed objects.

Returns 0 when equal, -1 when this is smaller and +1 when bigger (like strcmp).

Reimplemented from TObject.

Reimplemented in TStructNodeProperty.

Definition at line 84 of file TNamed.cxx.

◆ CompressName()

TString TQObject::CompressName ( const char * method_name)
staticprotectedinherited

Removes "const" words and blanks from full (with prototype) method name and resolve any typedefs in the method signature.

If a null or empty string is passed in, an empty string is returned.

Example:

CompressName(" Draw(const char *, const char *,
Option_t * , Int_t , Int_t)");
static TString CompressName(const char *method_name)
Removes "const" words and blanks from full (with prototype) method name and resolve any typedefs in t...
Definition TQObject.cxx:94

returns the string "Draw(char*,char*,char*,int,int)".

Definition at line 94 of file TQObject.cxx.

◆ Connect() [1/3]

Bool_t TQObject::Connect ( const char * class_name,
const char * signal,
const char * cl,
void * receiver,
const char * slot )
staticinherited

This method allows to make a connection from any object of the same class to a single slot.

Signal and slot string must have a form: "Draw(char*, Option_t* ,Int_t)" All blanks and "const" words will be removed,

cl != 0 - class name, it can be class with or without dictionary, e.g interpreted class. Example:

TGButton *myButton;
TH2F *myHist;
TQObject::Connect("TGButton", "Clicked()",
"TH2F", myHist, "Draw(Option_t*)");
A button abstract base class.
Definition TGButton.h:68
2-D histogram with a float per channel (see TH1 documentation)
Definition TH2.h:345
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
Definition TQObject.cxx:865

cl == 0 - corresponds to function (interpereted or global) the name of the function is defined by the slot string, parameter receiver should be 0. Example:

TGButton *myButton;
TH2F *myHist;
TQObject::Connect("TGButton", "Clicked()",
0, 0, "hsimple()");

Warning:

If receiver class not derived from TQObject and going to be deleted, disconnect all connections to this receiver. In case of class derived from TQObject it is done automatically.

Definition at line 791 of file TQObject.cxx.

◆ Connect() [2/3]

Bool_t TQObject::Connect ( const char * signal,
const char * receiver_class,
void * receiver,
const char * slot )
inherited

Non-static method is used to connect from the signal of this object to the receiver slot.

Warning! No check on consistency of sender/receiver classes/methods.

This method makes possible to have connection/signals from interpreted class. See also RQ_OBJECT.h.

Definition at line 865 of file TQObject.cxx.

◆ Connect() [3/3]

Bool_t TQObject::Connect ( TQObject * sender,
const char * signal,
const char * cl,
void * receiver,
const char * slot )
staticinherited

Create connection between sender and receiver.

Signal and slot string must have a form: "Draw(char*, Option_t* ,Int_t)" All blanks and "const" words will be removed,

cl != 0 - class name, it can be class with or without dictionary, e.g interpreted class. Example:

TGButton *myButton;
TH2F *myHist;
TQObject::Connect(myButton,"Clicked()",
"TH2F", myHist,"Draw(Option_t*)");

cl == 0 - corresponds to function (interpereted or global) the name of the function is defined by the slot string, parameter receiver should be 0. Example:

TGButton *myButton;
TH2F *myHist;
TQObject::Connect(myButton,"Clicked()",
0, 0,"hsimple()");

Warning: If receiver is class not derived from TQObject and going to be deleted, disconnect all connections to this receiver. In case of class derived from TQObject it is done automatically.

Definition at line 699 of file TQObject.cxx.

◆ Connected()

virtual void TQObject::Connected ( const char * )
inlinevirtualinherited

Definition at line 194 of file TQObject.h.

◆ ConnectToClass() [1/2]

Bool_t TQObject::ConnectToClass ( const char * class_name,
const char * signal,
TClass * cl,
void * receiver,
const char * slot )
staticprotectedinherited

This method allows to make connection from any object of the same class to the receiver object.

Receiver class needs to have a dictionary.

Definition at line 615 of file TQObject.cxx.

◆ ConnectToClass() [2/2]

Bool_t TQObject::ConnectToClass ( TQObject * sender,
const char * signal,
TClass * cl,
void * receiver,
const char * slot )
staticprotectedinherited

Create connection between sender and receiver.

Receiver class needs to have a dictionary.

Definition at line 559 of file TQObject.cxx.

◆ ConvStreamerInstrumented()

void TClass::ConvStreamerInstrumented ( const TClass * pThis,
void * object,
TBuffer & b,
const TClass * onfile_class )
staticprivateinherited

Case of instrumented class with a library.

Definition at line 6960 of file TClass.cxx.

◆ Copy()

void TNamed::Copy ( TObject & named) const
overridevirtualinherited

Copy this to obj.

Reimplemented from TObject.

Reimplemented in TPieSlice, TProfile2D, TProfile3D, TProfile, TStyle, TSystemDirectory, TSystemFile, TText, and TXTRU.

Definition at line 93 of file TNamed.cxx.

◆ CopyCollectionProxy()

void TClass::CopyCollectionProxy ( const TVirtualCollectionProxy & orig)
inherited

Replaces the collection proxy for this class.

The provided object is cloned and the copy is then owned by TClass.

Definition at line 2477 of file TClass.cxx.

◆ CreateAttributeMap()

void TDictionary::CreateAttributeMap ( )
inherited

Definition at line 75 of file TDictionary.cxx.

◆ CreateListOfDataMembers()

TList * TClass::CreateListOfDataMembers ( std::atomic< TListOfDataMembers * > & data,
TDictionary::EMemberSelection selection,
bool load )
privateinherited

Create the list containing the TDataMembers (of actual data members or members pulled in through using declarations) of a class.

Definition at line 3799 of file TClass.cxx.

◆ DeclFileName()

const char * TQClass::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 51 of file TQClass.h.

◆ Delete()

void TObject::Delete ( Option_t * option = "")
virtualinherited

◆ DeleteArray() [1/2]

void TClass::DeleteArray ( TClass::ObjectPtr obj,
Bool_t dtorOnly = kFALSE )
inherited

Explicitly call operator delete[] for an array.

Definition at line 5709 of file TClass.cxx.

◆ DeleteArray() [2/2]

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

Explicitly call operator delete[] for an array.

Definition at line 5599 of file TClass.cxx.

◆ Destroyed()

virtual void TQObject::Destroyed ( )
inlinevirtualinherited

Reimplemented in TQConnection.

Definition at line 197 of file TQObject.h.

◆ Destructor() [1/2]

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

Explicitly call destructor for object.

Definition at line 5583 of file TClass.cxx.

◆ Destructor() [2/2]

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

Explicitly call destructor for object.

Definition at line 5470 of file TClass.cxx.

◆ DetermineCurrentStreamerInfo()

TVirtualStreamerInfo * TClass::DetermineCurrentStreamerInfo ( )
privateinherited

Determine and set pointer to current TVirtualStreamerInfo.

Definition at line 5754 of file TClass.cxx.

◆ Disconnect() [1/3]

Bool_t TQObject::Disconnect ( const char * class_name,
const char * signal,
void * receiver = nullptr,
const char * slot = nullptr )
staticinherited

Disconnects "class signal".

The class is defined by class_name. See also Connect(class_name,signal,receiver,slot).

Definition at line 1004 of file TQObject.cxx.

◆ Disconnect() [2/3]

Bool_t TQObject::Disconnect ( const char * signal = nullptr,
void * receiver = nullptr,
const char * slot = nullptr )
inherited

Disconnects signal of this object from slot of receiver.

Equivalent to Disconnect(this, signal, receiver, slot)

Definition at line 1023 of file TQObject.cxx.

◆ Disconnect() [3/3]

Bool_t TQObject::Disconnect ( TQObject * sender,
const char * signal = nullptr,
void * receiver = nullptr,
const char * slot = nullptr )
staticinherited

Disconnects signal in object sender from slot_method in object receiver.

For objects derived from TQObject signal-slot connection is removed when either of the objects involved are destroyed.

Disconnect() is typically used in three ways, as the following examples shows:

  • Disconnect everything connected to an object's signals:
    Disconnect(myObject);
    Bool_t Disconnect(const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr)
    Disconnects signal of this object from slot of receiver.
  • Disconnect everything connected to a signal:
    Disconnect(myObject, "mySignal()");
  • Disconnect a specific receiver:
    Disconnect(myObject, 0, myReceiver, 0);

0 may be used as a wildcard in three of the four arguments, meaning "any signal", "any receiving object" or "any slot in the receiving object", respectively.

The sender has no default and may never be 0 (you cannot disconnect signals from more than one object).

If signal is 0, it disconnects receiver and slot_method from any signal. If not, only the specified signal is disconnected.

If receiver is 0, it disconnects anything connected to signal. If not, slots in objects other than receiver are not disconnected

If slot_method is 0, it disconnects anything that is connected to receiver. If not, only slots named slot_method will be disconnected, and all other slots are left alone. The slot_method must be 0 if receiver is left out, so you cannot disconnect a specifically-named slot on all objects.

Definition at line 956 of file TQObject.cxx.

◆ Disconnected()

virtual void TQObject::Disconnected ( const char * )
inlinevirtualinherited

Definition at line 195 of file TQObject.h.

◆ DistancetoPrimitive()

◆ DoError()

void TObject::DoError ( int level,
const char * location,
const char * fmt,
va_list va ) const
protectedvirtualinherited

Interface to ErrorHandler (protected).

Reimplemented in TThread, and TTreeViewer.

Definition at line 1059 of file TObject.cxx.

◆ Draw()

void TClass::Draw ( Option_t * option = "")
overridevirtualinherited

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

Reimplemented from TObject.

Definition at line 2494 of file TClass.cxx.

◆ DrawClass()

void TObject::DrawClass ( ) const
virtualinherited

Draw class inheritance tree of the class to which this object belongs.

If a class B inherits from a class A, description of B is drawn on the right side of description of A. Member functions overridden by B are shown in class A with a blue line crossing-out the corresponding member function. The following picture is the class inheritance tree of class TPaveLabel:

Reimplemented in TGFrame, TSystemDirectory, and TSystemFile.

Definition at line 308 of file TObject.cxx.

◆ DrawClone()

TObject * TObject::DrawClone ( Option_t * option = "") const
virtualinherited

Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).

If pad was not selected - gPad will be used.

Note
For histograms, use the more specialised TH1::DrawCopy().

Reimplemented in TAxis, TCanvas, TGFrame, TSystemDirectory, and TSystemFile.

Definition at line 319 of file TObject.cxx.

◆ Dump() [1/2]

void TClass::Dump ( ) const
inlineoverridevirtualinherited

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
#define X(type, name)
Int_t Size() const
Return size of object of this class.
Definition TClass.cxx:5806
std::atomic< TListOfDataMembers * > fData
Definition TClass.h:205
UInt_t fUniqueID
object unique identifier
Definition TObject.h:46
UInt_t fBits
bit field status word
Definition TObject.h:47
TLine * line
TCanvas * style()
Definition style.C:1

Reimplemented from TObject.

Definition at line 411 of file TClass.h.

◆ Dump() [2/2]

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

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

If noAddr is true, printout of all pointer values is skipped.

Definition at line 2542 of file TClass.cxx.

◆ DynamicCast() [1/2]

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

Cast obj of this class type up to baseclass cl if up is true.

Cast obj of this class type down from baseclass cl if up is false. If this class is not a baseclass of cl return 0, else the pointer to the cl part of this (up) or to this (down).

Definition at line 4995 of file TClass.cxx.

◆ DynamicCast() [2/2]

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

Cast obj of this class type up to baseclass cl if up is true.

Cast obj of this class type down from baseclass cl if up is false. If this class is not a baseclass of cl return 0, else the pointer to the cl part of this (up) or to this (down).

Definition at line 4973 of file TClass.cxx.

◆ Emit() [1/2]

void TQObject::Emit ( const char * signal)
inlineinherited

Activate signal without args.

Example: theButton->Emit("Clicked()");

Definition at line 174 of file TQObject.h.

◆ Emit() [2/2]

template<typename T>
void TQObject::Emit ( const char * signal,
const T & arg )
inlineinherited

Activate signal with single parameter.

Example:

theButton->Emit("Progress(Long64_t)",processed)

If we call Emit with an array of the parameters, they should be converted to Longptr_t type. Example:

TQObject *processor; // data processor
TH1F *hist; // filled with processor results
processor->Connect("Evaluated(Float_t,Float_t)",
"TH1F",hist,"Fill12(Axis_t,Axis_t)");
Longptr_t args[2];
args[0] = (Longptr_t)processor->GetValue(1);
args[1] = (Longptr_t)processor->GetValue(2);
processor->Emit("Evaluated(Float_t,Float_t)",args);
long Longptr_t
Integer large enough to hold a pointer (platform-dependent).
Definition RtypesCore.h:89
1-D histogram with a float per channel (see TH1 documentation)
Definition TH1.h:878
friend class TQObject
Definition TQClass.h:39
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
Definition TQObject.h:164

Definition at line 164 of file TQObject.h.

◆ EmitVA()

template<typename... T>
void TQObject::EmitVA ( const char * signal_name,
Int_t ,
const T &... params )
inlineinherited

Emit a signal with a varying number of arguments.

Definition at line 100 of file TQObject.h.

◆ Error()

void TObject::Error ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue error message.

Use "location" to specify the method where the error occurred. Accepts standard printf formatting arguments.

Reimplemented in TFitResult.

Definition at line 1098 of file TObject.cxx.

◆ EscapeChars()

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

Introduce an escape character () in front of a special chars.

You need to use the result immediately before it is being overwritten.

Definition at line 2575 of file TClass.cxx.

◆ Execute() [1/2]

void TObject::Execute ( const char * method,
const char * params,
Int_t * error = nullptr )
virtualinherited

Execute method on this object with the given parameter string, e.g.

"3.14,1,\"text\"".

Reimplemented in ROOT::R::TRInterface, TCling, TContextMenu, TInterpreter, and TMethodCall.

Definition at line 378 of file TObject.cxx.

◆ Execute() [2/2]

void TObject::Execute ( TMethod * method,
TObjArray * params,
Int_t * error = nullptr )
virtualinherited

Execute method on this object with parameters stored in the TObjArray.

The TObjArray should contain an argv vector like:

argv[0] ... argv[n] = the list of TObjString parameters
Collectable string class.
Definition TObjString.h:28
const Int_t n
Definition legend1.C:16

Reimplemented in ROOT::R::TRInterface, TCling, TContextMenu, TInterpreter, and TMethodCall.

Definition at line 398 of file TObject.cxx.

◆ ExecuteEvent()

◆ Fatal()

void TObject::Fatal ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue fatal error message.

Use "location" to specify the method where the fatal error occurred. Accepts standard printf formatting arguments.

Definition at line 1126 of file TObject.cxx.

◆ FillBuffer()

void TNamed::FillBuffer ( char *& buffer)
virtualinherited

Encode TNamed into output buffer.

Reimplemented in TDirectoryFile, TFile, TKey, TKeySQL, TKeyXML, TSQLFile, and TXMLFile.

Definition at line 103 of file TNamed.cxx.

◆ FindClassOrBaseMethodWithId()

TMethod * TClass::FindClassOrBaseMethodWithId ( DeclId_t faddr)
privateinherited

Find a method with decl id in this class or its bases.

Definition at line 4498 of file TClass.cxx.

◆ FindConversionStreamerInfo() [1/2]

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

Return a Conversion StreamerInfo from the class 'classname' for the layout represented by 'checksum' to this class, if any.

Definition at line 7316 of file TClass.cxx.

◆ FindConversionStreamerInfo() [2/2]

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

Return a Conversion StreamerInfo from the class represented by cl for the layout represented by 'checksum' to this class, if any.

Definition at line 7327 of file TClass.cxx.

◆ FindObject() [1/2]

TObject * TObject::FindObject ( const char * name) const
virtualinherited

Must be redefined in derived classes.

This function is typically used with TCollections, but can also be used to find an object by name inside this object.

Reimplemented in RooAbsCollection, RooLinkedList, TBtree, TCollection, TDirectory, TFolder, TGeometry, TGraph2D, TGraph, TH1, THashList, THashTable, THbookFile, TList, TListOfDataMembers, TListOfEnums, TListOfEnumsWithLock, TListOfFunctions, TListOfFunctionTemplates, TListOfTypes, TMap, TObjArray, TPad, TROOT, TViewPubDataMembers, and TViewPubFunctions.

Definition at line 425 of file TObject.cxx.

◆ FindObject() [2/2]

TObject * TObject::FindObject ( const TObject * obj) const
virtualinherited

Must be redefined in derived classes.

This function is typically used with TCollections, but can also be used to find an object inside this object.

Reimplemented in RooAbsCollection, RooLinkedList, TBtree, TCollection, TDirectory, TFolder, TGeometry, TGraph2D, TGraph, TH1, THashList, THashTable, THbookFile, TList, TListOfDataMembers, TListOfEnums, TListOfEnumsWithLock, TListOfFunctions, TListOfFunctionTemplates, TListOfTypes, TMap, TObjArray, TPad, TROOT, TViewPubDataMembers, and TViewPubFunctions.

Definition at line 435 of file TObject.cxx.

◆ FindStreamerInfo() [1/2]

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

Find the TVirtualStreamerInfo in the StreamerInfos corresponding to checksum.

Definition at line 7189 of file TClass.cxx.

◆ FindStreamerInfo() [2/2]

TVirtualStreamerInfo * TClass::FindStreamerInfo ( UInt_t checksum,
Bool_t isTransient = kFALSE ) const
inherited

Find the TVirtualStreamerInfo in the StreamerInfos corresponding to checksum.

Definition at line 7159 of file TClass.cxx.

◆ FindStreamerInfoAbstractEmulated()

TVirtualStreamerInfo * TClass::FindStreamerInfoAbstractEmulated ( UInt_t checksum) const
inherited

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()!

Definition at line 4830 of file TClass.cxx.

◆ ForceReload()

void TClass::ForceReload ( TClass * oldcl)
inherited

we found at least one equivalent.

let's force a reload

Definition at line 1305 of file TClass.cxx.

◆ GetActualClass()

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

Return a pointer to 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
Mother of all ROOT objects.
Definition TObject.h:42

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.

Definition at line 2614 of file TClass.cxx.

◆ GetAttributeMap()

TDictAttributeMap * TDictionary::GetAttributeMap ( ) const
inlineinherited

Definition at line 186 of file TDictionary.h.

◆ GetBaseClass() [1/2]

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

Return pointer to the base class "classname".

Returns 0 in case "classname" is not a base class. Takes care of multiple inheritance.

Definition at line 2662 of file TClass.cxx.

◆ GetBaseClass() [2/2]

TClass * TClass::GetBaseClass ( const TClass * cl)
inherited

Return pointer to the base class "cl".

Returns 0 in case "cl" is not a base class. Takes care of multiple inheritance.

Definition at line 2681 of file TClass.cxx.

◆ GetBaseClassOffset()

Int_t TClass::GetBaseClassOffset ( const TClass * toBase,
void * address = nullptr,
bool isDerivedObject = true )
inherited
  • Return data member offset to the base class "cl".
  • Returns -1 in case "cl" is not a base class. Takes care of multiple inheritance.

Definition at line 2812 of file TClass.cxx.

◆ GetBaseClassOffsetRecurse()

Int_t TClass::GetBaseClassOffsetRecurse ( const TClass * cl)
privateinherited

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.

Definition at line 2712 of file TClass.cxx.

◆ GetBaseDataMember()

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

Return pointer to (base) class that contains datamember.

Definition at line 2848 of file TClass.cxx.

◆ GetBrowse()

ROOT::BrowseFunc_t TClass::GetBrowse ( ) const
inherited

Return the wrapper around Browse.

Definition at line 7588 of file TClass.cxx.

◆ GetCheckSum() [1/3]

UInt_t TClass::GetCheckSum ( Bool_t & isvalid) const
inherited

Return GetCheckSum(kCurrentCheckSum,isvalid);.

Definition at line 6625 of file TClass.cxx.

◆ GetCheckSum() [2/3]

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

Compute and/or return the class check sum.

isvalid is set to false, if the function is unable to calculate the checksum.

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.nosp@m.@bnl.nosp@m..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 TStreamerInfo::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.

Definition at line 6655 of file TClass.cxx.

◆ GetCheckSum() [3/3]

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

Call GetCheckSum with validity check.

Definition at line 6616 of file TClass.cxx.

◆ GetClass() [1/6]

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

Definition at line 674 of file TClass.h.

◆ GetClass() [2/6]

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

Static method returning pointer to TClass of the specified ClassInfo.

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.

Definition at line 3413 of file TClass.cxx.

◆ GetClass() [3/6]

TClass * TClass::GetClass ( const char * name,
Bool_t load,
Bool_t silent,
size_t hint_pair_offset,
size_t hint_pair_size )
staticinherited

Definition at line 2999 of file TClass.cxx.

◆ GetClass() [4/6]

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

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 classes that are used only for transient members) Returns nullptr in case class is not found.

To completely disallow auto-parsing during TClass::GetClass, you can either set the shell environment variable ROOT_DISABLE_TCLASS_GET_CLASS_AUTOPARSING (to anything) or set the rootrc key Root.TClass.GetClass.AutoParsing to false.

Definition at line 2994 of file TClass.cxx.

◆ GetClass() [5/6]

TClass * TClass::GetClass ( const std::type_info & typeinfo,
Bool_t load = kTRUE,
Bool_t silent = kFALSE,
size_t hint_pair_offset = 0,
size_t hint_pair_size = 0 )
staticinherited

Return pointer to class with name.

Definition at line 3316 of file TClass.cxx.

◆ GetClass() [6/6]

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

Definition at line 3466 of file TClass.cxx.

◆ GetClassAlignment()

size_t TClass::GetClassAlignment ( ) const
inherited

Return the alignment requirement (in bytes) for objects of this class.

Returns (size_t)-1 if the class info is invalid, 0 for a forward-declared class, an enum, a namespace or or a class with no definition. For all other cases the actual alignment obtained from the dictionary or the clang ASTRecordLayout, or the StreamerInfo (in that order of priority) is returned.

Returns 0 when the alignment cannot be determined.

Definition at line 5781 of file TClass.cxx.

◆ GetClassInfo()

ClassInfo_t * TClass::GetClassInfo ( ) const
inlineinherited

Definition at line 448 of file TClass.h.

◆ GetClassMethod() [1/2]

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

Look for a method in this class that has the name and matches the parameters.

The params string must contain argument values, like "3189, \"aap\", 1.3". Returns 0 in case method is not found. See TClass::GetMethod to also search the base classes.

Definition at line 4560 of file TClass.cxx.

◆ GetClassMethod() [2/2]

TMethod * TClass::GetClassMethod ( Longptr_t faddr)
privateinherited

Look for a method in this class that has the interface function address faddr.

Definition at line 4541 of file TClass.cxx.

◆ GetClassMethodWithPrototype()

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

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. See TClass::GetMethodWithPrototype to also search the base classes.

Definition at line 4585 of file TClass.cxx.

◆ GetClassSize()

Int_t TClass::GetClassSize ( ) const
inlineinherited

Definition at line 439 of file TClass.h.

◆ GetClassVersion()

Version_t TClass::GetClassVersion ( ) const
inlineinherited

Definition at line 434 of file TClass.h.

◆ GetCollectionProxy()

TVirtualCollectionProxy * TClass::GetCollectionProxy ( ) const
inherited

Return the proxy describing the collection (if any).

Definition at line 2918 of file TClass.cxx.

◆ GetCollectionType()

ROOT::ESTLType TClass::GetCollectionType ( ) const
inherited

Return the 'type' of the STL the TClass is representing.

and return ROOT::kNotSTL if it is not representing an STL collection.

Definition at line 2907 of file TClass.cxx.

◆ GetContextMenuTitle()

const char * TClass::GetContextMenuTitle ( ) const
inlineinherited

Definition at line 453 of file TClass.h.

◆ GetConversionStreamerInfo() [1/2]

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

Return a Conversion StreamerInfo from the class 'classname' for version number 'version' to this class, if any.

Definition at line 7209 of file TClass.cxx.

◆ GetConversionStreamerInfo() [2/2]

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

Return a Conversion StreamerInfo from the class represented by cl for version number 'version' to this class, if any.

Definition at line 7220 of file TClass.cxx.

◆ GetConvStreamerFunc()

ClassConvStreamerFunc_t TClass::GetConvStreamerFunc ( ) const
inherited

Get a wrapper/accessor function around this class custom conversion streamer (member function).

Definition at line 2968 of file TClass.cxx.

◆ GetCurrentStreamerInfo()

TVirtualStreamerInfo * TClass::GetCurrentStreamerInfo ( )
inlineinherited

Definition at line 454 of file TClass.h.

◆ GetDataMember()

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

Return pointer to datamember object with name "datamember".

Definition at line 3501 of file TClass.cxx.

◆ GetDataMemberOffset()

Longptr_t TClass::GetDataMemberOffset ( const char * name) const
inherited

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

Definition at line 3539 of file TClass.cxx.

◆ GetDeclFileLine()

Short_t TClass::GetDeclFileLine ( ) const
inlineinherited

Definition at line 444 of file TClass.h.

◆ GetDeclFileName()

const char * TClass::GetDeclFileName ( ) const
inherited

Return name of the file containing the declaration of this class.

Definition at line 3525 of file TClass.cxx.

◆ GetDeclIdMap()

DeclIdMap_t * TClass::GetDeclIdMap ( )
staticprivateinherited

Definition at line 482 of file TClass.cxx.

◆ GetDelete()

ROOT::DelFunc_t TClass::GetDelete ( ) const
inherited

Return the wrapper around delete ThisObject.

Definition at line 7628 of file TClass.cxx.

◆ GetDeleteArray()

ROOT::DelArrFunc_t TClass::GetDeleteArray ( ) const
inherited

Return the wrapper around delete [] ThisObject.

Definition at line 7636 of file TClass.cxx.

◆ GetDestructor()

ROOT::DesFunc_t TClass::GetDestructor ( ) const
inherited

Return the wrapper around the destructor.

Definition at line 7644 of file TClass.cxx.

◆ GetDict() [1/2]

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

Return a pointer to the dictionary loading function generated by rootcint.

Definition at line 3484 of file TClass.cxx.

◆ GetDict() [2/2]

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

Return a pointer to the dictionary loading function generated by rootcint.

Definition at line 3493 of file TClass.cxx.

◆ GetDictionary() [1/2]

TDictionary * TDictionary::GetDictionary ( const char * name)
staticinherited

Retrieve the type (class, fundamental type, typedef etc) named "name".

Returned object is either a TClass or TDataType. Returns nullptr if the type is unknown.

Definition at line 89 of file TDictionary.cxx.

◆ GetDictionary() [2/2]

TDictionary * TDictionary::GetDictionary ( const std::type_info & typeinfo)
staticinherited

Definition at line 109 of file TDictionary.cxx.

◆ GetDirectoryAutoAdd()

ROOT::DirAutoAdd_t TClass::GetDirectoryAutoAdd ( ) const
inherited

Return the wrapper around the directory auto add function.

Definition at line 7652 of file TClass.cxx.

◆ GetDrawOption()

Option_t * TObject::GetDrawOption ( ) const
virtualinherited

Get option used by the graphics system to draw this object.

Note that before calling object.GetDrawOption(), you must have called object.Draw(..) before in the current pad.

Reimplemented in TBrowser, TFitEditor, TGedFrame, TGFileBrowser, TRootBrowser, and TRootBrowserLite.

Definition at line 445 of file TObject.cxx.

◆ GetDtorOnly()

Longptr_t TObject::GetDtorOnly ( )
staticinherited

Return destructor only flag.

Definition at line 1196 of file TObject.cxx.

◆ GetFunctionTemplate()

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

Definition at line 3665 of file TClass.cxx.

◆ GetHeapInstanceCount()

UInt_t TClass::GetHeapInstanceCount ( ) const
inlineinherited

Definition at line 482 of file TClass.h.

◆ GetIconName()

const char * TObject::GetIconName ( ) const
virtualinherited

Returns mime type name of object.

Used by the TBrowser (via TGMimeTypes class). Override for class of which you would like to have different icons for objects of the same class.

Reimplemented in ROOT::Experimental::XRooFit::xRooNode, TASImage, TBranch, TBranchElement, TGeoVolume, TGMainFrame, TKey, TMethodBrowsable, TSystemFile, and TVirtualBranchBrowsable.

Definition at line 472 of file TObject.cxx.

◆ GetIdMap()

IdMap_t * TClass::GetIdMap ( )
staticprivateinherited

Definition at line 471 of file TClass.cxx.

◆ GetImplFileLine()

Short_t TClass::GetImplFileLine ( ) const
inlineinherited

Definition at line 472 of file TClass.h.

◆ GetImplFileName()

const char * TClass::GetImplFileName ( ) const
inlineinherited

Definition at line 471 of file TClass.h.

◆ GetInstanceCount()

UInt_t TClass::GetInstanceCount ( ) const
inlineinherited

Definition at line 481 of file TClass.h.

◆ GetIsAProxy()

TVirtualIsAProxy * TClass::GetIsAProxy ( ) const
inherited

Return the proxy implementing the IsA functionality.

Definition at line 2976 of file TClass.cxx.

◆ GetLastReadInfo()

TVirtualStreamerInfo * TClass::GetLastReadInfo ( ) const
inlineinherited

Definition at line 459 of file TClass.h.

◆ GetListOfAllPublicDataMembers()

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

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().

Definition at line 3920 of file TClass.cxx.

◆ GetListOfAllPublicMethods()

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

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.

Definition at line 3903 of file TClass.cxx.

◆ GetListOfBases()

TList * TClass::GetListOfBases ( )
inherited

Return list containing the TBaseClass(es) of a class.

Definition at line 3694 of file TClass.cxx.

◆ GetListOfClassSignals()

TList * TQObject::GetListOfClassSignals ( ) const
inherited

Returns pointer to list of signals of this class.

Definition at line 431 of file TQObject.cxx.

◆ GetListOfConnections()

TList * TQObject::GetListOfConnections ( ) const
inlineinherited

Definition at line 89 of file TQObject.h.

◆ GetListOfDataMembers()

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

Return list containing the TDataMembers of a class.

Definition at line 3828 of file TClass.cxx.

◆ GetListOfEnums()

TList * TClass::GetListOfEnums ( Bool_t requestListLoading = kTRUE)
inherited

Return a list containing the TEnums of a class.

The list returned is safe to use from multiple thread without explicitly taking the ROOT global lock.

In the case the TClass represents a namespace, the returned list will implicit take the ROOT global lock upon any access (see TListOfEnumsWithLock)

In the case the TClass represents a class or struct and requestListLoading is true, the list is immutable (and thus safe to access from multiple thread without taking the global lock at all).

In the case the TClass represents a class or struct and requestListLoading is false, the list is mutable and thus we return a TListOfEnumsWithLock which will implicit take the ROOT global lock upon any access.

Definition at line 3744 of file TClass.cxx.

◆ GetListOfFunctionTemplates()

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

Return TListOfFunctionTemplates for a class.

Definition at line 3856 of file TClass.cxx.

◆ GetListOfMethodOverloads()

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

Return the collection of functions named "name".

Definition at line 3885 of file TClass.cxx.

◆ GetListOfMethods()

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

Return list containing the TMethods of a class.

If load is true, the list is populated with all the defined function and currently instantiated function template.

Definition at line 3870 of file TClass.cxx.

◆ GetListOfRealData()

TList * TClass::GetListOfRealData ( ) const
inlineinherited

Definition at line 468 of file TClass.h.

◆ GetListOfSignals()

TList * TQObject::GetListOfSignals ( ) const
inlineinherited

Definition at line 88 of file TQObject.h.

◆ GetListOfUsingDataMembers()

TList * TClass::GetListOfUsingDataMembers ( Bool_t load = kTRUE)
inherited

Return list containing the TDataMembers of using declarations of a class.

Definition at line 3844 of file TClass.cxx.

◆ GetMenuItems()

void TClass::GetMenuItems ( TList * listitems)
inherited

Returns list of methods accessible by context menu.

Definition at line 3932 of file TClass.cxx.

◆ GetMenuList()

TList * TClass::GetMenuList ( ) const
inherited

Return the list of menu items associated with the class.

Definition at line 4399 of file TClass.cxx.

◆ GetMerge()

ROOT::MergeFunc_t TClass::GetMerge ( ) const
inherited

Return the wrapper around Merge.

Definition at line 7596 of file TClass.cxx.

◆ GetMethod()

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

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.

Definition at line 4469 of file TClass.cxx.

◆ GetMethodAllAny()

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

Return pointer to method without looking at parameters.

Does look in all base classes.

Definition at line 4442 of file TClass.cxx.

◆ GetMethodAny()

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

Return pointer to method without looking at parameters.

Does not look in (possible) base classes. Has the side effect of loading all the TMethod object in the list of the class.

Definition at line 4432 of file TClass.cxx.

◆ GetMethodList()

TListOfFunctions * TClass::GetMethodList ( )
privateinherited

Return (create an empty one if needed) the list of functions.

The major difference with GetListOfMethod is that this returns the internal type of fMethod and thus can not be made public. It also never 'loads' the content of the list.

Definition at line 4413 of file TClass.cxx.

◆ GetMethodWithPrototype()

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

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.

Definition at line 4514 of file TClass.cxx.

◆ GetMissingDictionaries()

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

Get the classes that have a missing dictionary starting from this one.

  • With recurse = false the classes checked for missing dictionaries are: the class itself, all base classes, direct data members, and for collection proxies the container's elements without iterating over the element's data members;
  • With recurse = true the classes checked for missing dictionaries are: the class itself, all base classes, recursing on the data members, and for the collection proxies recursion on the elements of the collection and iterating over the element's data members.

Definition at line 4145 of file TClass.cxx.

◆ GetMissingDictionariesForBaseClasses()

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

Verify the base classes always.

Definition at line 3985 of file TClass.cxx.

◆ GetMissingDictionariesForMembers()

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

Verify the Data Members.

Definition at line 4002 of file TClass.cxx.

◆ GetMissingDictionariesForPairElements()

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

Definition at line 4031 of file TClass.cxx.

◆ GetMissingDictionariesWithRecursionCheck()

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

From the second level of recursion onwards it is different state check.

Definition at line 4048 of file TClass.cxx.

◆ GetName()

const char * TNamed::GetName ( ) const
inlineoverridevirtualinherited

Returns name of object.

This default method returns the class name. Classes that give objects a name should override this method.

Reimplemented from TObject.

Definition at line 49 of file TNamed.h.

◆ GetNdata()

Int_t TClass::GetNdata ( )
inherited

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().

Definition at line 4612 of file TClass.cxx.

◆ GetNew()

ROOT::NewFunc_t TClass::GetNew ( ) const
inherited

Return the wrapper around new ThisClass().

Definition at line 7612 of file TClass.cxx.

◆ GetNewArray()

ROOT::NewArrFunc_t TClass::GetNewArray ( ) const
inherited

Return the wrapper around new ThisClass[].

Definition at line 7620 of file TClass.cxx.

◆ GetNmethods()

Int_t TClass::GetNmethods ( )
inherited

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().

This will also load/populate the list of methods, to get 'just' the number of currently loaded methods use: cl->GetListOfMethods(false)->GetSize();

Definition at line 4631 of file TClass.cxx.

◆ GetObjectInfo()

char * TObject::GetObjectInfo ( Int_t px,
Int_t py ) const
virtualinherited

Returns string containing info about the object at position (px,py).

This method is typically overridden by classes of which the objects can report peculiarities for different positions. Returned string will be re-used (lock in MT environment).

Reimplemented in TASImage, TAxis3D, TColorWheel, TF1, TF2, TFileDrawMap, TGeoNode, TGeoTrack, TGeoVolume, TGL5DDataSet, TGLHistPainter, TGLParametricEquation, TGLTH3Composition, TGraph, TH1, THistPainter, TNode, TPaletteAxis, TParallelCoordVar, and TVirtualHistPainter.

Definition at line 491 of file TObject.cxx.

◆ GetObjectStat()

Bool_t TObject::GetObjectStat ( )
staticinherited

Get status of object stat flag.

Definition at line 1181 of file TObject.cxx.

◆ GetOption()

virtual Option_t * TObject::GetOption ( ) const
inlinevirtualinherited

◆ GetPersistentRef()

TClass *const * TClass::GetPersistentRef ( ) const
inlineinherited

Definition at line 497 of file TClass.h.

◆ GetReadRulesRegistry()

TClass::SchemaHelperMap_t & TClass::GetReadRulesRegistry ( ROOT::TSchemaRule::RuleType_t type)
staticprotectedinherited

Return the registry for the unassigned read rules.

Definition at line 1920 of file TClass.cxx.

◆ GetRealData()

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

Return pointer to TRealData element with name "name".

Name can be a data member in the class itself, one of its base classes, or a member in one of the aggregated classes.

In case of an emulated class, the list of emulated TRealData is built.

Definition at line 3565 of file TClass.cxx.

◆ GetReferenceProxy()

TVirtualRefProxy * TClass::GetReferenceProxy ( ) const
inlineinherited

Definition at line 499 of file TClass.h.

◆ GetResetAfterMerge()

ROOT::ResetAfterMergeFunc_t TClass::GetResetAfterMerge ( ) const
inherited

Return the wrapper around Merge.

Definition at line 7604 of file TClass.cxx.

◆ GetSchemaRules() [1/2]

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

Return the set of the schema rules if any.

Definition at line 1934 of file TClass.cxx.

◆ GetSchemaRules() [2/2]

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

Return the set of the schema rules if any.

If create is true, create an empty set

Definition at line 1943 of file TClass.cxx.

◆ GetSender()

virtual void * TQObject::GetSender ( )
inlineprotectedvirtualinherited

Reimplemented in TGEventHandler, TGFrame, TMessageHandler, TMonitor, TQObjSender, TSysEvtHandler, and TVirtualPad.

Definition at line 57 of file TQObject.h.

◆ GetSenderClassName()

virtual const char * TQObject::GetSenderClassName ( ) const
inlineprotectedvirtualinherited

Reimplemented in TQObjSender.

Definition at line 58 of file TQObject.h.

◆ GetSharedLibs()

const char * TClass::GetSharedLibs ( )
inherited

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.

Definition at line 3681 of file TClass.cxx.

◆ GetShowMembersWrapper()

ShowMembersFunc_t TClass::GetShowMembersWrapper ( ) const
inlineinherited

Definition at line 503 of file TClass.h.

◆ GetState()

EState TClass::GetState ( ) const
inlineinherited

Definition at line 504 of file TClass.h.

◆ GetStreamer()

TClassStreamer * TClass::GetStreamer ( ) const
inherited

Return the Streamer Class allowing streaming (if any).

Definition at line 2935 of file TClass.cxx.

◆ GetStreamerFunc()

ClassStreamerFunc_t TClass::GetStreamerFunc ( ) const
inherited

Get a wrapper/accessor function around this class custom streamer (member function).

Definition at line 2960 of file TClass.cxx.

◆ GetStreamerInfo()

TVirtualStreamerInfo * TClass::GetStreamerInfo ( Int_t version = 0,
Bool_t isTransient = kFALSE ) const
inherited

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()!

Definition at line 4657 of file TClass.cxx.

◆ GetStreamerInfoAbstractEmulated()

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

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()!

Definition at line 4767 of file TClass.cxx.

◆ GetStreamerInfoImpl()

TVirtualStreamerInfo * TClass::GetStreamerInfoImpl ( Int_t version,
Bool_t silent ) const
privateinherited

Definition at line 4692 of file TClass.cxx.

◆ GetStreamerInfos()

const TObjArray * TClass::GetStreamerInfos ( ) const
inlineinherited

Definition at line 508 of file TClass.h.

◆ GetTitle()

const char * TNamed::GetTitle ( ) const
inlineoverridevirtualinherited

Returns title of object.

This default method returns the class title (i.e. description). Classes that give objects a title should override this method.

Reimplemented from TObject.

Definition at line 50 of file TNamed.h.

◆ GetTypeInfo()

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

Definition at line 512 of file TClass.h.

◆ GetUniqueID()

UInt_t TObject::GetUniqueID ( ) const
virtualinherited

Return the unique object id.

Definition at line 480 of file TObject.cxx.

◆ HandleTimer()

Bool_t TObject::HandleTimer ( TTimer * timer)
virtualinherited

Execute action in response of a timer timing out.

This method must be overridden if an object has to react to timers.

Reimplemented in TGCommandPlugin, TGDNDManager, TGFileContainer, TGHtml, TGLEventHandler, TGPopupMenu, TGraphTime, TGScrollBar, TGShutter, TGTextEdit, TGTextEditor, TGTextEntry, TGTextView, TGToolTip, TGuiBldDragManager, TGWindow, and TTreeViewer.

Definition at line 516 of file TObject.cxx.

◆ HasConnection()

Bool_t TQObject::HasConnection ( const char * signal_name) const
virtualinherited

Return true if there is any object connected to this signal.

Only checks for object signals.

Definition at line 523 of file TQObject.cxx.

◆ HasConsistentHashMember()

Bool_t TClass::HasConsistentHashMember ( )
inlineinherited

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 517 of file TClass.h.

◆ HasCustomStreamerMember()

Bool_t TClass::HasCustomStreamerMember ( ) const
inlineinherited

The class has a Streamer method and it is implemented by the user or an older (not StreamerInfo based) automatic streamer.

Definition at line 524 of file TClass.h.

◆ HasDataMemberInfo()

Bool_t TClass::HasDataMemberInfo ( ) const
inlineinherited

Definition at line 420 of file TClass.h.

◆ HasDefaultConstructor()

Bool_t TClass::HasDefaultConstructor ( Bool_t testio = kFALSE) const
inherited

Return true if we have access to a constructor usable for I/O.

This is typically the default constructor but can also be a constructor specifically marked for I/O (for example a constructor taking a TRootIOCtor* as an argument). In other words, if this routine returns true, TClass::New is guarantee to succeed. To know if the class described by this TClass has a default constructor (public or not), use

cl->GetProperty() & kClassHasDefaultCtor
@ kClassHasDefaultCtor

To know if the class described by this TClass has a public default constructor use:

gInterpreter->ClassInfo_HasDefaultConstructor(aClass->GetClassInfo());
#define gInterpreter

Definition at line 7550 of file TClass.cxx.

◆ HasDictionary()

Bool_t TClass::HasDictionary ( ) const
inherited

Check whether a class has a dictionary or not.

This is equivalent to ask if a class is coming from a bootstrapping procedure initiated during the loading of a library.

Definition at line 3964 of file TClass.cxx.

◆ HasDictionarySelection()

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

Check whether a class has a dictionary or ROOT can load one.

This is equivalent to ask HasDictionary() or whether a library is known where it can be loaded from, or whether a Dictionary function is available because the class's dictionary library was already loaded.

Definition at line 3975 of file TClass.cxx.

◆ HasDirectStreamerInfoUse()

Bool_t TClass::HasDirectStreamerInfoUse ( ) const
inlineinherited

Definition at line 422 of file TClass.h.

◆ Hash()

ULong_t TNamed::Hash ( ) const
inlineoverridevirtualinherited

Return hash value for this object.

Note: If this routine is overloaded in a derived class, this derived class should also add

void CallRecursiveRemoveIfNeeded(TObject &obj)
call RecursiveRemove for obj if gROOT is valid and obj.TestBit(kMustCleanup) is true.
Definition TROOT.h:406

Otherwise, when RecursiveRemove is called (by ~TObject or example) for this type of object, the transversal of THashList and THashTable containers will will have to be done without call Hash (and hence be linear rather than logarithmic complexity). You will also see warnings like

Error in <ROOT::Internal::TCheckHashRecursiveRemoveConsistency::CheckRecursiveRemove>: The class SomeName overrides
TObject::Hash but does not call TROOT::RecursiveRemove in its destructor.
ULong_t Hash() const override
Return hash value for this object.
Definition TNamed.h:51
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Definition TObject.cxx:1098
void RecursiveRemove(TObject *obj) override
Recursively remove this object from the list of Cleanups.
Definition TROOT.cxx:2651

Reimplemented from TObject.

Definition at line 51 of file TNamed.h.

◆ HasInconsistentHash()

Bool_t TObject::HasInconsistentHash ( ) const
inlineinherited

Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.

missing call to RecursiveRemove in destructor).

Note: Since the consistency is only tested for during inserts, this routine will return true for object that have never been inserted whether or not they have a consistent setup. This has no negative side-effect as searching for the object with the right or wrong Hash will always yield a not-found answer (Since anyway no hash can be guaranteed unique, there is always a check)

Definition at line 366 of file TObject.h.

◆ HasInterpreterInfo()

Bool_t TClass::HasInterpreterInfo ( ) const
inlineinherited

Definition at line 424 of file TClass.h.

◆ HasInterpreterInfoInMemory()

Bool_t TClass::HasInterpreterInfoInMemory ( ) const
inlineinherited

Definition at line 423 of file TClass.h.

◆ HasLocalHashMember()

Bool_t TClass::HasLocalHashMember ( ) const
inherited

Returns true if this class has an definition and/or overload of the member function Hash.

For example to test if the class overload TObject::Hash use

if (cl->IsTObject() && cl->HasLocalHashMember())

Definition at line 7578 of file TClass.cxx.

◆ HasNoInfoOrEmuOrFwdDeclaredDecl()

Bool_t TClass::HasNoInfoOrEmuOrFwdDeclaredDecl ( const char * name)
staticprivateinherited

Definition at line 3460 of file TClass.cxx.

◆ HighPriority()

void TQObject::HighPriority ( const char * signal_name,
const char * slot_name = nullptr )
virtualinherited
  1. If slot_name = 0 => makes signal defined by the signal_name to be the first in the fListOfSignals, this decreases the time for lookup.
  2. If slot_name != 0 => makes slot defined by the slot_name to be executed first when signal_name is emitted. Signal name is not compressed.

Definition at line 473 of file TQObject.cxx.

◆ IgnoreTObjectStreamer()

void TClass::IgnoreTObjectStreamer ( Bool_t doIgnore = kTRUE)
inherited

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:

void IgnoreTObjectStreamer(Bool_t ignore=kTRUE)
When the class kIgnoreTObjectStreamer bit is set, the automatically generated Streamer will not call ...
Definition TClass.cxx:4899
static TClass * Class()

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

Definition at line 4899 of file TClass.cxx.

◆ Info()

void TObject::Info ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue info message.

Use "location" to specify the method where the warning occurred. Accepts standard printf formatting arguments.

Definition at line 1072 of file TObject.cxx.

◆ InheritsFrom() [1/2]

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

Return kTRUE if this class inherits from a class with name "classname".

note that the function returns kTRUE in case classname is the class itself

Reimplemented from TObject.

Definition at line 4932 of file TClass.cxx.

◆ InheritsFrom() [2/2]

Bool_t TClass::InheritsFrom ( const TClass * cl) const
overridevirtualinherited

Return kTRUE if this class inherits from class cl.

note that the function returns KTRUE in case cl is the class itself

Reimplemented from TObject.

Definition at line 4943 of file TClass.cxx.

◆ Init()

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

Initialize a TClass object.

This object contains the full dictionary of a class. It has list to baseclasses, datamembers and methods. The caller of this function should be holding the ROOT Write lock.

Definition at line 1339 of file TClass.cxx.

◆ Inspect()

void TObject::Inspect ( ) const
virtualinherited

Dump contents of this object in a graphics canvas.

Same action as Dump but in a graphical form. In addition pointers to other objects can be followed.

The following picture is the Inspect of a histogram object:

Reimplemented in ROOT::Experimental::XRooFit::xRooNode, TGFrame, TInspectorObject, and TSystemFile.

Definition at line 570 of file TObject.cxx.

◆ InterpretedShowMembers()

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

Do a ShowMembers() traversal of all members and base classes' members using the reflection information from the interpreter.

Works also for interpreted objects.

Definition at line 2249 of file TClass.cxx.

◆ InvertBit()

void TObject::InvertBit ( UInt_t f)
inlineinherited

Definition at line 206 of file TObject.h.

◆ IsA()

TClass * TQClass::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from TQObject.

Definition at line 51 of file TQClass.h.

◆ IsCallingNew()

TClass::ENewType TClass::IsCallingNew ( )
staticinherited

Static method returning the defConstructor flag passed to TClass::New().

New type is either:

  • TClass::kRealNew - when called via plain new
  • TClass::kClassNew - when called via TClass::New()
  • TClass::kDummyNew - when called via TClass::New() but object is a dummy, in which case the object ctor might take short cuts

Definition at line 6007 of file TClass.cxx.

◆ IsClassStructOrUnion()

bool TClass::IsClassStructOrUnion ( ) const
inlineprivateinherited

Definition at line 364 of file TClass.h.

◆ IsDestructed()

Bool_t TObject::IsDestructed ( ) const
inlineinherited

IsDestructed.

Note
This function must be non-virtual as it can be used on destructed (but not yet modified) memory. This is used for example in TClonesArray to record the element that have been destructed but not deleted and thus are ready for re-use (by operator new with placement).
Returns
true if this object's destructor has been run.

Definition at line 186 of file TObject.h.

◆ IsEqual()

Bool_t TObject::IsEqual ( const TObject * obj) const
virtualinherited

Default equal comparison (objects are equal if they have the same address in memory).

More complicated classes might want to override this function.

Reimplemented in TGObject, TObjString, TPair, and TQCommand.

Definition at line 589 of file TObject.cxx.

◆ IsFolder() [1/2]

Bool_t TClass::IsFolder ( ) const
inlineoverridevirtualinherited

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

Reimplemented from TObject.

Definition at line 533 of file TClass.h.

◆ IsFolder() [2/2]

Bool_t TClass::IsFolder ( void * obj) const
inherited

Return kTRUE if the class has elements.

Definition at line 4193 of file TClass.cxx.

◆ IsForeign()

Bool_t TClass::IsForeign ( ) const
inherited

Return kTRUE is the class is Foreign (the class does not have a Streamer method).

Definition at line 6052 of file TClass.cxx.

◆ IsLoaded()

Bool_t TClass::IsLoaded ( ) const
inherited

Return true if the shared library of this class is currently in the a process's memory.

Return false, after the shared library has been unloaded or if this is an 'emulated' class created from a file's StreamerInfo.

Definition at line 6017 of file TClass.cxx.

◆ IsOnHeap()

Bool_t TObject::IsOnHeap ( ) const
inlineinherited

Definition at line 160 of file TObject.h.

◆ IsSortable()

Bool_t TNamed::IsSortable ( ) const
inlineoverridevirtualinherited

Reimplemented from TObject.

Reimplemented in TStructNodeProperty.

Definition at line 52 of file TNamed.h.

◆ IsStartingWithTObject()

Bool_t TClass::IsStartingWithTObject ( ) const
inherited

Returns true if this class inherits from TObject and if the start of the TObject parts is at the very beginning of the objects.

Concretely 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.

Definition at line 6034 of file TClass.cxx.

◆ IsSyntheticPair()

Bool_t TClass::IsSyntheticPair ( ) const
inlineinherited

Definition at line 537 of file TClass.h.

◆ IsTObject()

Bool_t TClass::IsTObject ( ) const
inherited

Return kTRUE is the class inherits from TObject.

Definition at line 6043 of file TClass.cxx.

◆ IsVersioned()

Bool_t TClass::IsVersioned ( ) const
inlineinherited

Definition at line 538 of file TClass.h.

◆ IsZombie()

Bool_t TObject::IsZombie ( ) const
inlineinherited

Definition at line 161 of file TObject.h.

◆ Load()

TClass * TClass::Load ( TBuffer & b)
staticinherited

Load class description from I/O buffer and return class object.

Definition at line 5817 of file TClass.cxx.

◆ LoadClass()

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

Helper function used by TClass::GetClass().

This function attempts to load the dictionary for 'classname' either from the TClassTable or from the list of generator. If silent is 'true', do not warn about missing dictionary for the class. (typically used for class that are used only for transient members)

The 'requestedname' is expected to be already normalized.

Definition at line 5851 of file TClass.cxx.

◆ LoadClassCustom()

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

Helper function used by TClass::GetClass().

This function attempts to load the dictionary for 'classname' from the list of generator. If silent is 'true', do not warn about missing dictionary for the class. (typically used for class that are used only for transient members)

The 'requestedname' is expected to be already normalized.

Definition at line 5903 of file TClass.cxx.

◆ LoadClassDefault()

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

Helper function used by TClass::GetClass().

This function attempts to load the dictionary for 'classname' from the TClassTable or the autoloader. If silent is 'true', do not warn about missing dictionary for the class. (typically used for class that are used only for transient members)

The 'requestedname' is expected to be already normalized.

Definition at line 5873 of file TClass.cxx.

◆ LoadClassInfo()

void TClass::LoadClassInfo ( ) const
privateinherited

Try to load the ClassInfo if available.

This function may require parsing the header file and/or loading data from the clang pcm. If further calls to this function cannot affect the value of fClassInfo, fCanLoadClassInfo is set to false.

Definition at line 5926 of file TClass.cxx.

◆ LowPriority()

void TQObject::LowPriority ( const char * signal_name,
const char * slot_name = nullptr )
virtualinherited
  1. If slot_name = 0 => makes signal defined by the signal_name to be the last in the fListOfSignals, this increase the time for lookup.
  2. If slot_name != 0 => makes slot defined by the slot_name to be executed last when signal_name is emitted. Signal name is not compressed.

Definition at line 500 of file TQObject.cxx.

◆ ls()

void TClass::ls ( Option_t * options = "") const
overridevirtualinherited

The ls function lists the contents of a class on stdout.

Ls output is typically much less verbose then Dump(). If options contains 'streamerinfo', run ls on the list of streamerInfos and the list of conversion streamerInfos.

Reimplemented from TObject.

Definition at line 4316 of file TClass.cxx.

◆ MakeCustomMenuList()

void TClass::MakeCustomMenuList ( )
inherited

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.

Definition at line 4341 of file TClass.cxx.

◆ MakeZombie()

void TObject::MakeZombie ( )
inlineprotectedinherited

Definition at line 55 of file TObject.h.

◆ MatchLegacyCheckSum()

Bool_t TClass::MatchLegacyCheckSum ( UInt_t checksum) const
inherited

Return true if the checksum passed as argument is one of the checksum value produced by the older checksum calculation algorithm.

Definition at line 6605 of file TClass.cxx.

◆ MayNotUse()

void TObject::MayNotUse ( const char * method) const
inherited

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

Definition at line 1160 of file TObject.cxx.

◆ Message()

virtual void TQObject::Message ( const char * msg)
inlinevirtualinherited

Reimplemented in TTreeViewer.

Definition at line 201 of file TQObject.h.

◆ Move()

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

Register the fact that an object was moved from the memory location 'arenaFrom' to the memory location 'arenaTo'.

Definition at line 4385 of file TClass.cxx.

◆ MoveAddressInRepository()

void TClass::MoveAddressInRepository ( const char * where,
void * oldadd,
void * newadd,
const TClass * what ) const
privateinherited

Definition at line 339 of file TClass.cxx.

◆ New() [1/2]

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

Return a pointer to a newly allocated object of this class.

If quiet is true, do not issue a message via Error in case of problems, just return nullptr.

This method is also used by the I/O subsystem to allocate the right amount of memory for the objects. If a default constructor is not defined for a certain class, some options are available. The simplest is to define the default I/O constructor, for example

class myClass {
public:
myClass() = delete;
myClass(TRootIOCtor *) {/* do something *&zwj;/}
// more code...
};

Moreover, the constructor called by TClass::New can be customized by using a rootcling pragma as follows:

#pragma link C++ ioctortype UserClass;

TClass::New will then look for a constructor (for a class MyClass in the following example) in the following order, constructing the object using the first one in the list that exists and is declared public:

MyClass(UserClass*);
MyClass(TRootIOCtor*);
MyClass(); // Or a constructor with all its arguments defaulted.

When more than one pragma ioctortype is specified, the priority order is defined as the definition order; the earliest definitions have higher priority. For example with:

#pragma link C++ ioctortype UserClass1;
#pragma link C++ ioctortype UserClass2;

ROOT looks for constructors with the following order:

MyClass(UserClass1*);
MyClass(UserClass2*);
MyClass(TRootIOCtor*);
MyClass(); // Or a constructor with all its arguments defaulted.

Definition at line 5048 of file TClass.cxx.

◆ New() [2/2]

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

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().

Definition at line 5161 of file TClass.cxx.

◆ NewArray() [1/2]

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

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().

Definition at line 5263 of file TClass.cxx.

◆ NewArray() [2/2]

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

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().

Definition at line 5365 of file TClass.cxx.

◆ NewObject() [1/2]

TClass::ObjectPtr TClass::NewObject ( ENewType defConstructor = kClassNew,
Bool_t quiet = kFALSE ) const
inherited

Definition at line 5062 of file TClass.cxx.

◆ NewObject() [2/2]

TClass::ObjectPtr TClass::NewObject ( void * arena,
ENewType defConstructor = kClassNew ) const
inherited

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().

Definition at line 5176 of file TClass.cxx.

◆ NewObjectArray() [1/2]

TClass::ObjectPtr TClass::NewObjectArray ( Long_t nElements,
ENewType defConstructor = kClassNew ) const
inherited

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().

Definition at line 5279 of file TClass.cxx.

◆ NewObjectArray() [2/2]

TClass::ObjectPtr TClass::NewObjectArray ( Long_t nElements,
void * arena,
ENewType defConstructor = kClassNew ) const
inherited

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().

Definition at line 5380 of file TClass.cxx.

◆ Notify()

Bool_t TObject::Notify ( )
virtualinherited

This method must be overridden to handle object notification (the base implementation is no-op).

Different objects in ROOT use the Notify method for different purposes, in coordination with other objects that call this method at the appropriate time.

For example, TLeaf uses it to load class information; TBranchRef to load contents of referenced branches TBranchRef; most notably, based on Notify, TChain implements a callback mechanism to inform interested parties when it switches to a new sub-tree.

Reimplemented in h1analysis, h1analysisTreeReader, TARInterruptHandler, TASInputHandler, TASInterruptHandler, TASLogHandler, TASSigPipeHandler, TBlinkTimer, TBranchElement, TBranchRef, TBreakLineCom, TBrowserTimer, TCollection, TDelCharCom, TDelTextCom, TFileHandler, TGContainerKeyboardTimer, TGContainerScrollTimer, TGInputHandler, TGLRedrawTimer, TGTextEditHist, TGuiBldDragManagerRepeatTimer, TIdleTimer, TInsCharCom, TInsTextCom, TInterruptHandler, TLeafObject, TMessageHandler, TNotifyLink< Type >, TNotifyLink< RNoCleanupNotifierHelper >, TNotifyLink< ROOT::Detail::TBranchProxy >, TNotifyLink< TTreeReader >, TPopupDelayTimer, TProcessEventTimer, TRefTable, TRepeatTimer, TSBRepeatTimer, TSelector, TSelectorDraw, TSelectorEntries, TSignalHandler, TSingleShotCleaner, TSocketHandler, TStdExceptionHandler, TSysEvtHandler, TTermInputHandler, TThreadTimer, TTimeOutTimer, TTimer, TTipDelayTimer, TTree, TTreeFormula, TTreeFormulaManager, TTreeReader, TViewTimer, and TViewUpdateTimer.

Definition at line 618 of file TObject.cxx.

◆ NumberOfConnections()

Int_t TQObject::NumberOfConnections ( ) const
virtualinherited

Return number of connections for this object.

Definition at line 547 of file TQObject.cxx.

◆ NumberOfSignals()

Int_t TQObject::NumberOfSignals ( ) const
virtualinherited

Return number of signals for this object.

Only checks for object signals.

Definition at line 537 of file TQObject.cxx.

◆ Obsolete()

void TObject::Obsolete ( const char * method,
const char * asOfVers,
const char * removedFromVers ) const
inherited

Use this method to declare a method obsolete.

Specify as of which version the method is obsolete and as from which version it will be removed.

Definition at line 1169 of file TObject.cxx.

◆ operator delete() [1/3]

void TObject::operator delete ( void * ptr,
size_t size )
inherited

Operator delete for sized deallocation.

Definition at line 1234 of file TObject.cxx.

◆ operator delete() [2/3]

void TObject::operator delete ( void * ptr)
inherited

Operator delete.

Definition at line 1212 of file TObject.cxx.

◆ operator delete() [3/3]

void TObject::operator delete ( void * ptr,
void * vp )
inherited

Only called by placement new when throwing an exception.

Definition at line 1266 of file TObject.cxx.

◆ operator delete[]() [1/3]

void TObject::operator delete[] ( void * ptr,
size_t size )
inherited

Operator delete [] for sized deallocation.

Definition at line 1245 of file TObject.cxx.

◆ operator delete[]() [2/3]

void TObject::operator delete[] ( void * ptr)
inherited

Operator delete [].

Definition at line 1223 of file TObject.cxx.

◆ operator delete[]() [3/3]

void TObject::operator delete[] ( void * ptr,
void * vp )
inherited

Only called by placement new[] when throwing an exception.

Definition at line 1274 of file TObject.cxx.

◆ operator new() [1/2]

void * TObject::operator new ( size_t sz)
inlineinherited

Definition at line 189 of file TObject.h.

◆ operator new() [2/2]

void * TObject::operator new ( size_t sz,
void * vp )
inlineinherited

Definition at line 191 of file TObject.h.

◆ operator new[]() [1/2]

void * TObject::operator new[] ( size_t sz)
inlineinherited

Definition at line 190 of file TObject.h.

◆ operator new[]() [2/2]

void * TObject::operator new[] ( size_t sz,
void * vp )
inlineinherited

Definition at line 192 of file TObject.h.

◆ operator=()

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

◆ Paint()

void TObject::Paint ( Option_t * option = "")
virtualinherited

This method must be overridden if a class wants to paint itself.

The difference between Paint() and Draw() is that when a object draws itself it is added to the display list of the pad in which it is drawn (and automatically redrawn whenever the pad is redrawn). While paint just draws the object without adding it to the pad display list.

Reimplemented in ROOT::Experimental::RTreeMapPainter, ROOT::RGeoPainter, TAnnotation, TArrow, TASImage, TASPaletteEditor::LimitLine, TASPaletteEditor::PaintPalette, TAxis3D, TBits, TBox, TButton, TCanvas, TClassTree, TCollection, TColorWheel, TCrown, TDiamond, TDirectory, TEfficiency, TEllipse, TEveArrow, TEveCaloViz, TEveDigitSet, TEveGeoShape, TEveGeoTopNode, TEvePlot3D, TEvePointSet, TEveProjectionAxes, TEveScene, TEveShape, TEveStraightLineSet, TEveText, TEveTriangleSet, TExec, TF1, TF2, TF3, TFile, TFileDrawMap, TFrame, TGaxis, TGenerator, TGeoBoolNode, TGeoIntersection, TGeoNode, TGeoOverlap, TGeoPainter, TGeoPhysicalNode, TGeoShape, TGeoSubtraction, TGeoTrack, TGeoUnion, TGeoVGShape, TGeoVolume, TGL5DDataSet, TGLHistPainter, TGLParametricEquation, TGLTH3Composition, TGraph2D, TGraph2DPainter, TGraph, TGraphEdge, TGraphNode, TGraphPolargram, TGraphTime, TH1, THistPainter, THStack, TLatex, TLegend, TLine, TMacro, TMarker3DBox, TMarker, TMathText, TMultiGraph, TNode, TNodeDiv, TPad, TPaletteAxis, TParallelCoord, TParallelCoordRange, TParallelCoordVar, TParticle, TPave, TPaveLabel, TPaveStats, TPavesText, TPaveText, TPie, TPolyLine3D, TPolyLine, TPolyMarker3D, TPolyMarker, TPrimary, TRatioPlot, TScatter2D, TScatter, TShape, TSpectrum2Painter, TSpider, TSpline, TSQLFile, TStyle, TText, TTreePerfStats, TVirtualGeoPainter, TVirtualGeoTrack, TVirtualHistPainter, TVirtualPad, TWbox, and TXMLFile.

Definition at line 631 of file TObject.cxx.

◆ Pop()

void TObject::Pop ( )
virtualinherited

Pop on object drawn in a pad to the top of the display list.

I.e. it will be drawn last and on top of all other primitives.

Reimplemented in TFrame, TPad, and TVirtualPad.

Definition at line 640 of file TObject.cxx.

◆ PostLoadCheck()

void TClass::PostLoadCheck ( )
virtualinherited

Do the initialization that can only be done after the CINT dictionary has been fully populated and can not be delayed efficiently.

Definition at line 6064 of file TClass.cxx.

◆ Print()

◆ Property()

Long_t TClass::Property ( ) const
overridevirtualinherited

Returns the properties of the TClass as a bit field stored as a Long_t value.

The bit values used for the return value are defined in the enum EProperty (in TDictionary.h)

Also sets TObject::fBits and fStreamerType to cache information about the class. The bits stored in TObject::fBits 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
#define a(i)
Definition RSha256.hxx:99
@ kStartWithTObject
Definition TClass.h:106
@ kIsTObject
Definition TClass.h:103
@ kIsForeign
Definition TClass.h:104
void Streamer(TBuffer &) override
Stream an object of class TQObject.

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
kEmulatedStreamer: the class is missing its shared library.
#define free
Definition civetweb.c:1578
@ kEmulatedStreamer
Definition TClass.h:344
@ kExternal
Definition TClass.h:344
@ kForeign
Definition TClass.h:344
@ kInstrumented
Definition TClass.h:344
@ kTObject
Definition TClass.h:344

Implementation note: the data member fProperty has the value -1 until it is initialized.

Implements TDictionary.

Definition at line 6191 of file TClass.cxx.

◆ Read()

Int_t TObject::Read ( const char * name)
virtualinherited

Read contents of object with specified name from the current directory.

First the key with the given name is searched in the current directory, next the key buffer is deserialized into the object. The object must have been created before via the default constructor. See TObject::Write().

Reimplemented in TBuffer, TKey, TKeySQL, and TKeyXML.

Definition at line 673 of file TObject.cxx.

◆ ReadBuffer() [1/2]

Int_t TClass::ReadBuffer ( TBuffer & b,
void * pointer )
inherited

Function called by the Streamer functions to deserialize information from buffer b into object at p.

Definition at line 6875 of file TClass.cxx.

◆ ReadBuffer() [2/2]

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

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

Definition at line 6866 of file TClass.cxx.

◆ ReadRules() [1/2]

Int_t TClass::ReadRules ( )
staticinherited

Read the class.rules files from the default location:.

$ROOTSYS/etc/class.rules (or ROOTETCDIR/class.rules)

Definition at line 1808 of file TClass.cxx.

◆ ReadRules() [2/2]

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

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.

Definition at line 1832 of file TClass.cxx.

◆ RecursiveRemove()

◆ RegisterAddressInRepository()

void TClass::RegisterAddressInRepository ( const char * where,
void * location,
const TClass * what ) const
privateinherited

Definition at line 292 of file TClass.cxx.

◆ RegisterReadRules()

void TClass::RegisterReadRules ( ROOT::TSchemaRule::RuleType_t type,
const char * classname,
std::vector<::ROOT::Internal::TSchemaHelper > && rules )
staticinherited

Register a set of read rules for a target class.

Rules will end up here if they are created in a dictionary file that does not contain the dictionary for the target class.

Definition at line 7421 of file TClass.cxx.

◆ RegisterStreamerInfo()

void TClass::RegisterStreamerInfo ( TVirtualStreamerInfo * info)
inherited

Register the StreamerInfo in the given slot, change the State of the TClass as appropriate.

Definition at line 7453 of file TClass.cxx.

◆ RemoveClass()

void TClass::RemoveClass ( TClass * cl)
staticinherited

static: Remove a class from the list and map of classes

Definition at line 587 of file TClass.cxx.

◆ RemoveClassDeclId()

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

Definition at line 605 of file TClass.cxx.

◆ RemoveStreamerInfo()

void TClass::RemoveStreamerInfo ( Int_t slot)
inherited

Remove and delete the StreamerInfo in the given slot.

Update the slot accordingly.

Definition at line 7477 of file TClass.cxx.

◆ ReplaceWith()

void TClass::ReplaceWith ( TClass * newcl) const
inherited

Definition at line 4200 of file TClass.cxx.

◆ ResetBit()

void TObject::ResetBit ( UInt_t f)
inlineinherited

Definition at line 203 of file TObject.h.

◆ ResetCaches()

void TClass::ResetCaches ( )
inherited

To clean out all caches.

Definition at line 4273 of file TClass.cxx.

◆ ResetClassInfo() [1/2]

void TClass::ResetClassInfo ( )
inherited

Make sure that the current ClassInfo is up to date.

Definition at line 4238 of file TClass.cxx.

◆ ResetClassInfo() [2/2]

void TClass::ResetClassInfo ( Long_t tagnum)
inherited

Make sure that the current ClassInfo is up to date.

Definition at line 4230 of file TClass.cxx.

◆ ResetInstanceCount()

void TClass::ResetInstanceCount ( )
inlineinherited

Definition at line 565 of file TClass.h.

◆ ResetMenuList()

void TClass::ResetMenuList ( )
inherited

Resets the menu list to it's standard value.

Definition at line 4301 of file TClass.cxx.

◆ SaveAs()

void TObject::SaveAs ( const char * filename = "",
Option_t * option = "" ) const
virtualinherited

Save this object in the file specified by filename.

  • if "filename" contains ".root" the object is saved in filename as root binary file.
  • if "filename" contains ".xml" the object is saved in filename as a xml ascii file.
  • if "filename" contains ".cc" the object is saved in filename as C code independent from ROOT. The code is generated via SavePrimitive(). Specific code should be implemented in each object to handle this option. Like in TF1::SavePrimitive().
  • otherwise the object is written to filename as a CINT/C++ script. The C++ code to rebuild this object is generated via SavePrimitive(). The "option" parameter is passed to SavePrimitive. By default it is an empty string. It can be used to specify the Draw option in the code generated by SavePrimitive.

    The function is available via the object context menu.

Reimplemented in ROOT::Experimental::XRooFit::xRooNode, TClassTree, TFolder, TGeoVolume, TGObject, TGraph, TH1, TPad, TPaveClass, TSpline3, TSpline5, TSpline, TTreePerfStats, and TVirtualPad.

Definition at line 708 of file TObject.cxx.

◆ SavePrimitive()

void TObject::SavePrimitive ( std::ostream & out,
Option_t * option = "" )
virtualinherited

Save a primitive as a C++ statement(s) on output stream "out".

Reimplemented in TAnnotation, TArc, TArrow, TASImage, TAxis3D, TBox, TButton, TCanvas, TChain, TCrown, TCurlyArc, TCurlyLine, TCutG, TDiamond, TEfficiency, TEllipse, TExec, TF12, TF1, TF2, TF3, TFrame, TGaxis, TGButton, TGButtonGroup, TGCanvas, TGCheckButton, TGColorSelect, TGColumnLayout, TGComboBox, TGCompositeFrame, TGContainer, TGDockableFrame, TGDoubleHSlider, TGDoubleVSlider, TGedMarkerSelect, TGedPatternSelect, TGeoArb8, TGeoBBox, TGeoBoolNode, TGeoCombiTrans, TGeoCompositeShape, TGeoCone, TGeoConeSeg, TGeoCtub, TGeoDecayChannel, TGeoElementRN, TGeoEltu, TGeoGtra, TGeoHalfSpace, TGeoHMatrix, TGeoHype, TGeoIdentity, TGeoIntersection, TGeoMaterial, TGeoMedium, TGeoMixture, TGeoPara, TGeoParaboloid, TGeoPatternCylPhi, TGeoPatternCylR, TGeoPatternParaX, TGeoPatternParaY, TGeoPatternParaZ, TGeoPatternSphPhi, TGeoPatternSphR, TGeoPatternSphTheta, TGeoPatternTrapZ, TGeoPatternX, TGeoPatternY, TGeoPatternZ, TGeoPcon, TGeoPgon, TGeoRotation, TGeoScaledShape, TGeoShapeAssembly, TGeoSphere, TGeoSubtraction, TGeoTessellated, TGeoTorus, TGeoTranslation, TGeoTrap, TGeoTrd1, TGeoTrd2, TGeoTube, TGeoTubeSeg, TGeoUnion, TGeoVolume, TGeoXtru, TGFileContainer, TGFont, TGFrame, TGFSComboBox, TGGC, TGGroupFrame, TGHButtonGroup, TGHorizontal3DLine, TGHorizontalFrame, TGHorizontalLayout, TGHProgressBar, TGHScrollBar, TGHSlider, TGHSplitter, TGHtml, TGIcon, TGLabel, TGLayoutHints, TGLineStyleComboBox, TGLineWidthComboBox, TGListBox, TGListDetailsLayout, TGListLayout, TGListTree, TGListView, TGLVContainer, TGMainFrame, TGMatrixLayout, TGMdiFrame, TGMdiMainFrame, TGMdiMenuBar, TGMenuBar, TGMenuTitle, TGNumberEntry, TGNumberEntryField, TGPictureButton, TGPopupMenu, TGProgressBar, TGRadioButton, TGraph2D, TGraph2DAsymmErrors, TGraph2DErrors, TGraph, TGraphAsymmErrors, TGraphBentErrors, TGraphEdge, TGraphErrors, TGraphMultiErrors, TGraphNode, TGraphPolar, TGraphPolargram, TGraphStruct, TGroupButton, TGRowLayout, TGShapedFrame, TGShutter, TGShutterItem, TGSplitFrame, TGStatusBar, TGTab, TGTabLayout, TGTableLayout, TGTableLayoutHints, TGTextButton, TGTextEdit, TGTextEntry, TGTextLBEntry, TGTextView, TGTileLayout, TGToolBar, TGTransientFrame, TGTripleHSlider, TGTripleVSlider, TGVButtonGroup, TGVertical3DLine, TGVerticalFrame, TGVerticalLayout, TGVFileSplitter, TGVProgressBar, TGVScrollBar, TGVSlider, TGVSplitter, TGXYLayout, TGXYLayoutHints, TH1, TH2Poly, THelix, THStack, TLatex, TLegend, TLine, TMacro, TMarker3DBox, TMarker, TMathText, TMultiGraph, TPad, TPaletteAxis, TParallelCoord, TParallelCoordVar, TPave, TPaveClass, TPaveLabel, TPaveStats, TPavesText, TPaveText, TPie, TPieSlice, TPolyLine3D, TPolyLine, TPolyMarker3D, TPolyMarker, TProfile2D, TProfile3D, TProfile, TRootContainer, TRootEmbeddedCanvas, TScatter2D, TScatter, TSlider, TSliderBox, TSpline3, TSpline5, TStyle, TText, TTreePerfStats, and TWbox.

Definition at line 858 of file TObject.cxx.

◆ SavePrimitiveConstructor()

void TObject::SavePrimitiveConstructor ( std::ostream & out,
TClass * cl,
const char * variable_name,
const char * constructor_agrs = "",
Bool_t empty_line = kTRUE )
staticprotectedinherited

Save object constructor in the output stream "out".

Can be used as first statement when implementing SavePrimitive() method for the object

Definition at line 777 of file TObject.cxx.

◆ SavePrimitiveDraw()

void TObject::SavePrimitiveDraw ( std::ostream & out,
const char * variable_name,
Option_t * option = nullptr )
staticprotectedinherited

Save invocation of primitive Draw() method Skipped if option contains "nodraw" string.

Definition at line 845 of file TObject.cxx.

◆ SavePrimitiveNameTitle()

void TNamed::SavePrimitiveNameTitle ( std::ostream & out,
const char * variable_name )
protectedinherited

Save object name and title into the output stream "out".

Definition at line 135 of file TNamed.cxx.

◆ SavePrimitiveVector()

TString TObject::SavePrimitiveVector ( std::ostream & out,
const char * prefix,
Int_t len,
Double_t * arr,
Int_t flag = 0 )
staticprotectedinherited

Save array in the output stream "out" as vector.

Create unique variable name based on prefix value Returns name of vector which can be used in constructor or in other places of C++ code If flag === kTRUE, just add empty line If flag === 111, check if array is empty and return nullptr or <vectorname>.data()

Definition at line 796 of file TObject.cxx.

◆ SetBit() [1/2]

void TObject::SetBit ( UInt_t f)
inlineinherited

Definition at line 202 of file TObject.h.

◆ SetBit() [2/2]

void TObject::SetBit ( UInt_t f,
Bool_t set )
inherited

Set or unset the user status bits as specified in f.

Definition at line 888 of file TObject.cxx.

◆ SetBrowse()

void TClass::SetBrowse ( ROOT::BrowseFunc_t browseFunc)
inherited

Install a new wrapper around 'Browse'.

Definition at line 7084 of file TClass.cxx.

◆ SetCanSplit()

void TClass::SetCanSplit ( Int_t splitmode)
inherited

Set the splitability of this class:

  • -1: Use the default calculation
  • 0: Disallow splitting
  • 1: Always allow splitting.
  • 2: Disallow splitting of the class and splitting of any it's derived classes.

Definition at line 5728 of file TClass.cxx.

◆ SetClassAlignment()

void TClass::SetClassAlignment ( std::size_t align)
inlineprivateinherited

Definition at line 317 of file TClass.h.

◆ SetClassSize()

void TClass::SetClassSize ( Int_t sizof)
inlineprivateinherited

Definition at line 316 of file TClass.h.

◆ SetClassVersion()

void TClass::SetClassVersion ( Version_t version)
privateinherited

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

Definition at line 5745 of file TClass.cxx.

◆ SetCollectionProxy()

void TClass::SetCollectionProxy ( const ROOT::Detail::TCollectionProxyInfo & info)
inherited

Create the collection proxy object (and the streamer object) from using the information in the TCollectionProxyInfo.

Definition at line 6354 of file TClass.cxx.

◆ SetContextMenuTitle()

void TClass::SetContextMenuTitle ( const char * title)
inherited

Change (i.e. set) the title of the TNamed.

Definition at line 6379 of file TClass.cxx.

◆ SetConvStreamerFunc()

void TClass::SetConvStreamerFunc ( ClassConvStreamerFunc_t strm)
inherited

Set a wrapper/accessor function around this class custom conversion streamer.

Definition at line 7060 of file TClass.cxx.

◆ SetCurrentStreamerInfo()

void TClass::SetCurrentStreamerInfo ( TVirtualStreamerInfo * info)
inherited

Set pointer to current TVirtualStreamerInfo.

Definition at line 5766 of file TClass.cxx.

◆ SetDeclFile()

void TClass::SetDeclFile ( const char * name,
Short_t line )
inlineinherited

Definition at line 573 of file TClass.h.

◆ SetDelete()

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

Install a new wrapper around 'delete'.

Definition at line 7124 of file TClass.cxx.

◆ SetDeleteArray()

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

Install a new wrapper around 'delete []'.

Definition at line 7132 of file TClass.cxx.

◆ SetDestructor()

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

Install a new wrapper around the destructor.

Definition at line 7140 of file TClass.cxx.

◆ SetDirectoryAutoAdd()

void TClass::SetDirectoryAutoAdd ( ROOT::DirAutoAdd_t autoAddFunc)
inherited

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

Definition at line 7151 of file TClass.cxx.

◆ SetDrawOption()

void TObject::SetDrawOption ( Option_t * option = "")
virtualinherited

Set drawing option for object.

This option only affects the drawing style and is stored in the option field of the TObjOptLink supporting a TPad's primitive list (TList). Note that it does not make sense to call object.SetDrawOption(option) before having called object.Draw().

Reimplemented in RooPlot, TAxis, TBrowser, TGedFrame, TGFrame, TPad, TPaveStats, TRootBrowserLite, TSystemDirectory, and TSystemFile.

Definition at line 871 of file TObject.cxx.

◆ SetDtorOnly()

void TObject::SetDtorOnly ( void * obj)
staticinherited

Set destructor only flag.

Definition at line 1204 of file TObject.cxx.

◆ SetGlobalIsA()

void TClass::SetGlobalIsA ( IsAGlobalFunc_t func)
inherited

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);
TClass(const TClass &tc)=delete

'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
TNamed()
Definition TNamed.h:38
TMarker m
Definition textangle.C:8

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'.

Definition at line 6410 of file TClass.cxx.

◆ SetImplFileName()

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

Definition at line 578 of file TClass.h.

◆ SetLastReadInfo()

void TClass::SetLastReadInfo ( TVirtualStreamerInfo * info)
inlineinherited

Definition at line 460 of file TClass.h.

◆ SetMemberStreamer()

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

Install a new member streamer (p will be copied).

Definition at line 6852 of file TClass.cxx.

◆ SetMerge()

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

Install a new wrapper around 'Merge'.

Definition at line 7092 of file TClass.cxx.

◆ SetName()

void TNamed::SetName ( const char * name)
virtualinherited

Set the name of the TNamed.

WARNING: if the object is a member of a THashTable or THashList container the container must be Rehash()'ed after SetName(). For example the list of objects in the current directory is a THashList.

Reimplemented in RooAbsArg, RooAbsData, RooDataHist, RooDataSet, RooFitResult, RooPlot, ROOT::Experimental::XRooFit::xRooNode, TChain, TColor, TDirectory, TEfficiency, TEventList, TEveScene, TFormula, TGraph2D, TGraph, TH1, TNode, TRotMatrix, TShape, TSystemDirectory, TSystemFile, and TTree.

Definition at line 149 of file TNamed.cxx.

◆ SetNameTitle()

void TNamed::SetNameTitle ( const char * name,
const char * title )
virtualinherited

Set all the TNamed parameters (name and title).

WARNING: if the name is changed and the object is a member of a THashTable or THashList container the container must be Rehash()'ed after SetName(). For example the list of objects in the current directory is a THashList.

Reimplemented in RooAbsArg, RooAbsData, RooDataHist, RooDataSet, RooFitResult, RooPlot, TContextMenu, TGraph2D, TGraph, TH1, and TNode.

Definition at line 163 of file TNamed.cxx.

◆ SetNew()

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

Install a new wrapper around 'new'.

Definition at line 7108 of file TClass.cxx.

◆ SetNewArray()

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

Install a new wrapper around 'new []'.

Definition at line 7116 of file TClass.cxx.

◆ SetObjectStat()

void TObject::SetObjectStat ( Bool_t stat)
staticinherited

Turn on/off tracking of objects in the TObjectTable.

Definition at line 1188 of file TObject.cxx.

◆ SetResetAfterMerge()

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

Install a new wrapper around 'ResetAfterMerge'.

Definition at line 7100 of file TClass.cxx.

◆ SetRuntimeProperties()

void TClass::SetRuntimeProperties ( )
privateinherited

Internal routine to set calculate the class properties that can only be known at run-time, for example whether the Hash member function and the destructor are consistent.

Definition at line 6303 of file TClass.cxx.

◆ SetStreamerFunc()

void TClass::SetStreamerFunc ( ClassStreamerFunc_t strm)
inherited

Set a wrapper/accessor function around this class custom streamer.

Definition at line 7037 of file TClass.cxx.

◆ SetStreamerImpl()

void TClass::SetStreamerImpl ( Int_t streamerType)
privateinherited

Internal routine to set fStreamerImpl based on the value of fStreamerType.

Definition at line 6324 of file TClass.cxx.

◆ SetStreamerInfo()

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

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 responsibility to implement a StreamerInfo function (override TObject::StreamerInfo). The user must call IsA()->SetStreamerInfo(info) from this function.

Definition at line 6484 of file TClass.cxx.

◆ SetTitle()

void TNamed::SetTitle ( const char * title = "")
virtualinherited

◆ SetUniqueID()

void TObject::SetUniqueID ( UInt_t uid)
virtualinherited

Set the unique object id.

Definition at line 899 of file TObject.cxx.

◆ SetUnloaded()

void TClass::SetUnloaded ( )
inherited

Call this method to indicate that the shared library containing this class's code has been removed (unloaded) from the process's memory The caller of this calss should be holding the ROOT Write lock.

Definition at line 6420 of file TClass.cxx.

◆ Size()

Int_t TClass::Size ( ) const
inherited

Return size of object of this class.

Definition at line 5806 of file TClass.cxx.

◆ Sizeof()

Int_t TNamed::Sizeof ( ) const
virtualinherited

Return size of the TNamed part of the TObject.

Reimplemented in TDirectory, TDirectoryFile, TFile, TKey, TSQLFile, and TXMLFile.

Definition at line 182 of file TNamed.cxx.

◆ Store()

void TClass::Store ( TBuffer & b) const
inherited

Store class description on I/O buffer.

Definition at line 5965 of file TClass.cxx.

◆ Streamer() [1/2]

void TClass::Streamer ( void * obj,
TBuffer & b,
const TClass * onfile_class = nullptr ) const
inlineinherited

Definition at line 626 of file TClass.h.

◆ Streamer() [2/2]

void TQClass::Streamer ( TBuffer & R__b)
overridevirtual

Stream an object of class TQObject.

Reimplemented from TQObject.

◆ StreamerDefault()

void TClass::StreamerDefault ( const TClass * pThis,
void * object,
TBuffer & b,
const TClass * onfile_class )
staticprivateinherited

Default streaming in cases where either we have no way to know what to do or if Property() has not yet been called.

Definition at line 6988 of file TClass.cxx.

◆ StreamerExternal()

void TClass::StreamerExternal ( const TClass * pThis,
void * object,
TBuffer & b,
const TClass * onfile_class )
staticprivateinherited

There is special streamer for the class.

Definition at line 6896 of file TClass.cxx.

◆ StreamerInstrumented()

void TClass::StreamerInstrumented ( const TClass * pThis,
void * object,
TBuffer & b,
const TClass * onfile_class )
staticprivateinherited

Case of instrumented class with a library.

Definition at line 6951 of file TClass.cxx.

◆ StreamerNVirtual()

void TQClass::StreamerNVirtual ( TBuffer & ClassDef_StreamerNVirtual_b)
inline

Definition at line 51 of file TQClass.h.

◆ StreamerStreamerInfo()

void TClass::StreamerStreamerInfo ( const TClass * pThis,
void * object,
TBuffer & b,
const TClass * onfile_class )
staticprivateinherited

Case of where we should directly use the StreamerInfo.

  • case kForeign:
  • case kForeign|kEmulatedStreamer:
  • case kInstrumented|kEmulatedStreamer:
  • case kEmulatedStreamer:

Definition at line 6973 of file TClass.cxx.

◆ StreamerTObject()

void TClass::StreamerTObject ( const TClass * pThis,
void * object,
TBuffer & b,
const TClass * onfile_class )
staticprivateinherited

Case of TObjects.

Definition at line 6908 of file TClass.cxx.

◆ StreamerTObjectEmulated()

void TClass::StreamerTObjectEmulated ( const TClass * pThis,
void * object,
TBuffer & b,
const TClass * onfile_class )
staticprivateinherited

Case of TObjects when we do not have the library defining the class.

Definition at line 6938 of file TClass.cxx.

◆ StreamerTObjectInitialized()

void TClass::StreamerTObjectInitialized ( const TClass * pThis,
void * object,
TBuffer & b,
const TClass * onfile_class )
staticprivateinherited

Case of TObjects when fIsOffsetStreamerSet is known to have been set.

Definition at line 6922 of file TClass.cxx.

◆ SysError()

void TObject::SysError ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue system error message.

Use "location" to specify the method where the system error occurred. Accepts standard printf formatting arguments.

Definition at line 1112 of file TObject.cxx.

◆ TestBit()

Bool_t TObject::TestBit ( UInt_t f) const
inlineinherited

Definition at line 204 of file TObject.h.

◆ TestBits()

Int_t TObject::TestBits ( UInt_t f) const
inlineinherited

Definition at line 205 of file TObject.h.

◆ UnregisterAddressInRepository()

void TClass::UnregisterAddressInRepository ( const char * where,
void * location,
const TClass * what ) const
privateinherited

Definition at line 320 of file TClass.cxx.

◆ UpdateInterpreterStateMarker()

Bool_t TDictionary::UpdateInterpreterStateMarker ( )
protectedinherited

Definition at line 123 of file TDictionary.cxx.

◆ UseCurrentStyle()

void TObject::UseCurrentStyle ( )
virtualinherited

Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked.

Reimplemented in TAxis3D, TCanvas, TFrame, TGraph, TH1, TPad, TPaveStats, TPaveText, and TTree.

Definition at line 909 of file TObject.cxx.

◆ WantsRegularMembers()

bool TDictionary::WantsRegularMembers ( EMemberSelection sel)
inlinestaticinherited

Definition at line 221 of file TDictionary.h.

◆ WantsUsingDecls()

bool TDictionary::WantsUsingDecls ( EMemberSelection sel)
inlinestaticinherited

Definition at line 222 of file TDictionary.h.

◆ Warning()

void TObject::Warning ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue warning message.

Use "location" to specify the method where the warning occurred. Accepts standard printf formatting arguments.

Definition at line 1084 of file TObject.cxx.

◆ Write() [1/2]

Int_t TObject::Write ( const char * name = nullptr,
Int_t option = 0,
Int_t bufsize = 0 )
virtualinherited

Write this object to the current directory.

For more see the const version of this method.

Reimplemented in ROOT::TBufferMergerFile, TBuffer, TCollection, TDirectory, TDirectoryFile, TFile, TMap, TParallelMergingFile, TSQLFile, TTree, and TXMLFile.

Definition at line 989 of file TObject.cxx.

◆ Write() [2/2]

Int_t TObject::Write ( const char * name = nullptr,
Int_t option = 0,
Int_t bufsize = 0 ) const
virtualinherited

Write this object to the current directory.

The data structure corresponding to this object is serialized. The corresponding buffer is written to the current directory with an associated key with name "name".

Writing an object to a file involves the following steps:

  • Creation of a support TKey object in the current directory. The TKey object creates a TBuffer object.
  • The TBuffer object is filled via the class::Streamer function.
  • If the file is compressed (default) a second buffer is created to hold the compressed buffer.
  • Reservation of the corresponding space in the file by looking in the TFree list of free blocks of the file.
  • The buffer is written to the file.

Bufsize can be given to force a given buffer size to write this object. By default, the buffersize will be taken from the average buffer size of all objects written to the current file so far.

If a name is specified, it will be the name of the key. If name is not given, the name of the key will be the name as returned by GetName().

The option can be a combination of: kSingleKey, kOverwrite or kWriteDelete Using the kOverwrite option a previous key with the same name is overwritten. The previous key is deleted before writing the new object. Using the kWriteDelete option a previous key with the same name is deleted only after the new object has been written. This option is safer than kOverwrite but it is slower. NOTE: Neither kOverwrite nor kWriteDelete reduces the size of a TFile– the space is simply freed up to be overwritten; in the case of a TTree, it is more complicated. If one opens a TTree, appends some entries, then writes it out, the behaviour is effectively the same. If, however, one creates a new TTree and writes it out in this way, only the metadata is replaced, effectively making the old data invisible without deleting it. TTree::Delete() can be used to mark all disk space occupied by a TTree as free before overwriting its metadata this way. The kSingleKey option is only used by TCollection::Write() to write a container with a single key instead of each object in the container with its own key.

An object is read from the file into memory via TKey::Read() or via TObject::Read().

The function returns the total number of bytes written to the file. It returns 0 if the object cannot be written.

Reimplemented in TBuffer, TCollection, TDirectory, TDirectoryFile, TFile, TMap, TParallelMergingFile, TSQLFile, TTree, and TXMLFile.

Definition at line 964 of file TObject.cxx.

◆ WriteBuffer()

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

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.

Definition at line 6887 of file TClass.cxx.

◆ TQObject

friend class TQObject
friend

Definition at line 39 of file TQClass.h.

Member Data Documentation

◆ fAlignment

std::size_t TClass::fAlignment = 0
privateinherited

Definition at line 251 of file TClass.h.

◆ fAllPubData

TViewPubDataMembers* TClass::fAllPubData = nullptr
privateinherited

Definition at line 213 of file TClass.h.

◆ fAllPubMethod

TViewPubFunctions* TClass::fAllPubMethod = nullptr
privateinherited

Definition at line 214 of file TClass.h.

◆ fAttributeMap

TDictAttributeMap* TDictionary::fAttributeMap {nullptr}
privateinherited

Definition at line 171 of file TDictionary.h.

◆ fBase

std::atomic<TList*> TClass::fBase = nullptr
privateinherited

Definition at line 204 of file TClass.h.

◆ fBits

UInt_t TObject::fBits
privateinherited

bit field status word

Definition at line 47 of file TObject.h.

◆ fBrowse

ROOT::BrowseFunc_t TClass::fBrowse = nullptr
privateinherited

Definition at line 237 of file TClass.h.

◆ fCanLoadClassInfo

std::atomic<Bool_t> TClass::fCanLoadClassInfo = false
mutableprivateinherited

!Indicates whether the ClassInfo is supposed to be available.

Definition at line 269 of file TClass.h.

◆ fCanSplit

std::atomic<Char_t> TClass::fCanSplit = -1
privateinherited

!Indicates whether this class can be split or not. Values are -1, 0, 1, 2

Definition at line 253 of file TClass.h.

◆ fCheckSum

std::atomic<UInt_t> TClass::fCheckSum = 0
mutableprivateinherited

Definition at line 223 of file TClass.h.

◆ fClassInfo

ClassInfo_t* TClass::fClassInfo = nullptr
privateinherited

Definition at line 226 of file TClass.h.

◆ fClassMenuList

TList* TClass::fClassMenuList = nullptr
mutableprivateinherited

Definition at line 215 of file TClass.h.

◆ fClassProperty

Long_t TClass::fClassProperty = 0
mutableprivateinherited

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

Definition at line 265 of file TClass.h.

◆ fClassVersion

Version_t TClass::fClassVersion = 0
privateinherited

Definition at line 225 of file TClass.h.

◆ fCollectionProxy

TVirtualCollectionProxy* TClass::fCollectionProxy = nullptr
privateinherited

Definition at line 224 of file TClass.h.

◆ fContextMenuTitle

TString TClass::fContextMenuTitle
privateinherited

Definition at line 227 of file TClass.h.

◆ fConversionStreamerInfo

ConvSIMap_t TClass::fConversionStreamerInfo = nullptr
mutableprivateinherited

Definition at line 202 of file TClass.h.

◆ fConvStreamerFunc

ClassConvStreamerFunc_t TClass::fConvStreamerFunc = nullptr
privateinherited

Definition at line 249 of file TClass.h.

◆ fCurrentInfo

std::atomic<TVirtualStreamerInfo*> TClass::fCurrentInfo = nullptr
mutableprivateinherited

!cached current streamer info.

Definition at line 287 of file TClass.h.

◆ fData

std::atomic<TListOfDataMembers*> TClass::fData = nullptr
privateinherited

Definition at line 205 of file TClass.h.

◆ fDeclFileLine

Short_t TClass::fDeclFileLine = 0
privateinherited

Definition at line 219 of file TClass.h.

◆ fDeclFileName

const char* TClass::fDeclFileName = ""
privateinherited

Definition at line 217 of file TClass.h.

◆ fDelete

ROOT::DelFunc_t TClass::fDelete = nullptr
privateinherited

Definition at line 243 of file TClass.h.

◆ fDeleteArray

ROOT::DelArrFunc_t TClass::fDeleteArray = nullptr
privateinherited

Definition at line 244 of file TClass.h.

◆ fDestructor

ROOT::DesFunc_t TClass::fDestructor = nullptr
privateinherited

Definition at line 245 of file TClass.h.

◆ fDirAutoAdd

ROOT::DirAutoAdd_t TClass::fDirAutoAdd = nullptr
privateinherited

Definition at line 246 of file TClass.h.

◆ fEnums

std::atomic<TListOfEnums*> TClass::fEnums = nullptr
privateinherited

Definition at line 208 of file TClass.h.

◆ fFuncTemplate

TListOfFunctionTemplates* TClass::fFuncTemplate = nullptr
privateinherited

Definition at line 209 of file TClass.h.

◆ fgAllSignalsBlocked

Bool_t TQObject::fgAllSignalsBlocked = kFALSE
staticprotectedinherited

Definition at line 55 of file TQObject.h.

◆ fgClassCount

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

Definition at line 336 of file TClass.h.

◆ fgClassTypedefHash

THashTable * TClass::fgClassTypedefHash = nullptr
staticprivateinherited

Definition at line 348 of file TClass.h.

◆ fgDtorOnly

Longptr_t TObject::fgDtorOnly = 0
staticprivateinherited

object for which to call dtor only (i.e. no delete)

Definition at line 49 of file TObject.h.

◆ fGlobalIsA

IsAGlobalFunc_t TClass::fGlobalIsA = nullptr
privateinherited

Definition at line 234 of file TClass.h.

◆ fgObjectStat

Bool_t TObject::fgObjectStat = kTRUE
staticprivateinherited

if true keep track of objects in TObjectTable

Definition at line 50 of file TObject.h.

◆ fHasCustomStreamerMember

Bool_t TClass::fHasCustomStreamerMember
privateinherited

The class has a Streamer method and it is implemented by the user or an older (not StreamerInfo based) automatic streamer.

!

Definition at line 262 of file TClass.h.

◆ fHasRootPcmInfo

std::atomic<Bool_t> TClass::fHasRootPcmInfo = false
privateinherited

!Whether info was loaded from a root pcm.

Definition at line 268 of file TClass.h.

◆ fImplFileLine

Short_t TClass::fImplFileLine = 0
privateinherited

Definition at line 220 of file TClass.h.

◆ fImplFileName

const char* TClass::fImplFileName = ""
privateinherited

Definition at line 218 of file TClass.h.

◆ fInstanceCount

UInt_t TClass::fInstanceCount = 0
privateinherited

Definition at line 221 of file TClass.h.

◆ fIsA

TVirtualIsAProxy* TClass::fIsA = nullptr
privateinherited

!pointer to the class's IsA proxy.

Definition at line 233 of file TClass.h.

◆ fIsAMethod

std::atomic<TMethodCall*> TClass::fIsAMethod = nullptr
mutableprivateinherited

!saved info to call a IsA member function

Definition at line 235 of file TClass.h.

◆ fIsOffsetStreamerSet

std::atomic<Bool_t> TClass::fIsOffsetStreamerSet = false
mutableprivateinherited

!saved remember if fOffsetStreamer has been set.

Definition at line 270 of file TClass.h.

◆ fIsSyntheticPair

Bool_t TClass::fIsSyntheticPair
privateinherited

Indicates whether this class represents a pair and was not created from a dictionary nor interpreter info but has compiler compatible offset and size (and all the info is in the StreamerInfo per se).

!

Definition at line 258 of file TClass.h.

◆ fLastReadInfo

std::atomic<TVirtualStreamerInfo*> TClass::fLastReadInfo = nullptr
mutableprivateinherited

!cached streamer info used in the last read.

Definition at line 288 of file TClass.h.

◆ fListOfConnections

TList* TQObject::fListOfConnections
protectedinherited

! list of connections to this object

Definition at line 52 of file TQObject.h.

◆ fListOfSignals

TList* TQObject::fListOfSignals
protectedinherited

! list of signals from this object

Definition at line 51 of file TQObject.h.

◆ fMerge

ROOT::MergeFunc_t TClass::fMerge = nullptr
privateinherited

Definition at line 238 of file TClass.h.

◆ fMethod

std::atomic<TListOfFunctions*> TClass::fMethod = nullptr
privateinherited

Definition at line 211 of file TClass.h.

◆ fName

TString TNamed::fName
protectedinherited

Definition at line 32 of file TNamed.h.

◆ fNew

ROOT::NewFunc_t TClass::fNew = nullptr
privateinherited

Definition at line 241 of file TClass.h.

◆ fNewArray

ROOT::NewArrFunc_t TClass::fNewArray = nullptr
privateinherited

Definition at line 242 of file TClass.h.

◆ fNoInfoOrEmuOrFwdDeclNameRegistry

TClass::TDeclNameRegistry TClass::fNoInfoOrEmuOrFwdDeclNameRegistry
staticprivateinherited

Definition at line 338 of file TClass.h.

◆ fObjectVersionRepository

RepoCont_t TClass::fObjectVersionRepository
mutableprivateinherited

Definition at line 354 of file TClass.h.

◆ fOffsetStreamer

Longptr_t TClass::fOffsetStreamer = 0
mutableprivateinherited

!saved info to call Streamer

Definition at line 284 of file TClass.h.

◆ fOnHeap

UInt_t TClass::fOnHeap = 0
privateinherited

Definition at line 222 of file TClass.h.

◆ fOVRMutex

TVirtualMutex* TClass::fOVRMutex = nullptr
mutableprivateinherited

Definition at line 352 of file TClass.h.

◆ fPersistentRef

std::atomic<TClass**> TClass::fPersistentRef = nullptr
privateinherited

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

Definition at line 197 of file TClass.h.

◆ fProperty

std::atomic<Long_t> TClass::fProperty = 0
mutableprivateinherited

!Property See TClass::Property() for details

Definition at line 264 of file TClass.h.

◆ fRealData

TList* TClass::fRealData = nullptr
privateinherited

Definition at line 203 of file TClass.h.

◆ fRefProxy

TVirtualRefProxy* TClass::fRefProxy = nullptr
privateinherited

!Pointer to reference proxy if this class represents a reference

Definition at line 289 of file TClass.h.

◆ fResetAfterMerge

ROOT::ResetAfterMergeFunc_t TClass::fResetAfterMerge = nullptr
privateinherited

Definition at line 240 of file TClass.h.

◆ fRuntimeProperties

std::atomic<UChar_t> TClass::fRuntimeProperties = 0
mutableprivateinherited

! Properties that can only be evaluated at run-time

Definition at line 282 of file TClass.h.

◆ fSchemaRules

ROOT::Detail::TSchemaRuleSet* TClass::fSchemaRules = nullptr
privateinherited

! Schema evolution rules

Definition at line 290 of file TClass.h.

◆ fSharedLibs

TString TClass::fSharedLibs
privateinherited

Definition at line 231 of file TClass.h.

◆ fShowMembers

ShowMembersFunc_t TClass::fShowMembers = nullptr
privateinherited

Definition at line 229 of file TClass.h.

◆ fSignalsBlocked

Bool_t TQObject::fSignalsBlocked
protectedinherited

! flag used for suppression of signals

Definition at line 53 of file TQObject.h.

◆ fSizeof

Int_t TClass::fSizeof = -1
privateinherited

Definition at line 250 of file TClass.h.

◆ fState

EState TClass::fState = kNoInfo
privateinherited

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

Definition at line 286 of file TClass.h.

◆ fStreamer

TClassStreamer* TClass::fStreamer = nullptr
privateinherited

Definition at line 230 of file TClass.h.

◆ fStreamerFunc

ClassStreamerFunc_t TClass::fStreamerFunc = nullptr
privateinherited

Definition at line 247 of file TClass.h.

◆ fStreamerImpl

std::atomic<StreamerImpl_t> TClass::fStreamerImpl = StreamerDefault
mutableprivateinherited

! Pointer to the function implementing streaming for this class

Definition at line 296 of file TClass.h.

◆ fStreamerInfo

TObjArray* TClass::fStreamerInfo = nullptr
mutableprivateinherited

Definition at line 201 of file TClass.h.

◆ fStreamerType

Int_t TClass::fStreamerType = kDefault
privateinherited

!cached of the streaming method to use

Definition at line 285 of file TClass.h.

◆ fTitle

TString TNamed::fTitle
protectedinherited

Definition at line 33 of file TNamed.h.

◆ fTypeInfo

const std::type_info* TClass::fTypeInfo = nullptr
privateinherited

Definition at line 228 of file TClass.h.

◆ fUniqueID

UInt_t TObject::fUniqueID
privateinherited

object unique identifier

Definition at line 46 of file TObject.h.

◆ fUpdatingTransactionCount

ULong64_t TDictionary::fUpdatingTransactionCount {0}
privateinherited

!the Cling ID of the transaction that last updated the object

Definition at line 172 of file TDictionary.h.

◆ fUsingData

std::atomic<TListOfDataMembers*> TClass::fUsingData = nullptr
privateinherited

Definition at line 206 of file TClass.h.

◆ fVersionUsed

std::atomic<Bool_t> TClass::fVersionUsed = false
mutableprivateinherited

!Indicates whether GetClassVersion has been called

Definition at line 271 of file TClass.h.


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