#include <FlagTreeItem.h>
|
static std::map< std::string, bool, ci_comparison > | create_flagmap (FlagTreeItem *root) |
|
static void | create_parse_map (FlagTreeItem *root, std::map< std::string, bool, ci_comparison > &map) |
|
static void | read_recursive (FlagTreeItem *root, const std::map< std::string, bool, ci_comparison > &map) |
|
static void | write_recursive (const FlagTreeItem *root, std::string &str) |
|
static READ_FLAG | readFlag (std::map< std::string, bool, FlagTreeItem::ci_comparison > &parseMap, std::string flag) |
|
◆ m_child
◆ m_hideName
◆ m_parent
◆ m_showName
type::vector<std::string> sofa::core::visual::FlagTreeItem::m_showName |
|
protected |
◆ m_state
tristate sofa::core::visual::FlagTreeItem::m_state |
|
protected |
◆ FlagTreeItem()
sofa::core::visual::FlagTreeItem::FlagTreeItem |
( |
const std::string & |
showName, |
|
|
const std::string & |
hideName, |
|
|
FlagTreeItem * |
parent = nullptr |
|
) |
| |
◆ addAlias()
void sofa::core::visual::FlagTreeItem::addAlias |
( |
sofa::type::vector< std::string > & |
name, |
|
|
const std::string & |
newAlias |
|
) |
| |
◆ addAliasHide()
void sofa::core::visual::FlagTreeItem::addAliasHide |
( |
const std::string & |
newAlias | ) |
|
◆ addAliasShow()
void sofa::core::visual::FlagTreeItem::addAliasShow |
( |
const std::string & |
newAlias | ) |
|
◆ create_flagmap()
◆ create_parse_map()
◆ getLabels()
void sofa::core::visual::FlagTreeItem::getLabels |
( |
sofa::type::vector< std::string > & |
labels | ) |
const |
◆ propagateStateDown()
void sofa::core::visual::FlagTreeItem::propagateStateDown |
( |
FlagTreeItem * |
origin | ) |
|
|
protected |
◆ propagateStateUp()
void sofa::core::visual::FlagTreeItem::propagateStateUp |
( |
FlagTreeItem * |
origin | ) |
|
|
protected |
◆ read() [1/2]
std::istream & sofa::core::visual::FlagTreeItem::read |
( |
std::istream & |
in | ) |
|
◆ read() [2/2]
std::istream & sofa::core::visual::FlagTreeItem::read |
( |
std::istream & |
in, |
|
|
const std::function< void(std::string)> & |
unknownFlagFunction, |
|
|
const std::function< void(std::string, std::string)> & |
incorrectLetterCaseFunction |
|
) |
| |
◆ read_recursive()
◆ readFlag()
◆ setValue()
void sofa::core::visual::FlagTreeItem::setValue |
( |
const tristate & |
state | ) |
|
◆ state() [1/2]
tristate& sofa::core::visual::FlagTreeItem::state |
( |
| ) |
|
|
inline |
◆ state() [2/2]
const tristate& sofa::core::visual::FlagTreeItem::state |
( |
| ) |
const |
|
inline |
◆ write()
std::ostream & sofa::core::visual::FlagTreeItem::write |
( |
std::ostream & |
os | ) |
const |
◆ write_recursive()
void sofa::core::visual::FlagTreeItem::write_recursive |
( |
const FlagTreeItem * |
root, |
|
|
std::string & |
str |
|
) |
| |
|
staticprotected |
◆ READ_FLAG
Enumerator |
---|
KNOWN_FLAG | |
INCORRECT_LETTER_CASE | |
UNKNOWN_FLAG | |
◆ operator<<
SOFA_CORE_API friend std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const FlagTreeItem & |
root |
|
) |
| |
|
friend |
◆ operator>>
SOFA_CORE_API friend std::istream& operator>> |
( |
std::istream & |
in, |
|
|
FlagTreeItem & |
root |
|
) |
| |
|
friend |