TMethod
class description - source file - inheritance tree
private:
virtual void CreateSignature()
public:
TMethod TMethod(G__MethodInfo* info = 0, TClass* cl = 0)
TMethod TMethod(TMethod&)
virtual void ~TMethod()
TClass* Class()
virtual TDataMember* FindDataMember()
TClass* GetClass()
virtual const Text_t* GetCommentString()
virtual TList* GetListOfMethodArgs()
virtual TClass* IsA()
EMenuItemKind IsMenuItem()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
private:
TClass* fClass pointer to the class
EMenuItemKind fMenuItem type of menuitem in context menu
Each ROOT class (see TClass) has a linked list of methods.
This class describes one single method (member function).
The method info is obtained via the CINT api. See class TCint.
The method information is used a.o. by the THml class and by the
TTree class.
TMethod(G__MethodInfo *info, TClass *cl) : TFunction(info)
Default TMethod ctor. TMethods are constructed in TClass.
Comment strings are pre-parsed to find out whether the method is
a contxt-menu item.
const Text_t* GetCommentString()
Returns a comment string from the class declaration.
void CreateSignature()
Using the CINT method arg information create a complete signature string.
TDataMember* FindDataMember()
Tries to guess DataMember from comment string
and Method's name <==(only if 1 Argument!).
If more then one argument=> returns pointer to the last argument.
It also sets MethodArgs' pointers to point to specified data members.
The form of comment string defining arguments is:
void XXX(Int_t x1, Float_t y2) //*ARGS={x1=>fX1,y2=>fY2}
where fX1, fY2 are data fields in the same class.
("pointers" to data members)
TList* GetListOfMethodArgs()
Returns methodarg list and additionally updates fDataMember in TMethod by
calling FindDataMember();
Inline Functions
TClass* GetClass()
EMenuItemKind IsMenuItem()
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
TMethod TMethod(TMethod&)
void ~TMethod()
Author: Rene Brun 09/02/95
Last update: 2.00/12 22/09/98 15.24.25 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.