#include <anatomist/object/objectmenu.h>
Definition at line 81 of file objectmenu.h.
◆ ObjectMenu() [1/3]
anatomist::ObjectMenu::ObjectMenu |
( |
| ) |
|
◆ ObjectMenu() [2/3]
anatomist::ObjectMenu::ObjectMenu |
( |
const ObjectMenu & |
| ) |
|
◆ ObjectMenu() [3/3]
anatomist::ObjectMenu::ObjectMenu |
( |
Tree & |
t | ) |
|
◆ ~ObjectMenu()
anatomist::ObjectMenu::~ObjectMenu |
( |
| ) |
|
◆ insertItem() [1/3]
void anatomist::ObjectMenu::insertItem |
( |
const std::vector< std::string > & |
inside, |
|
|
const std::string & |
text |
|
) |
| |
◆ insertItem() [2/3]
void anatomist::ObjectMenu::insertItem |
( |
const std::vector< std::string > & |
inside, |
|
|
const std::string & |
text, |
|
|
ObjectMenuCallback * |
cbk |
|
) |
| |
inserts a terminal menu (with callback).
The ObjectMenu takes ownership of the callback, even if it fails to insert it in the menu tree.
◆ insertItem() [3/3]
inserts a terminal menu (with callback as a function)
◆ item()
Tree* anatomist::ObjectMenu::item |
( |
const std::vector< std::string > & |
pos, |
|
|
bool |
createSubtrees = true |
|
) |
| |
◆ operator=()
◆ releaseTree()
Tree* anatomist::ObjectMenu::releaseTree |
( |
| ) |
|
returns the internal tree and release ownership on it
◆ removeItem()
void anatomist::ObjectMenu::removeItem |
( |
const std::vector< std::string > & |
inside, |
|
|
const std::string & |
text |
|
) |
| |
◆ tree() [1/2]
Tree* anatomist::ObjectMenu::tree |
( |
| ) |
|
◆ tree() [2/2]
const Tree* anatomist::ObjectMenu::tree |
( |
| ) |
const |
The documentation for this class was generated from the following file: