$search
#include <Configuration.h>
Public Types | |
| enum | Type { Node = 0, Leaf = 1, Comment = 2 } |
Public Member Functions | |
| ConfigNode (const ConfigNode &other) | |
| ConfigNode (std::string name, boost::any &value) | |
| ConfigNode (Type type, std::string name) | |
| ConfigNode (std::string name) | |
| ConfigNode * | create (std::string name, boost::any &value) |
| ConfigNode * | create (Type type, std::string name) |
| ConfigNode * | create (std::string name) |
| std::vector< ConfigNodePtr > * | getChildren () |
| int | getDepth () const |
| const std::string & | getName () const |
| ConfigNode * | getParent () |
| Type | getType () const |
| const boost::any & | getValue () const |
| ConfigNode & | operator= (const ConfigNode &other) |
| void | setParent (ConfigNode *parent) |
| void | setValue (boost::any &value) |
| ~ConfigNode () | |
Protected Attributes | |
| std::vector< ConfigNodePtr > | children |
| int | depth |
| std::string | name |
| ConfigNode * | parent |
| Type | type |
| boost::any | value |
Definition at line 58 of file Configuration.h.
Definition at line 62 of file Configuration.h.
| castor::ConfigNode::ConfigNode | ( | std::string | name | ) | [inline] |
Definition at line 79 of file Configuration.h.
| castor::ConfigNode::ConfigNode | ( | Type | type, | |
| std::string | name | |||
| ) | [inline] |
Definition at line 84 of file Configuration.h.
| castor::ConfigNode::ConfigNode | ( | std::string | name, | |
| boost::any & | value | |||
| ) | [inline] |
Definition at line 89 of file Configuration.h.
| castor::ConfigNode::ConfigNode | ( | const ConfigNode & | other | ) | [inline] |
Definition at line 94 of file Configuration.h.
| castor::ConfigNode::~ConfigNode | ( | ) | [inline] |
Definition at line 100 of file Configuration.h.
| ConfigNode* castor::ConfigNode::create | ( | std::string | name, | |
| boost::any & | value | |||
| ) | [inline] |
Definition at line 116 of file Configuration.h.
| ConfigNode* castor::ConfigNode::create | ( | Type | type, | |
| std::string | name | |||
| ) | [inline] |
Definition at line 110 of file Configuration.h.
| ConfigNode* castor::ConfigNode::create | ( | std::string | name | ) | [inline] |
Definition at line 104 of file Configuration.h.
| std::vector<ConfigNodePtr>* castor::ConfigNode::getChildren | ( | ) | [inline] |
Definition at line 122 of file Configuration.h.
| int castor::ConfigNode::getDepth | ( | ) | const [inline] |
Definition at line 147 of file Configuration.h.
| const std::string& castor::ConfigNode::getName | ( | ) | const [inline] |
Definition at line 143 of file Configuration.h.
| ConfigNode* castor::ConfigNode::getParent | ( | ) | [inline] |
Definition at line 126 of file Configuration.h.
| Type castor::ConfigNode::getType | ( | ) | const [inline] |
Definition at line 151 of file Configuration.h.
| const boost::any& castor::ConfigNode::getValue | ( | ) | const [inline] |
Definition at line 135 of file Configuration.h.
| ConfigNode& castor::ConfigNode::operator= | ( | const ConfigNode & | other | ) | [inline] |
Definition at line 155 of file Configuration.h.
| void castor::ConfigNode::setParent | ( | ConfigNode * | parent | ) | [inline] |
Definition at line 130 of file Configuration.h.
| void castor::ConfigNode::setValue | ( | boost::any & | value | ) | [inline] |
Definition at line 139 of file Configuration.h.
std::vector<ConfigNodePtr> castor::ConfigNode::children [protected] |
Definition at line 73 of file Configuration.h.
int castor::ConfigNode::depth [protected] |
Definition at line 74 of file Configuration.h.
std::string castor::ConfigNode::name [protected] |
Definition at line 70 of file Configuration.h.
ConfigNode* castor::ConfigNode::parent [protected] |
Definition at line 72 of file Configuration.h.
Type castor::ConfigNode::type [protected] |
Definition at line 75 of file Configuration.h.
boost::any castor::ConfigNode::value [protected] |
Definition at line 71 of file Configuration.h.