Logo ROOT   6.14/05
Reference Guide
List of all members | Public Member Functions | Protected Attributes | List of all members
ROOT::Experimental::TMenuItems Class Reference

Definition at line 121 of file TMenuItem.hxx.

Public Member Functions

 TMenuItems ()=default
 Default constructor. More...
 ~TMenuItems ()
void Add (Detail::TMenuItem *item)
void AddChkMenuItem (const std::string &name, const std::string &title, bool checked, const std::string &toggle)
void AddMenuItem (const std::string &name, const std::string &title, const std::string &exec)
void Cleanup ()
void PopulateObjectMenu (void *obj, TClass *cl)
std::string ProduceJSON ()
unsigned Size () const

Protected Attributes

std::vector< Detail::TMenuItem * > fItems
 list of items in the menu More...

#include <ROOT/TMenuItem.hxx>

Constructor & Destructor Documentation

◆ TMenuItems()

ROOT::Experimental::TMenuItems::TMenuItems ( )

Default constructor.

◆ ~TMenuItems()

ROOT::Experimental::TMenuItems::~TMenuItems ( )

Definition at line 128 of file TMenuItem.hxx.

Member Function Documentation

◆ Add()

void ROOT::Experimental::TMenuItems::Add ( Detail::TMenuItem item)

Definition at line 130 of file TMenuItem.hxx.

◆ AddChkMenuItem()

void ROOT::Experimental::TMenuItems::AddChkMenuItem ( const std::string &  name,
const std::string &  title,
bool  checked,
const std::string &  toggle 

Definition at line 139 of file TMenuItem.hxx.

◆ AddMenuItem()

void ROOT::Experimental::TMenuItems::AddMenuItem ( const std::string &  name,
const std::string &  title,
const std::string &  exec 

Definition at line 132 of file TMenuItem.hxx.

◆ Cleanup()

void ROOT::Experimental::TMenuItems::Cleanup ( )

Definition at line 26 of file TMenuItem.cxx.

◆ PopulateObjectMenu()

void ROOT::Experimental::TMenuItems::PopulateObjectMenu ( void obj,
TClass cl 

Definition at line 33 of file TMenuItem.cxx.

◆ ProduceJSON()

std::string ROOT::Experimental::TMenuItems::ProduceJSON ( )

Definition at line 104 of file TMenuItem.cxx.

◆ Size()

unsigned ROOT::Experimental::TMenuItems::Size ( ) const

Definition at line 146 of file TMenuItem.hxx.

Member Data Documentation

◆ fItems

std::vector<Detail::TMenuItem *> ROOT::Experimental::TMenuItems::fItems

list of items in the menu

Definition at line 123 of file TMenuItem.hxx.

Libraries for ROOT::Experimental::TMenuItems:

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