Logo ROOT  
Reference Guide
No Matches
TWebArgsMenuItem Class Reference

Definition at line 99 of file TWebMenuItem.h.

Public Member Functions

 TWebArgsMenuItem (const std::string &name, const std::string &title)
 ~TWebArgsMenuItem () override=default
 virtual destructor need for vtable, used when vector of TMenuItem* is stored
std::vector< TWebMenuArgument > & GetArgs ()
- Public Member Functions inherited from TWebMenuItem
 TWebMenuItem (const std::string &name, const std::string &title)
 TWebMenuItem (const TWebMenuItem &rhs)
virtual ~TWebMenuItem ()=default
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, to which method belongs to

void SetExec (const std::string &exec)
 Set execution string with all required arguments, which will be executed when menu item is selected


Protected Attributes

std::vector< TWebMenuArgumentfArgs
- Protected Attributes inherited from TWebMenuItem
std::string fClassName
 class name
std::string fExec
 execute when item is activated
std::string fName
 name of the menu item
std::string fTitle
 title of menu item

#include <TWebMenuItem.h>

Inheritance diagram for TWebArgsMenuItem:

Constructor & Destructor Documentation

◆ TWebArgsMenuItem()

TWebArgsMenuItem::TWebArgsMenuItem ( const std::string &  name,
const std::string &  title 

Definition at line 105 of file TWebMenuItem.h.

◆ ~TWebArgsMenuItem()

TWebArgsMenuItem::~TWebArgsMenuItem ( )

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

Member Function Documentation

◆ GetArgs()

std::vector< TWebMenuArgument > & TWebArgsMenuItem::GetArgs ( )

Definition at line 110 of file TWebMenuItem.h.

Member Data Documentation

◆ fArgs

std::vector<TWebMenuArgument> TWebArgsMenuItem::fArgs

Definition at line 101 of file TWebMenuItem.h.

Libraries for TWebArgsMenuItem:

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