class ConfigTree


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods

Protected Members


Detailed Description

 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& 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

ConfigTreeNode*  create_node (const string& segment, const string& path, const TemplateTreeNode* ttn, ConfigTreeNode* parent_node, uid_t user_id, bool verbose)

create_node

[pure virtual]

ConfigTree*  create_tree (TemplateTree *tt, bool verbose)

create_tree

[pure virtual]

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

[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 (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  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

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<string> _path_segments

_path_segments

[protected]

list<size_t> _segment_lengths

_segment_lengths

[protected]

bool _verbose

_verbose

[protected]


Generated by: pavlin on possum.icir.org on Wed Apr 13 21:53:23 2005, using kdoc $.