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]

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)

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]

bool  type_match (const string& s)

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_module_name (const string& module_name)

set_module_name

void  set_default_target_name (const string& default_target_name)

set_default_target_name

const string&  segname ()

segname

[const]

string  path ()

path

[const]

bool  check_template_tree (string& errmsg)

check_template_tree

[const]

bool  check_command_tree (const list<string>& commands, bool include_intermediates, 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)

expand_variable

[const]

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

expand_expression

[const]

const TemplateTreeNode*  find_varname_node (const string& varname)

find_varname_node

[const]

const list<string>&  mandatory_children ()

mandatory_children

[const]

const string&  help ()

help

[const]

const string&  help_long ()

help_long

[const]

int  child_number ()

child_number

[const]

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

const TemplateTreeNode*  find_first_deprecated_ancestor ()

find_first_deprecated_ancestor

[const]

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

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 Apr 13 21:53:23 2005, using kdoc $.