43 fInfo = gCling->DataMemberInfo_FactoryCopy(rhs.fInfo);
44 SetName(gCling->DataMemberInfo_Name(fInfo));
45 SetTitle(gCling->DataMemberInfo_Title(fInfo));
82 return (
void *)
gCling->DataMemberInfo_Offset(
fInfo);
106 if (!
fInfo)
return 0;
116 if (!
fInfo)
return nullptr;
125 if (!
fInfo)
return nullptr;
140 DataMemberInfo_t *info =
gInterpreter->DataMemberInfo_Factory(newId,
nullptr);
143 return newId !=
nullptr;
145 return fInfo !=
nullptr;
153 if (!
fInfo)
return 0;
191 static TList fEarlyRegisteredGlobals;
193 static bool earlyRegisteredGlobalsSetOwner
195 (void) earlyRegisteredGlobalsSetOwner;
197 return fEarlyRegisteredGlobals;
208 gROOT->GetListOfGlobals()->Add(gmf);
int Int_t
Signed integer 4 bytes (int).
long Long_t
Signed long integer 4 bytes (long). Size depends on architecture.
bool Bool_t
Boolean (0=false, 1=true) (bool).
externTInterpreter * gCling
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
Bool_t UpdateInterpreterStateMarker()
static void Add(TGlobalMappedFunction *gmf)
Add to GetEarlyRegisteredGlobals() if gROOT is not yet initialized; add to gROOT->GetListOfGlobals() ...
TGlobalMappedFunction(const char *name, const char *type, GlobalFunc_t funcPtr)
Constructor.
static TList & GetEarlyRegisteredGlobals()
Returns list collected globals Used to storeTGlobalMappedFunctions from other libs,...
virtual DeclId_t GetDeclId() const
virtual Int_t GetArrayDim() const
Return number of array dimensions.
TGlobal(DataMemberInfo_t *info=nullptr)
Default TGlobal ctor.
virtual const char * GetTypeName() const
Get type of global variable, e,g.: "class TDirectory*" -> "TDirectory".
virtual ~TGlobal()
TGlobal dtor deletes adopted CINT DataMemberInfo object.
DataMemberInfo_t * fInfo
!pointer to CINT data member info
virtual bool Update(DataMemberInfo_t *info)
Update the TFunction to reflect the new info.
virtual Int_t GetMaxIndex(Int_t dim) const
Return maximum index for array dimension "dim".
virtual Bool_t IsValid()
Return true if this global object is pointing to a currently loaded global.
TGlobal & operator=(const TGlobal &)
Assignment operator.
Long_t Property() const override
Get property description word. For meaning of bits see EProperty.
virtual void * GetAddress() const
Return address of global.
virtual const char * GetFullTypeName() const
Get full type description of global variable, e,g.: "class TDirectory*".
void Add(TObject *obj) override
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
const char * GetName() const override
Returns name of object.
const char * GetTitle() const override
Returns title of object.
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).