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