99 if (newname && strlen(newname)) newobj->
SetName(newname);
130 Fatal(
"GetListOfMethodArgs",
"gInterpreter not initialized");
225 MethodInfo_t *info =
gInterpreter->MethodInfo_Factory(newId);
302 Error(
"Update",
"TFunction object updated with the 'wrong' MethodInfo (%s vs %s).",
virtual void CreateSignature()
Using the CINT method arg information to create a complete signature string.
virtual TObject * Clone(const char *newname="") const
Clone method.
virtual void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
virtual void MethodInfo_CreateSignature(MethodInfo_t *, TString &) const
Bool_t UpdateInterpreterStateMarker()
the Cling ID of the transaction that last updated the object
const char * GetReturnTypeName() const
Get full type description of function return type, e,g.: "class TDirectory*".
R__EXTERN TVirtualMutex * gInterpreterMutex
virtual void SetName(const char *name)
Set the name of the TNamed.
virtual Int_t GetEntries() const
TFunction(MethodInfo_t *info=0)
Default TFunction ctor.
Each ROOT method (see TMethod) has a linked list of its arguments.
virtual const char * MethodInfo_Name(MethodInfo_t *) const
virtual void MethodInfo_Delete(MethodInfo_t *) const
TFunction & operator=(const TFunction &rhs)
Assignment operator.
void * InterfaceMethod() const
Return pointer to the interface method.
virtual int MethodArgInfo_Next(MethodArgInfo_t *) const
The TNamed class is the base class for all named ROOT classes.
std::string GetReturnTypeNormalizedName() const
Get the normalized name of the return type.
Long_t Property() const
Get property description word. For meaning of bits see EProperty.
virtual const char * MethodInfo_Title(MethodInfo_t *) const
virtual MethodArgInfo_t * MethodArgInfo_FactoryCopy(MethodArgInfo_t *) const
virtual void Print(Option_t *option="") const
Print TNamed name and title.
virtual int MethodInfo_NArg(MethodInfo_t *) const
virtual void * MethodInfo_InterfaceMethod(MethodInfo_t *) const
virtual void ls(Option_t *option="") const
List TFunction name and title.
virtual void ls(Option_t *option="") const
List TNamed name and title.
Int_t GetNargs() const
Number of function arguments.
This class defines an abstract interface that must be implemented by all classes that contain diction...
virtual std::string MethodInfo_TypeNormalizedName(MethodInfo_t *) const
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
static void IndentLevel()
Functions used by ls() to indent an object hierarchy.
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
virtual bool Update(MethodInfo_t *info)
Update the TFunction to reflect the new info.
virtual const char * MethodInfo_GetMangledName(MethodInfo_t *) const
virtual MethodInfo_t * MethodInfo_FactoryCopy(MethodInfo_t *) const
virtual const char * MethodInfo_GetPrototype(MethodInfo_t *) const
TList * GetListOfMethodArgs()
Return list containing the TMethodArgs of a TFunction.
virtual const char * MethodInfo_TypeName(MethodInfo_t *) const
virtual ~TFunction()
TFunction dtor deletes adopted CINT MethodInfo.
void Update(MethodArgInfo_t *info)
Update fInfo (to 0 for unloading and non-zero for reloading).
#define R__LOCKGUARD(mutex)
virtual const char * GetPrototype() const
Returns the prototype of a function as defined by CINT, or 0 in case of error.
virtual Long_t MethodInfo_ExtraProperty(MethodInfo_t *) const =0
Long_t ExtraProperty() const
Get property description word. For meaning of bits see EProperty.
Mother of all ROOT objects.
virtual void Print(Option_t *option="") const
Print TFunction name and title.
virtual const char * GetMangledName() const
Returns the mangled name as defined by CINT, or 0 in case of error.
Global functions class (global functions are obtained from CINT).
virtual TypeInfo_t * MethodInfo_Type(MethodInfo_t *) const
virtual int MethodInfo_NDefaultArg(MethodInfo_t *) const
virtual void Fatal(const char *method, const char *msgfmt,...) const
Issue fatal error message.
R__EXTERN TInterpreter * gCling
virtual Bool_t IsValid()
Return true if this function object is pointing to a currently loaded function.
virtual Bool_t MethodArgInfo_IsValid(MethodArgInfo_t *) const
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual MethodArgInfo_t * MethodArgInfo_Factory() const
Int_t GetNargsOpt() const
Number of function optional (default) arguments.
DeclId_t GetDeclId() const
const char * GetSignature()
Return signature of function.
const char * Data() const
virtual Long_t MethodInfo_Property(MethodInfo_t *) const =0