Logo ROOT   6.12/07
Reference Guide
List of all members | Public Member Functions | Protected Attributes | List of all members
ROOT::Experimental::Detail::TArgsMenuItem Class Reference

Definition at line 101 of file TMenuItem.hxx.

Public Member Functions

 TArgsMenuItem ()=default
 Default constructor. More...
 
 TArgsMenuItem (const std::string &name, const std::string &title)
 
virtual ~TArgsMenuItem ()
 virtual destructor need for vtable, used when vector of TMenuItem* is stored More...
 
void AddArg (const TMenuArgument &arg)
 
- Public Member Functions inherited from ROOT::Experimental::Detail::TMenuItem
 TMenuItem ()=default
 Default constructor. More...
 
 TMenuItem (const std::string &name, const std::string &title)
 Create menu item with the name and title name used to display item in the object context menu, title shown as hint info for that item. More...
 
virtual ~TMenuItem ()
 virtual destructor need for vtable, used when vector of TMenuItem* is stored More...
 
const std::string & GetExec () const
 Returns execution string for the menu item. More...
 
const std::string & GetName () const
 Returns menu item name. More...
 
void SetExec (const std::string &exec)
 Set execution string with all required arguments, which will be executed when menu item is selected. More...
 

Protected Attributes

std::vector< TMenuArgumentfArgs
 
- Protected Attributes inherited from ROOT::Experimental::Detail::TMenuItem
std::string fExec
 execute when item is activated More...
 
std::string fName
 name of the menu item More...
 
std::string fTitle
 title of menu item More...
 

#include <ROOT/TMenuItem.hxx>

Inheritance diagram for ROOT::Experimental::Detail::TArgsMenuItem:
[legend]

Constructor & Destructor Documentation

◆ TArgsMenuItem() [1/2]

ROOT::Experimental::Detail::TArgsMenuItem::TArgsMenuItem ( )
default

Default constructor.

◆ TArgsMenuItem() [2/2]

ROOT::Experimental::Detail::TArgsMenuItem::TArgsMenuItem ( const std::string &  name,
const std::string &  title 
)
inline

Definition at line 109 of file TMenuItem.hxx.

◆ ~TArgsMenuItem()

virtual ROOT::Experimental::Detail::TArgsMenuItem::~TArgsMenuItem ( )
inlinevirtual

virtual destructor need for vtable, used when vector of TMenuItem* is stored

Definition at line 112 of file TMenuItem.hxx.

Member Function Documentation

◆ AddArg()

void ROOT::Experimental::Detail::TArgsMenuItem::AddArg ( const TMenuArgument arg)
inline

Definition at line 114 of file TMenuItem.hxx.

Member Data Documentation

◆ fArgs

std::vector<TMenuArgument> ROOT::Experimental::Detail::TArgsMenuItem::fArgs
protected

Definition at line 103 of file TMenuItem.hxx.

Libraries for ROOT::Experimental::Detail::TArgsMenuItem:
[legend]

The documentation for this class was generated from the following file: