Menu item which requires extra arguments for invoked class method.
- Author
- Sergey Linev
- Date
- 2017-06-29
- Warning
- This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
Definition at line 129 of file RMenuItems.hxx.
|
| | RArgsMenuItem ()=default |
| | Default constructor.
|
| | RArgsMenuItem (const std::string &name, const std::string &title) |
| | ~RArgsMenuItem () override |
| | virtual destructor need for vtable, used when vector of RMenuItem* is stored
|
| void | AddArg (const RMenuArgument &arg) |
| const std::string & | GetExec () const |
| | Returns execution string for the menu item.
|
| const std::string & | GetName () const |
| | Returns menu item name.
|
| void | SetClassName (const std::string &clname) |
| | Set class name for menu item, will be used to group items together.
|
| void | SetExec (const std::string &exec) |
| | Set execution string with all required arguments, which will be executed when menu item is selected.
|
#include <ROOT/RMenuItems.hxx>
◆ RArgsMenuItem() [1/2]
| ROOT::Experimental::Detail::RArgsMenuItem::RArgsMenuItem |
( |
| ) |
|
|
default |
◆ RArgsMenuItem() [2/2]
| ROOT::Experimental::Detail::RArgsMenuItem::RArgsMenuItem |
( |
const std::string & | name, |
|
|
const std::string & | title ) |
|
inline |
◆ ~RArgsMenuItem()
| ROOT::Experimental::Detail::RArgsMenuItem::~RArgsMenuItem |
( |
| ) |
|
|
inlineoverride |
virtual destructor need for vtable, used when vector of RMenuItem* is stored
Definition at line 140 of file RMenuItems.hxx.
◆ AddArg()
| void ROOT::Experimental::Detail::RArgsMenuItem::AddArg |
( |
const RMenuArgument & | arg | ) |
|
|
inline |
◆ GetExec()
| const std::string & ROOT::Experimental::Detail::RMenuItem::GetExec |
( |
| ) |
const |
|
inlineinherited |
Returns execution string for the menu item.
Definition at line 61 of file RMenuItems.hxx.
◆ GetName()
| const std::string & ROOT::Experimental::Detail::RMenuItem::GetName |
( |
| ) |
const |
|
inlineinherited |
◆ SetClassName()
| void ROOT::Experimental::Detail::RMenuItem::SetClassName |
( |
const std::string & | clname | ) |
|
|
inlineinherited |
Set class name for menu item, will be used to group items together.
Definition at line 55 of file RMenuItems.hxx.
◆ SetExec()
| void ROOT::Experimental::Detail::RMenuItem::SetExec |
( |
const std::string & | exec | ) |
|
|
inlineinherited |
Set execution string with all required arguments, which will be executed when menu item is selected.
Definition at line 52 of file RMenuItems.hxx.
◆ fArgs
| std::vector<RMenuArgument> ROOT::Experimental::Detail::RArgsMenuItem::fArgs |
|
protected |
◆ fClassName
| std::string ROOT::Experimental::Detail::RMenuItem::fClassName |
|
protectedinherited |
◆ fExec
| std::string ROOT::Experimental::Detail::RMenuItem::fExec |
|
protectedinherited |
◆ fName
| std::string ROOT::Experimental::Detail::RMenuItem::fName |
|
protectedinherited |
◆ fTitle
| std::string ROOT::Experimental::Detail::RMenuItem::fTitle |
|
protectedinherited |
The documentation for this class was generated from the following file: