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