class ConfigTreeNode


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Types

Protected Methods

Protected Members


Detailed Description

 ConfigTreeNode (bool verbose)

ConfigTreeNode

 ConfigTreeNode (const ConfigTreeNode& ctn)

ConfigTreeNode

 ConfigTreeNode (const string& node_name, const string& path, const TemplateTreeNode* ttn, ConfigTreeNode* parent, uid_t user_id, bool verbose)

ConfigTreeNode

 ~ConfigTreeNode ()

~ConfigTreeNode

bool  operator== (const ConfigTreeNode& them)

operator==

[const]

void  add_child (ConfigTreeNode* child)

add_child

void  remove_child (ConfigTreeNode* child)

remove_child

void  add_default_children ()

add_default_children

void  recursive_add_default_children ()

recursive_add_default_children

void  set_value (const string& value, uid_t user_id)

set_value

void  mark_subtree_as_committed ()

mark_subtree_as_committed

void  command_status_callback (const Command* cmd, bool success)

command_status_callback

bool  merge_deltas (uid_t user_id, const ConfigTreeNode& delta_node, bool provisional_change, string& response)

merge_deltas

bool  merge_deletions (uid_t user_id, const ConfigTreeNode& deletion_node, bool provisional_change, string& response)

merge_deletions

void  find_changed_modules (set<string>& changed_modules)

find_changed_modules

[const]

void  find_active_modules (set<string>& active_modules)

find_active_modules

[const]

void  find_all_modules (set<string>& all_modules)

find_all_modules

[const]

const ConfigTreeNode*  find_config_module (const string& module_name)

find_config_module

[const]

bool  check_config_tree (string& result)

check_config_tree

[const]

void  initialize_commit ()

initialize_commit

bool  commit_changes (TaskManager& task_manager, bool do_commit, int depth, int last_depth, string& result)

commit_changes

bool  check_commit_status (string& response)

check_commit_status

[const]

void  finalize_commit ()

finalize_commit

string  discard_changes (int depth, int last_depth)

discard_changes

int  type ()

type

[const]

bool  is_root_node ()

is_root_node

[const]

bool  is_tag ()

is_tag

[const]

bool  is_leaf ()

is_leaf

[const]

unsigned int  depth ()

depth

[const]

const TemplateTreeNode*  template_tree_node ()

template_tree_node

[const]

string  str ()

str

[const]

string  node_str ()

node_str

[const]

string  typestr ()

typestr

[const]

const string&  segname ()

segname

[const]

const string&  value ()

value

[const]

const string&  named_value (const string& varname)

named_value

[const]

void  set_named_value (const string& varname, const string& value)

set_named_value

uid_t  user_id ()

user_id

[const]

void  set_existence_committed (bool v)

set_existence_committed

bool  existence_committed ()

existence_committed

[const]

bool  deleted ()

deleted

[const]

void  undelete ()

undelete

const TimeVal&  modification_time ()

modification_time

[const]

const string&  path ()

path

[const]

void  set_parent (ConfigTreeNode* parent)

set_parent

ConfigTreeNode*  parent ()

parent

const ConfigTreeNode*  const_parent ()

const_parent

[const]

list<ConfigTreeNode*>&  children ()

children

const list<ConfigTreeNode*>&  const_children ()

const_children

[const]

string  show_subtree (int depth, int indent, bool do_indent, bool annotate)

show_subtree

[const]

void  mark_subtree_for_deletion (uid_t user_id)

mark_subtree_for_deletion

void  delete_subtree_silently ()

delete_subtree_silently

void  clone_subtree (const ConfigTreeNode& orig_node)

clone_subtree

bool  retain_different_nodes (const ConfigTreeNode& them, bool retain_changed_values)

retain_different_nodes

void  retain_common_nodes (const ConfigTreeNode& them)

retain_common_nodes

ConfigTreeNode*  find_node (list<string>& path)

find_node

string  subtree_str ()

subtree_str

[const]

bool  expand_variable (const string& varname, string& value)

expand_variable

[const]

bool  expand_expression (const string& expression, string& value)

expand_expression

[const]

void  expand_varname_to_matchlist (const vector<string>& v, size_t depth, list<string>& matches)

expand_varname_to_matchlist

[const]

bool  set_variable (const string& varname, string& value)

set_variable

bool  split_up_varname (const string& varname, list<string>& var_parts)

split_up_varname

[protected const]

string  join_up_varname (const list<string>& var_parts)

join_up_varname

[protected const]

enum VarType { NONE, NODE_VALUE, NAMED, TEMPLATE_DEFAULT }

VarType

[protected]

ConfigTreeNode*  find_varname_node (const string& varname, VarType& type)

find_varname_node

[protected]

const ConfigTreeNode*  find_const_varname_node (const string& varname, VarType& type)

find_const_varname_node

[protected const]

ConfigTreeNode*  find_parent_varname_node (const list<string>& var_parts, VarType& type)

find_parent_varname_node

[protected]

ConfigTreeNode*  find_child_varname_node (const list<string>& var_parts, VarType& type)

find_child_varname_node

[protected]

const TemplateTreeNode* _template_tree_node

_template_tree_node

[protected]

bool _deleted

_deleted

[protected]

bool _has_value

_has_value

[protected]

string _value

_value

[protected]

string _committed_value

_committed_value

[protected]

string _segname

_segname

[protected]

string _path

_path

[protected]

ConfigTreeNode* _parent

_parent

[protected]

list<ConfigTreeNode *> _children

_children

[protected]

uid_t _user_id

_user_id

[protected]

uid_t _committed_user_id

_committed_user_id

[protected]

TimeVal _modification_time

_modification_time

[protected]

TimeVal _committed_modification_time

_committed_modification_time

[protected]

bool _existence_committed

_existence_committed

[protected]

bool _value_committed

_value_committed

[protected]

int _actions_pending

_actions_pending

[protected]

bool _actions_succeeded

_actions_succeeded

[protected]

const Command* _cmd_that_failed

_cmd_that_failed

[protected]

map<string, string> _variables

_variables

[protected]

bool _on_parent_path

_on_parent_path

[protected]

bool _verbose

_verbose

[protected]


Generated by: pavlin on possum.icir.org on Thu Jul 8 23:48:41 2004, using kdoc $.