#ifndef ROOT_TMethod #define ROOT_TMethod //+SEQ,CopyRight,T=NOINCLUDE. ////////////////////////////////////////////////////////////////////////// // // // TMethod // // // // Dictionary of a member function (method). // // // ////////////////////////////////////////////////////////////////////////// #ifndef ROOT_TFunction //*KEEP,TFunction. #include "TFunction.h" //*KEND. #endif #ifndef ROOT_TString //*KEEP,TString. #include "TString.h" //*KEND. #endif class TList; class TDataMember; class TClass; class G__MethodInfo; enum EMenuItemKind { kMenuNoMenu = 0, kMenuDialog, kMenuToggle, kMenuSubMenu }; class TMethod : public TFunction { private: TClass *fClass; //pointer to the class EMenuItemKind fMenuItem; //type of menuitem in context menu void CreateSignature(); public: TMethod(G__MethodInfo *info = 0, TClass *cl = 0); virtual ~TMethod() { } TClass *GetClass() const { return fClass; } EMenuItemKind IsMenuItem() const { return fMenuItem; } virtual const Text_t *GetCommentString(); virtual TDataMember *FindDataMember(); virtual TList *GetListOfMethodArgs(); ClassDef(TMethod,0) //Dictionary for a class member function (method) }; #endif