TFunction
class description - source file - inheritance tree
protected:
virtual void CreateSignature()
public:
TFunction TFunction(G__MethodInfo* info = 0)
TFunction TFunction(TFunction&)
virtual void ~TFunction()
TClass* Class()
virtual Int_t Compare(TObject* obj)
TList* GetListOfMethodArgs()
virtual const char* GetName() const
Int_t GetNargs() const
Int_t GetNargsOpt() const
const char* GetReturnTypeName() const
const char* GetSignature() const
virtual const char* GetTitle() const
virtual ULong_t Hash()
void* InterfaceMethod() const
virtual TClass* IsA() const
virtual Long_t Property() const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
protected:
G__MethodInfo* fInfo pointer to CINT function info
TString fSignature string containing function signature
TList* fMethodArgs list of function arguments
See also
-
TMethod
Global functions class (global functions are obtaine from CINT).
This class describes one single global function.
The TROOT class contains a list of all currently defined global
functions (accessible via TROOT::GetListOfGlobalFunctions()).
TFunction(G__MethodInfo *info) : TDictionary()
Default TFunction ctor. TFunctions are constructed in TROOT via
a call to TCint::UpdateListOfGlobalFunctions().
~TFunction()
TFunction dtor deletes adopted G__MethodInfo.
void CreateSignature()
Using the CINT method arg information to create a complete signature string.
const char* GetSignature()
Return signature of function.
TList* GetListOfMethodArgs()
Return list containing the TMethodArgs of a TFunction.
const char* GetName() const
Get function name.
const char* GetTitle() const
Get function description string (comment).
const char* GetReturnTypeName() const
Get full type description of function return type, e,g.: "class TDirectory*".
Int_t GetNargs() const
Number of function arguments.
Int_t GetNargsOpt() const
Number of function optional (default) arguments.
Int_t Compare(TObject *obj)
Compare to other object. Returns 0<, 0 or >0 depending on
whether "this" is lexicographically less than, equal to, or
greater than obj.
ULong_t Hash()
Return hash value for TFunction based on its name.
Long_t Property() const
Get property description word. For meaning of bits see EProperty.
void* InterfaceMethod() const
Return pointer to the interface method. Using this pointer we
can find which TFunction belongs to a G__MethodInfo object.
Both need to have the same InterfaceMethod pointer.
Inline Functions
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
TFunction TFunction(TFunction&)
Author: Fons Rademakers 07/02/97
Last update: 2.23/04 13/10/99 11.02.43 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.