Public Methods
- TemplateTreeNode (TemplateTree& template_tree, TemplateTreeNode* parent,
const string& path, const string& varname)
- virtual ~TemplateTreeNode ()
- virtual TTNodeType type () const
- void add_cmd (const string& cmd)
- void add_action (const string& cmd, const list<string>& action_list)
- map<string, string> create_variable_map (const list<string>& segments) const
- virtual string str () const
- virtual string typestr () const
- virtual string default_str () const
- virtual bool type_match (const string& s) const
- BaseCommand* command (const string& cmd_name)
- const BaseCommand* const_command (const string& cmd_name) const
- set<string> commands () const
- string varname () const
- void set_tag ()
- bool is_tag () const
- string subtree_str () const
- TemplateTreeNode* parent () const
- const list<TemplateTreeNode*>& children () const
- const string& module_name () const
- const string& default_target_name () const
- void set_module_name (const string& module_name)
- void set_default_target_name (const string& default_target_name)
- const string& segname () const
- string path () const
- bool check_template_tree (string& errmsg) const
- bool check_command_tree (const list<string>& commands,
bool include_intermediates, size_t depth) const
- bool has_default () const
- bool check_variable_name (const vector<string>& parts, size_t part) const
- string get_module_name_by_variable (const string& varname) const
- string get_default_target_name_by_variable (const string& varname) const
- bool expand_variable (const string& varname, string& value) const
- bool expand_expression (const string& expression, string& value) const
- const TemplateTreeNode* find_varname_node (const string& varname) const
- const list<string>& mandatory_children () const
- const string& help () const
- const string& help_long () const
- int child_number () const
- bool is_deprecated () const
- void set_deprecated (bool v)
- const string& deprecated_reason () const
- void set_deprecated_reason (const string& v)
- const TemplateTreeNode* find_first_deprecated_ancestor () const
Protected Methods
Protected Members
~TemplateTreeNode ()
| ~TemplateTreeNode |
[virtual]
[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]
[const virtual]
string typestr ()
| typestr |
[const virtual]
string default_str ()
| default_str |
[const virtual]
bool type_match (const string& s)
| type_match |
[const virtual]
const BaseCommand* const_command (const string& cmd_name)
| const_command |
[const]
set<string> commands ()
| commands |
[const]
string varname ()
| varname |
[const]
[const]
string subtree_str ()
| subtree_str |
[const]
[const]
[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]
[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.
[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]
[protected]
[protected]
[protected]
Generated by: pavlin on possum.icir.org on Wed Apr 13 21:53:23 2005, using kdoc $.