ConfigTree (TemplateTree *tt, bool verbose)
| ConfigTree |
~ConfigTree ()
| ~ConfigTree |
[virtual]
ConfigTree& operator= (const ConfigTree& orig_tree)
| operator= |
bool parse (const string& configuration, const string& config_file,
string& error_msg)
| parse |
void push_path ()
| push_path |
void extend_path (const string& segment, int type,
const ConfigNodeId& node_id)
| extend_path |
void pop_path ()
| pop_path |
void add_node (const string& nodename, int type,
const ConfigNodeId& node_id)
throw (ParseError) | add_node |
ConfigTreeNode* create_node (const string& segment,
const string& path,
const TemplateTreeNode* ttn,
ConfigTreeNode* parent_node,
const ConfigNodeId& node_id,
uid_t user_id, bool verbose)
| create_node |
[pure virtual]
ConfigTree* create_tree (TemplateTree *tt, bool verbose)
| create_tree |
[pure virtual]
void terminal_value (const string& value,
int type,
ConfigOperator op)
throw (ParseError) | terminal_value |
list<ConfPathSegment> path_as_segments ()
| path_as_segments |
[const]
const TemplateTreeNode*
find_template (const list<string>& path_segments)
| find_template |
[const]
const TemplateTreeNode*
find_template_by_type (const list<ConfPathSegment>& path_segments)
| find_template_by_type |
[const]
ConfigTreeNode& root_node ()
| root_node |
[pure virtual]
const ConfigTreeNode& const_root_node ()
| const_root_node |
[const pure virtual]
ConfigTreeNode* find_node (const list<string>& path)
| find_node |
ConfigTreeNode* find_config_module (const string& module_name)
| find_config_module |
string show_subtree (bool show_top, const list<string>& path_segments,
bool numbered, bool suppress_default_values)
| show_subtree |
[const]
string show_tree (bool numbered)
| show_tree |
[const]
string show_unannotated_tree (bool numbered)
| show_unannotated_tree |
[const]
string tree_str ()
| tree_str |
[const]
bool apply_deltas (uid_t user_id, const string& deltas,
bool provisional_change, bool preserve_node_id,
string& response)
| apply_deltas |
bool apply_deletions (uid_t user_id, const string& deletions,
bool provisional_change, string& response)
| apply_deletions |
void retain_different_nodes (const ConfigTree& them,
bool retain_changed_values)
| retain_different_nodes |
void retain_deletion_nodes (const ConfigTree& them,
bool retain_value_changed)
| retain_deletion_nodes |
void retain_common_nodes (const ConfigTree& them)
| retain_common_nodes |
void add_default_children ()
| add_default_children |
void expand_varname_to_matchlist (const string& varname,
list<string>& matches)
| expand_varname_to_matchlist |
[const]
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* _current_node | _current_node |
[protected]
list<ConfPathSegment> _path_segments | _path_segments |
[protected]
list<size_t> _segment_lengths | _segment_lengths |
[protected]
bool _verbose | _verbose |
[protected]