43 while ((m = (
TMethod *)iter()) != 0) {
49 }
else if (strncmp(m->
GetName(),
"Set", 3) == 0) {
52 getter =
TString(
"Has") + getter;
54 getter =
TString(
"Get") + getter;
56 getter =
TString(
"Is") + getter;
81 if (!args || (args->
GetSize() == 0)) {
87 TIter args_iter(args);
90 while ((arg = dynamic_cast<TMethodArg *>(args_iter())) != 0) {
106 TClass *cl =
gROOT->GetClass(
"std::vector<ROOT::Experimental::Detail::TMenuItem*>");
virtual const char * GetName() const
Returns name of object.
virtual const char * Getter() const
static const EReturnType kLong
Each ROOT method (see TMethod) has a linked list of its arguments.
const char * GetFullTypeName() const
Get full type description of method argument, e.g.: "class TDirectory*".
TMethod * GetMethodAllAny(const char *method)
Return pointer to method without looking at parameters.
Method or function calling interface.
virtual TList * GetListOfMethodArgs()
Returns methodarg list and additionally updates fDataMember in TMethod by calling FindDataMember();...
char * Form(const char *fmt,...)
The ROOT global object gROOT contains a list of all defined classes.
static TString ConvertToJSON(const TObject *obj, Int_t compact=0, const char *member_name=0)
Converts object, inherited from TObject class, to JSON string Lower digit of compact parameter define...
EMenuItemKind IsMenuItem() const
const char * GetDefault() const
Get default value of method argument.
void Execute(const char *, const char *, int *=0)
Execute method on this object with the given parameter string, e.g.
Each ROOT class (see TClass) has a linked list of methods.
void GetMenuItems(TList *listitems)
Returns list of methods accessible by context menu.
virtual Int_t GetSize() const
EReturnType ReturnType()
Returns the return type of the method.
virtual const char * GetTitle() const
Returns title of object.
const char * Data() const