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, const ConfigNodeId& node_id, uid_t user_id, uint32_t clientid, bool verbose)

ConfigTreeNode

 ~ConfigTreeNode ()

~ConfigTreeNode

[virtual]

bool  operator== (const ConfigTreeNode& them)

operator==

[const]

bool  is_same (const ConfigTreeNode& them, bool ignore_node_id)

is_same

[const]

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

create_node

[pure virtual]

ConfigTreeNode*  create_node (const ConfigTreeNode& ctn)

create_node

[pure virtual]

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

bool  check_allowed_value (string& error_msg)

check_allowed_value

[const]

bool  check_allowed_value (const string& value, string& error_msg)

check_allowed_value

[const]

bool  check_allowed_operator (const string& value, string& error_msg)

check_allowed_operator

[const]

bool  set_value (const string& value, uid_t user_id, string& error_msg)

set_value

void  set_value_without_verification (const string& value, uid_t user_id)

set_value_without_verification

bool  set_operator (ConfigOperator op, uid_t user_id, string& error_msg)

set_operator

void  set_operator_without_verification (ConfigOperator op, uid_t user_id)

set_operator_without_verification

void  mark_subtree_as_committed ()

mark_subtree_as_committed

void  mark_subtree_as_uncommitted ()

mark_subtree_as_uncommitted

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

merge_deltas

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

merge_deletions

ConfigTreeNode*  find_config_module (const string& module_name)

find_config_module

bool  check_config_tree (string& error_msg)

check_config_tree

[const]

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_multi_value_node ()

is_multi_value_node

[const]

bool  is_leaf_value ()

is_leaf_value

[const]

bool  is_read_only ()

is_read_only

[const]

const string&  read_only_reason ()

read_only_reason

[const]

bool  is_permanent ()

is_permanent

[const]

const string&  permanent_reason ()

permanent_reason

[const]

bool  is_user_hidden ()

is_user_hidden

[const]

const string&  user_hidden_reason ()

user_hidden_reason

[const]

unsigned int  depth ()

depth

[const]

const TemplateTreeNode*  template_tree_node ()

template_tree_node

[const]

int  child_number ()

child_number

[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 ConfigNodeId&  node_id ()

node_id

[const]

void  set_node_id_position (const ConfigNodeId::Position& p)

set_node_id_position

ConfigNodeId&  node_id_generator ()

node_id_generator

uint32_t  clientid ()

clientid

[const]

bool  has_value ()

has_value

[const]

ConfigOperator  get_operator ()

get_operator

[const]

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

void  undelete_subtree ()

undelete_subtree

void  undelete_node_and_ancestors ()

undelete_node_and_ancestors

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 (bool show_top, int depth, int indent, bool do_indent, bool numbered, bool annotate, bool suppress_default_values)

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

bool  retain_deletion_nodes (const ConfigTreeNode& them, bool retain_value_changed)

retain_deletion_nodes

void  retain_common_nodes (const ConfigTreeNode& them)

retain_common_nodes

ConfigTreeNode*  find_node (const list<string>& path)

find_node

const ConfigTreeNode*  find_const_node (const list<string>& path)

find_const_node

[const]

string  subtree_str ()

subtree_str

[const]

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

expand_variable

[const]

bool  expand_variable_to_full_varname (const string& varname, string& full_varname)

expand_variable_to_full_varname

[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, const string& value)

set_variable

const string&  named_value (const string& varname)

named_value

[const]

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

set_named_value

string  show_operator ()

show_operator

[const]

bool  is_committed ()

is_committed

[const]

bool  is_uncommitted ()

is_uncommitted

[const]

bool  is_default_value ()

is_default_value

[const]

bool  is_default_value (const string& test_value)

is_default_value

[const]

bool  has_undeleted_children ()

has_undeleted_children

[const]

void  update_node_id_position ()

update_node_id_position

[virtual]

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, NODE_OPERATOR, NODE_ID, 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]

void  sort_by_template (list<ConfigTreeNode*>& children)

sort_by_template

[protected const]

string  show_node_id (bool numbered, const ConfigNodeId& node_id)

show_node_id

[protected const]

void  allocate_unique_node_id ()

allocate_unique_node_id

[protected virtual]

string  quoted_value (const string& value)

quoted_value

[protected const]

const TemplateTreeNode* _template_tree_node

_template_tree_node

[protected]

bool _has_value

_has_value

[protected]

string _value

_value

[protected]

string _committed_value

_committed_value

[protected]

ConfigOperator _operator

_operator

[protected]

ConfigOperator _committed_operator

_committed_operator

[protected]

string _segname

_segname

[protected]

string _path

_path

[protected]

ConfigTreeNode* _parent

_parent

[protected]

list<ConfigTreeNode *> _children

_children

[protected]

ConfigNodeId _node_id

_node_id

[protected]

ConfigNodeId _node_id_generator

_node_id_generator

[protected]

uid_t _user_id

_user_id

[protected]

uid_t _committed_user_id

_committed_user_id

[protected]

uint32_t _clientid

_clientid

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

bool _deleted

_deleted

[protected]

map<string, string> _variables

_variables

[protected]

bool _on_parent_path

_on_parent_path

[protected]

bool _verbose

_verbose

[protected]


Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:06:10 2008, using kdoc 2.0a54+XORP.