#ifndef ROOT_TMethod
#define ROOT_TMethod
#ifndef ROOT_TFunction
#include "TFunction.h"
#endif
class TList;
class TDataMember;
class TMethodCall;
class TClass;
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(MethodInfo_t *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
Last change: Wed Jun 25 08:49:34 2008
Last generated: 2008-06-25 08:49
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.