class TemplateTreeNode


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods

Protected Members


Detailed Description

 TemplateTreeNode (TemplateTree& template_tree, TemplateTreeNode* parent, const string& path, const string& varname)

TemplateTreeNode

 ~TemplateTreeNode ()

~TemplateTreeNode

[virtual]

bool  expand_template_tree (string& error_msg)

expand_template_tree

bool  check_template_tree (string& error_msg)

check_template_tree

[const]

TTNodeType  type ()

type

[const virtual]

void  add_cmd (const string& cmd)
throw (ParseError)

add_cmd

void  add_action (const string& cmd, const list<string>& action_list)
throw (ParseError)

add_action

map<string, string>  create_variable_map (const list<string>& segments)

create_variable_map

[const]

string  str ()

str

[const virtual]

string  typestr ()

typestr

[const virtual]

string  default_str ()

default_str

[const virtual]

string  encoded_typestr ()

encoded_typestr

[const virtual]

bool  type_match (const string& s, string& error_msg)

type_match

[const virtual]

BaseCommand*  command (const string& cmd_name)

command

const BaseCommand*  const_command (const string& cmd_name)

const_command

[const]

set<string>  commands ()

commands

[const]

string  varname ()

varname

[const]

void  set_tag ()

set_tag

bool  is_tag ()

is_tag

[const]

string  subtree_str ()

subtree_str

[const]

TemplateTreeNode*  parent ()

parent

[const]

const list<TemplateTreeNode*>&  children ()

children

[const]

const string&  module_name ()

module_name

[const]

const string&  default_target_name ()

default_target_name

[const]

void  set_subtree_module_name (const string& module_name)

set_subtree_module_name

void  set_subtree_default_target_name (const string& default_target_name)

set_subtree_default_target_name

const string&  segname ()

segname

[const]

string  path ()

path

[const]

bool  is_module_root_node ()

is_module_root_node

[const]

bool  is_leaf_value ()

is_leaf_value

[const]

list<ConfigOperator>  allowed_operators ()

allowed_operators

[const]

bool  check_template_tree (string& error_msg)

check_template_tree

[const]

bool  check_command_tree (const list<string>& commands, bool include_intermediate_nodes, bool include_read_only_nodes, bool include_permanent_nodes, bool include_user_hidden_nodes, size_t depth)

check_command_tree

[const]

bool  has_default ()

has_default

[const]

bool  check_variable_name (const vector<string>& parts, size_t part)

check_variable_name

[const]

string  get_module_name_by_variable (const string& varname)

get_module_name_by_variable

[const]

string  get_default_target_name_by_variable (const string& varname)

get_default_target_name_by_variable

[const]

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

expand_variable

[const]

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

expand_expression

[const]

TemplateTreeNode*  find_varname_node (const string& varname)

find_varname_node

const TemplateTreeNode*  find_const_varname_node (const string& varname)

find_const_varname_node

[const]

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

check_allowed_value

[const]

bool  verify_variables (const ConfigTreeNode& ctn, string& error_msg)

verify_variables

[const]

const list<string>&  mandatory_config_nodes ()

mandatory_config_nodes

[const]

const string&  help ()

help

[const]

const string&  help_long ()

help_long

[const]

int  child_number ()

child_number

[const]

TTSortOrder  order ()

order

[const]

void  set_order (TTSortOrder o)

set_order

bool  is_deprecated ()

is_deprecated

[const]

void  set_deprecated (bool v)

set_deprecated

const string&  deprecated_reason ()

deprecated_reason

[const]

void  set_deprecated_reason (const string& v)

set_deprecated_reason

bool  is_user_hidden ()

is_user_hidden

[const]

void  set_user_hidden (bool v)

set_user_hidden

const string&  user_hidden_reason ()

user_hidden_reason

[const]

void  set_user_hidden_reason (const string& v)

set_user_hidden_reason

bool  is_mandatory ()

is_mandatory

[const]

void  set_mandatory (bool v)

set_mandatory

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]

const TemplateTreeNode*  find_first_deprecated_ancestor ()

find_first_deprecated_ancestor

[const]

Returns: the oldest deprecated ancestor or NULL if no ancestor is deprecated.

const TemplateTreeNode*  find_first_user_hidden_ancestor ()

find_first_user_hidden_ancestor

[const]

Returns: the oldest user-hidden ancestor or NULL if no ancestor is user-hidden.

void  add_allowed_value (const string& value, const string& help)

add_allowed_value

void  add_allowed_range (int64_t lower_value, int64_t upper_value, const string& help)

add_allowed_range

const map<string, string>&  allowed_values ()

allowed_values

[const]

const map<pair<int64_t, int64_t>, string>&  allowed_ranges ()

allowed_ranges

[const]

void  add_child (TemplateTreeNode* child)

add_child

[protected]

string  strip_quotes (const string& s)

strip_quotes

[protected const]

void  set_has_default ()

set_has_default

[protected]

bool  name_is_variable ()

name_is_variable

[protected const]

map<string, BaseCommand *> _cmd_map

_cmd_map

[protected]

TemplateTreeNode* _parent

_parent

[protected]

list<TemplateTreeNode*> _children

_children

[protected]


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:46 2006, using kdoc $.