ConfigTree (TemplateTree *tt, bool verbose)
| ConfigTree |
~ConfigTree ()
| ~ConfigTree |
ConfigTree& operator= (const ConfigTree& orig_tree)
| operator= |
bool parse (const string& configuration, const string& config_file,
string& errmsg)
| parse |
void push_path ()
| push_path |
void extend_path (const string& segment)
| extend_path |
void pop_path ()
| pop_path |
void add_node (const string& nodename)
throw (ParseError) | add_node |
void terminal_value (char* value, int type)
throw (ParseError) | terminal_value |
list<string> path_as_segments ()
| path_as_segments |
[const]
const TemplateTreeNode*
find_template (const list<string>& path_segments)
| find_template |
[const]
ConfigTreeNode& root_node ()
| root_node |
const ConfigTreeNode& const_root_node ()
| const_root_node |
[const]
ConfigTreeNode* find_node (const list<string>& path)
| find_node |
const ConfigTreeNode* find_config_module (const string& module_name)
| find_config_module |
[const]
string show_subtree (const list<string>& path_segments)
| show_subtree |
[const]
string show_tree ()
| show_tree |
[const]
string show_unannotated_tree ()
| show_unannotated_tree |
[const]
string tree_str ()
| tree_str |
[const]
bool apply_deltas (uid_t user_id, const string& deltas,
bool provisional_change, string& response)
| apply_deltas |
bool apply_deletions (uid_t user_id, const string& deletions,
bool provisional_change, string& response)
| apply_deletions |
void expand_varname_to_matchlist (const string& varname,
list<string>& matches)
| expand_varname_to_matchlist |
[const]
void retain_different_nodes (const ConfigTree& them,
bool retain_changed_values)
| retain_different_nodes |
void retain_common_nodes (const ConfigTree& them)
| retain_common_nodes |
void add_default_children ()
| add_default_children |
string path_as_string (const list<string>& path_segments)
| path_as_string |
[protected const]
string current_path_as_string ()
| current_path_as_string |
[protected const]
const ConfigTreeNode* find_config_node (const list<string>& path_segments)
| find_config_node |
[protected const]
string _config_file | _config_file |
[protected]
TemplateTree* _template_tree | _template_tree |
[protected]
ConfigTreeNode _root_node | _root_node |
[protected]
ConfigTreeNode* _current_node | _current_node |
[protected]
list<string> _path_segments | _path_segments |
[protected]
list<size_t> _segment_lengths | _segment_lengths |
[protected]
bool _verbose | _verbose |
[protected]