TMethodArg
class description - source file - inheritance tree
    public:
               TMethodArg TMethodArg(G__MethodArgInfo* info = 0, TFunction* method = 0)
               TMethodArg TMethodArg(TMethodArg&)
             virtual void ~TMethodArg()
           static TClass* Class()
            virtual Int_t Compare(const TObject* obj) const
             TDataMember* GetDataMember() const
              const char* GetDefault() const
              const char* GetFullTypeName() const
               TFunction* GetMethod() const
      virtual const char* GetName() const
                   TList* GetOptions() const
      virtual const char* GetTitle() const
              const char* GetTypeName() const
          virtual ULong_t Hash() const
          virtual TClass* IsA() const
           virtual Long_t Property() const
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
    private:
      G__MethodArgInfo* fInfo        pointer to CINT method argument info
             TFunction* fMethod      pointer to the method or global function
           TDataMember* fDataMember  TDataMember pointed by this arg,to get values and options from.
                                                                      
  Each ROOT method (see TMethod) has a linked list of its arguments.  
  This class describes one single method argument.                    
  The method argument info is obtained via the CINT api.              
  See class TCint.                                                    
                                                                      
  The method argument information is used a.o. in the TContextMenu    
  and THtml classes.                                                  
                                                                      
 TMethodArg(G__MethodArgInfo *info, TFunction *method) : TDictionary()
 Default TMethodArg ctor. TMethodArgs are constructed in TFunction
 via a call to TCint::CreateListOfMethodArgs().
 ~TMethodArg()
 TMethodArg dtor deletes adopted G__MethodArgInfo object.
const char* GetDefault() const
 Get default value of method argument.
const char* GetName() const
 Get method argument name (can be empty string or 0).
const char* GetTypeName() const
 Get type of method argument, e.g.: "class TDirectory*" -> "TDirectory"
 Result needs to be used or copied immediately.
const char* GetFullTypeName() const
 Get full type description of method argument, e.g.: "class TDirectory*".
const char* GetTitle() const
 Get method argument description. This method always returns 0.
 However, for backward compatibility, we currently return
 GetFullTypeName().
Int_t Compare(const TObject *obj) const
 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() const
 Return hash value for TDataType based on its name.
Long_t Property() const
 Get property description word. For meaning of bits see EProperty.
TList* GetOptions() const
 Returns list of possible options - according to pointed datamember.
 If there is no datamember field assigned to this methodarg - returns 0.
TDataMember* GetDataMember() const
 Returns TDataMember pointed by this methodarg.
 If you want to specify list of options or current value for your
 MethodArg (i.e. it is used as initial values in argument-asking dialogs
 popped up from context-meny),you can get this value from one of data
 members of the class.
 The only restriction is, that this DataMember object must have its
 Getter/Setter methods set-up correctly - for details look at TDataMember.
 To learn how to specify the data member to which the argument should
 "point", look at TMethod. This is TMethod which sets up fDataMember,
 so it could work correctly.
Inline Functions
         TFunction* GetMethod() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
         TMethodArg TMethodArg(TMethodArg&)
Author: Rene Brun 04/02/95
Last update: root/meta:$Name:  $:$Id: TMethodArg.cxx,v 1.2 2000/12/13 15:13:52 brun Exp $
Copyright  (C) 1995-2000, Rene Brun and Fons Rademakers.               *
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.