class ConfigTree


Definition#include <conf_tree.hh>
Inherited byMasterConfigTree, SlaveConfigTree
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods

Protected Members


Detailed Description

 ConfigTree (TemplateTree *tt)

ConfigTree

 ~ConfigTree ()

~ConfigTree

ConfigTree&  operator= (const ConfigTree& orig_tree)

operator=

int  parse (const string& configuration, const string& conffile)

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)

add_node

void  terminal_value (char *value, int type)

terminal_value

list <string>  path_as_segs ()

path_as_segs

[const]

TemplateTreeNodefind_template (const list<string>& pathsegs)
throw (ParseError)

find_template

ConfigTreeNode&  root ()

root

const ConfigTreeNode&  const_root ()

const_root

[const]

ConfigTreeNodefind_node (const list <string>& path)

find_node

string  show_subtree (const list <string>& pathsegs)

show_subtree

[const]

string  show_tree ()

show_tree

[const]

string  show_unannotated_tree ()

show_unannotated_tree

[const]

void  print ()

print

[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>& pathsegs)

path_as_string

[protected const]

string  current_path_as_string ()

current_path_as_string

[protected const]

const ConfigTreeNode*  find_config_node (const list <string>& pathsegs)

find_config_node

[protected const]

string _conffile

_conffile

[protected]

TemplateTree * _template_tree

_template_tree

[protected]

ConfigTreeNode _root_node

_root_node

[protected]

ConfigTreeNode * _current_node

_current_node

[protected]

list <string> _path_segs

_path_segs

[protected]

list <int> _seg_lengths

_seg_lengths

[protected]


Generated by: pavlin on possum.icir.org on Thu Nov 6 23:47:10 2003, using kdoc 2.0a54+XORP.