#ifndef ROOT_TMethod
#define ROOT_TMethod
#ifndef ROOT_TFunction
#include "TFunction.h"
#endif
#ifndef ROOT_TString
#include "TString.h"
#endif
class TList;
class TDataMember;
class TMethodCall;
class TClass;
class G__MethodInfo;
enum EMenuItemKind {
kMenuNoMenu = 0,
kMenuDialog,
kMenuToggle,
kMenuSubMenu
};
class TMethod : public TFunction {
private:
TClass *fClass;
EMenuItemKind fMenuItem;
TString fGetter;
TMethodCall *fGetterMethod;
TMethodCall *fSetterMethod;
void CreateSignature();
public:
TMethod(G__MethodInfo *info = 0, TClass *cl = 0);
TMethod(const TMethod &org);
TMethod& operator=(const TMethod &rhs);
virtual ~TMethod();
virtual TObject *Clone(const char *newname="") const;
TClass *GetClass() const { return fClass; }
EMenuItemKind IsMenuItem() const { return fMenuItem; }
virtual const char *GetCommentString();
virtual const char *Getter() const { return fGetter; }
virtual TMethodCall *GetterMethod();
virtual TMethodCall *SetterMethod();
virtual TDataMember *FindDataMember();
virtual TList *GetListOfMethodArgs();
virtual void SetMenuItem(EMenuItemKind menuItem) {fMenuItem=menuItem;}
ClassDef(TMethod,0)
};
#endif
ROOT page - Class index - Class Hierarchy - 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.