103 if (!
fInfo)
return 0;
113 if (!
fInfo)
return nullptr;
122 if (!
fInfo)
return nullptr;
137 DataMemberInfo_t *info =
gInterpreter->DataMemberInfo_Factory(newId,
nullptr);
140 return newId !=
nullptr;
142 return fInfo !=
nullptr;
150 if (!
fInfo)
return 0;
188 static TList fEarlyRegisteredGlobals;
190 static bool earlyRegisteredGlobalsSetOwner
192 (
void) earlyRegisteredGlobalsSetOwner;
194 return fEarlyRegisteredGlobals;
205 gROOT->GetListOfGlobals()->
Add(gmf);
typedef void(GLAPIENTRYP _GLUfuncptr)(void)
R__EXTERN TInterpreter * gCling
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
This class defines an abstract interface that must be implemented by all classes that contain diction...
Bool_t UpdateInterpreterStateMarker()
the Cling ID of the transaction that last updated the object
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,...
Global variables class (global variables are obtained from CINT).
virtual DeclId_t GetDeclId() const
virtual Int_t GetArrayDim() const
Return number of array dimensions.
TGlobal(DataMemberInfo_t *info=nullptr)
pointer to CINT data member info
virtual const char * GetTypeName() const
Get type of global variable, e,g.: "class TDirectory*" -> "TDirectory".
virtual ~TGlobal()
TGlobal dtor deletes adopted CINT DataMemberInfo object.
virtual bool Update(DataMemberInfo_t *info)
Update the TFunction to reflect the new info.
virtual Long_t Property() const
Get property description word. For meaning of bits see EProperty.
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.
virtual void * GetAddress() const
Return address of global.
virtual const char * GetFullTypeName() const
Get full type description of global variable, e,g.: "class TDirectory*".
virtual DataMemberInfo_t * DataMemberInfo_FactoryCopy(DataMemberInfo_t *) const
virtual const char * DataMemberInfo_Name(DataMemberInfo_t *) const
virtual const char * DataMemberInfo_TypeName(DataMemberInfo_t *) const
virtual Longptr_t DataMemberInfo_Offset(DataMemberInfo_t *) const
virtual Long_t DataMemberInfo_Property(DataMemberInfo_t *) const
virtual int DataMemberInfo_ArrayDim(DataMemberInfo_t *) const
virtual void DataMemberInfo_Delete(DataMemberInfo_t *) const
virtual int DataMemberInfo_MaxIndex(DataMemberInfo_t *, Int_t) const
virtual const char * DataMemberInfo_Title(DataMemberInfo_t *) const
virtual const char * TypeName(const char *s)=0
virtual void Add(TObject *obj)
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
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).