38 class TMethod :
public TFunction {
42 EMenuItemKind fMenuItem;
44 TMethodCall *fGetterMethod;
45 TMethodCall *fSetterMethod;
47 void CreateSignature();
48 void SetMenuItem(
const char *docstring);
50 TMethod(MethodInfo_t *info = 0, TClass *cl = 0);
51 TMethod(
const TMethod &org);
52 TMethod& operator=(
const TMethod &rhs);
54 virtual TObject *Clone(
const char *newname=
"")
const;
55 TClass *GetClass()
const {
return fClass; }
56 EMenuItemKind IsMenuItem()
const {
return fMenuItem; }
57 virtual Bool_t IsValid();
58 virtual const char *GetCommentString();
59 virtual const char *Getter()
const {
return fGetter; }
60 virtual TMethodCall *GetterMethod();
61 virtual TMethodCall *SetterMethod();
62 virtual TDataMember *FindDataMember();
63 virtual TList *GetListOfMethodArgs();
64 virtual void SetMenuItem(EMenuItemKind menuItem) {fMenuItem=menuItem;}
66 virtual Bool_t Update(MethodInfo_t *info);