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

Definition at line 33 of file TQClass.h.

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 ()
 
TClassIsA () const override
 
void Streamer (TBuffer &) override
 Stream an object of class TQObject.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TQObject
 TQObject ()
 TQObject Constructor.
 
virtual ~TQObject ()
 TQObject Destructor.
 
Bool_t AreSignalsBlocked () const
 
Bool_t BlockSignals (Bool_t b)
 
virtual void ChangedBy (const char *method)
 
void CollectClassSignalLists (TList &list, TClass *cls)
 Collect class signal lists from class cls and all its base-classes.
 
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 *)
 
virtual void Destroyed ()
 
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 *)
 
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.
 
TListGetListOfClassSignals () const
 Returns pointer to list of signals of this class.
 
TListGetListOfConnections () const
 
TListGetListOfSignals () const
 
virtual Bool_t HasConnection (const char *signal_name) const
 Return true if there is any object connected to this signal.
 
virtual void HighPriority (const char *signal_name, const char *slot_name=nullptr)
 
virtual void LowPriority (const char *signal_name, const char *slot_name=nullptr)
 
virtual void Message (const char *msg)
 
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 StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TClass
 TClass ()
 Internal, default constructor.
 
 TClass (ClassInfo_t *info, Version_t cversion, const char *dfil, const char *ifil=nullptr, Int_t dl=0, Int_t il=0, Bool_t silent=kFALSE)
 Internal constructor.
 
 TClass (const char *name, Bool_t silent=kFALSE)
 Create a TClass object.
 
 TClass (const char *name, Version_t cversion, Bool_t silent=kFALSE)
 Internal constructor.
 
 TClass (const char *name, Version_t cversion, const char *dfil, const char *ifil=nullptr, Int_t dl=0, Int_t il=0, Bool_t silent=kFALSE)
 Internal constructor.
 
 TClass (const char *name, Version_t cversion, const std::type_info &info, TVirtualIsAProxy *isa, const char *dfil, const char *ifil, Int_t dl, Int_t il, Bool_t silent=kFALSE)
 Internal constructor.
 
 TClass (const char *name, Version_t cversion, EState theState, Bool_t silent=kFALSE)
 Internal constructor, mimicing the case of a class fwd declared in the interpreter.
 
virtual ~TClass ()
 TClass dtor. Deletes all list that might have been created.
 
void AddImplFile (const char *filename, int line)
 
void AddInstance (Bool_t heap=kFALSE)
 
void 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.
 
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.
 
Long_t ClassProperty () const
 Return the C++ property of this class, eg.
 
TObjectClone (const char *newname="") const override
 Create a Clone of this TClass object using a different name but using the same 'dictionary'.
 
void CopyCollectionProxy (const TVirtualCollectionProxy &)
 Replaces the collection proxy for this class.
 
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.
 
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.
 
void Draw (Option_t *option="") override
 Draw detailed class inheritance structure.
 
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.
 
char * EscapeChars (const char *text) const
 Introduce an escape character (@) in front of a special chars.
 
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.
 
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.
 
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.
 
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.
 
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 ThiObject.
 
ROOT::DelArrFunc_t GetDeleteArray () const
 Return the wrapper around delete [] ThiObject.
 
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.
 
TFunctionTemplateGetFunctionTemplate (const char *name)
 
UInt_t GetHeapInstanceCount () const
 
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.
 
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
 
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.
 
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().
 
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 std::type_info * GetTypeInfo () const
 
Bool_t HasConsistentHashMember ()
 Return 'true' if we can guarantee that if this class (or any class in this class inheritance hierarchy) overload TObject::Hash it also starts the RecursiveRemove process from its own destructor.
 
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 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.
 
void IgnoreTObjectStreamer (Bool_t ignore=kTRUE)
 When the class kIgnoreTObjectStreamer bit is set, the automatically generated Streamer will not call TObject::Streamer.
 
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.
 
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.
 
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 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
 
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 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 void PostLoadCheck ()
 Do the initialization that can only be done after the CINT dictionary has been fully populated and can not be delayed efficiently.
 
Long_t Property () const override
 Returns the properties of the TClass as a bit field stored as a Long_t value.
 
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.
 
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 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.
 
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.
 
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'.
 
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.
 
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.
 
Int_t Size () const
 Return size of object of this class.
 
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 StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
Int_t WriteBuffer (TBuffer &b, void *pointer, const char *info="")
 Function called by the Streamer functions to serialize object at p to buffer b.
 
- Public Member Functions inherited from TDictionary
 TDictionary ()
 
 TDictionary (const char *name)
 
 TDictionary (const TDictionary &dict)
 
virtual ~TDictionary ()
 
void CreateAttributeMap ()
 
TDictAttributeMapGetAttributeMap () const
 
TDictionaryoperator= (const TDictionary &other)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TNamed &named)
 TNamed copy ctor.
 
 TNamed (const TString &name, const TString &title)
 
virtual ~TNamed ()
 TNamed destructor.
 
void Clear (Option_t *option="") override
 Set name and title to empty strings ("").
 
TObjectClone (const char *newname="") const override
 Make a clone of an object using the Streamer facility.
 
Int_t Compare (const TObject *obj) const override
 Compare two TNamed objects.
 
void Copy (TObject &named) const override
 Copy this to obj.
 
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer.
 
const char * GetName () const override
 Returns name of object.
 
const char * GetTitle () const override
 Returns title of object.
 
ULong_t Hash () const override
 Return hash value for this object.
 
Bool_t IsSortable () const override
 
void ls (Option_t *option="") const override
 List TNamed name and title.
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator.
 
void Print (Option_t *option="") const override
 Print TNamed name and title.
 
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).
 
virtual void SetTitle (const char *title="")
 Set the title of the TNamed.
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor.
 
 TObject (const TObject &object)
 TObject copy ctor.
 
virtual ~TObject ()
 TObject destructor.
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract.
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad.
 
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.
 
virtual void Delete (Option_t *option="")
 Delete this object.
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object.
 
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).
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message.
 
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 TObjectFindObject (const char *name) const
 Must be redefined in derived classes.
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes.
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object.
 
virtual const char * GetIconName () const
 Returns mime type name of object.
 
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
 
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.
 
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.
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message.
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas.
 
void InvertBit (UInt_t f)
 
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).
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary).
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification (the base implementation is no-op).
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete.
 
void operator delete (void *ptr)
 Operator delete.
 
void operator delete[] (void *ptr)
 Operator delete [].
 
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)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator.
 
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 Int_t Read (const char *name)
 Read contents of object with specified name from the current directory.
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list.
 
void ResetBit (UInt_t f)
 
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.
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object.
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message.
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked.
 
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.
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TQObject
static Bool_t AreAllSignalsBlocked ()
 Returns true if all signals are blocked.
 
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.
 
- Static Public Member Functions inherited from TClass
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 Int_t AutoBrowse (TObject *obj, TBrowser *browser)
 Browse external object inherited from TObject.
 
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
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 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 RemoveClass (TClass *cl)
 static: Remove a class from the list and map of classes
 
static void RemoveClassDeclId (TDictionary::DeclId_t id)
 
- Static Public Member Functions inherited from TDictionary
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static TDictionaryGetDictionary (const char *name)
 Retrieve the type (class, fundamental type, typedef etc) named "name".
 
static TDictionaryGetDictionary (const std::type_info &typeinfo)
 
static bool WantsRegularMembers (EMemberSelection sel)
 
static bool WantsUsingDecls (EMemberSelection sel)
 
- Static Public Member Functions inherited from TNamed
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Longptr_t GetDtorOnly ()
 Return destructor only flag.
 
static Bool_t GetObjectStat ()
 Get status of object stat flag.
 
static void SetDtorOnly (void *obj)
 Set destructor only flag.
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable.
 

Private Member Functions

 TQClass (const TClass &)=delete
 
TQClassoperator= (const TQClass &)=delete
 

Friends

class TQObject
 

Additional Inherited Members

- Public Types inherited from TClass
enum  ECheckSum {
  kCurrentCheckSum = 0 , kNoEnum = 1 , kReflexNoComment = 2 , kNoRange = 3 ,
  kWithTypeDef = 4 , kReflex = 5 , kNoRangeCheck = 6 , kNoBaseCheckSum = 7 ,
  kLatestCheckSum = 8
}
 
enum  ENewType { kRealNew = 0 , kClassNew , kDummyNew }
 
enum  EState {
  kNoInfo , kForwardDeclared , kEmulated , kInterpreted ,
  kHasTClassInit , kLoaded = kHasTClassInit , kNamespaceForMeta
}
 
enum  EStatusBits {
  kReservedLoading = (1ULL << ( 7 )) , kClassSaved = (1ULL << ( 12 )) , kHasLocalHashMember = (1ULL << ( 14 )) , kIgnoreTObjectStreamer = (1ULL << ( 15 )) ,
  kUnloaded = (1ULL << ( 16 )) , kIsTObject = (1ULL << ( 17 )) , kIsForeign = (1ULL << ( 18 )) , kIsEmulation = (1ULL << ( 19 )) ,
  kStartWithTObject = (1ULL << ( 20 )) , kWarned = (1ULL << ( 21 )) , kHasNameMapNode = (1ULL << ( 22 )) , kHasCustomStreamerMember = (1ULL << ( 23 ))
}
 
- Public Types inherited from TDictionary
typedef const void * DeclId_t
 
enum class  EMemberSelection { kNoUsingDecls , kOnlyUsingDecls , kAlsoUsingDecls }
 Kinds of members to include in lists. More...
 
enum  ESTLType {
  kNone = ROOT::kNotSTL , kVector = ROOT::kSTLvector , kList = ROOT::kSTLlist , kForwardlist = ROOT::kSTLforwardlist ,
  kDeque = ROOT::kSTLdeque , kMap = ROOT::kSTLmap , kMultimap = ROOT::kSTLmultimap , kSet = ROOT::kSTLset ,
  kMultiset = ROOT::kSTLmultiset , kUnorderedSet = ROOT::kSTLunorderedset , kUnorderedMultiset = ROOT::kSTLunorderedmultiset , kUnorderedMap = ROOT::kSTLunorderedmap ,
  kUnorderedMultimap = ROOT::kSTLunorderedmultimap , kBitset = ROOT::kSTLbitset
}
 
- Public Types inherited from TObject
enum  {
  kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 ,
  kBitMask = 0x00ffffff
}
 
enum  { kSingleKey = (1ULL << ( 0 )) , kOverwrite = (1ULL << ( 1 )) , kWriteDelete = (1ULL << ( 2 )) }
 
enum  EDeprecatedStatusBits { kObjInCanvas = (1ULL << ( 3 )) }
 
enum  EStatusBits {
  kCanDelete = (1ULL << ( 0 )) , kMustCleanup = (1ULL << ( 3 )) , kIsReferenced = (1ULL << ( 4 )) , kHasUUID = (1ULL << ( 5 )) ,
  kCannotPick = (1ULL << ( 6 )) , kNoContextMenu = (1ULL << ( 8 )) , kInvalidObject = (1ULL << ( 13 ))
}
 
- Protected Types inherited from TObject
enum  { kOnlyPrepStep = (1ULL << ( 3 )) }
 
- Protected Member Functions inherited from TQObject
virtual void * GetSender ()
 
virtual const char * GetSenderClassName () const
 
- Protected Member Functions inherited from TClass
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.
 
- Protected Member Functions inherited from TDictionary
Bool_t UpdateInterpreterStateMarker ()
 the Cling ID of the transaction that last updated the object
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected).
 
void MakeZombie ()
 
- Static Protected Member Functions inherited from TQObject
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.
 
- Protected Attributes inherited from TQObject
TListfListOfConnections
 list of signals from this object
 
TListfListOfSignals
 
Bool_t fSignalsBlocked
 list of connections to this object
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 
- Static Protected Attributes inherited from TQObject
static Bool_t fgAllSignalsBlocked = kFALSE
 flag used for suppression of signals
 

#include <TQClass.h>

Inheritance diagram for TQClass:
[legend]

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

◆ Class()

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

◆ Class_Name()

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

◆ Class_Version()

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

Definition at line 51 of file TQClass.h.

◆ DeclFileName()

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

Definition at line 51 of file TQClass.h.

◆ IsA()

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

Reimplemented from TQObject.

Definition at line 51 of file TQClass.h.

◆ operator=()

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

◆ Streamer()

void TQClass::Streamer ( TBuffer R__b)
overridevirtual

Stream an object of class TQObject.

Reimplemented from TQObject.

◆ StreamerNVirtual()

void TQClass::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 51 of file TQClass.h.

Friends And Related Symbol Documentation

◆ TQObject

friend class TQObject
friend

Definition at line 39 of file TQClass.h.

  • core/base/inc/TQClass.h