#include <node.h>
Public Types | |
| typedef std::list< Node *> | node_list |
| typedef std::list< Node *>::iterator | node_list_it |
Public Methods | |
| Node (Node *parent, MenuBase tag) | |
| bool | is_item () const |
| retuns true if the tag is an item. More... | |
| bool | is_menu () const |
| returns true if the tag is an menu. More... | |
| void | add_child (Node *node) |
| adds a new child to the Node. More... | |
| bool | find_node (std::string path, Node *&node) |
| finds a sub Node. More... | |
| bool | find_node_rec (std::string path, Node *parent, Node *&node) |
| finds a node within the tree. More... | |
| bool | find_node_rec (std::string path, Node *&node) |
| finds a node within the tree. More... | |
Public Attributes | |
| MenuBase | tag |
| Node * | parent |
| node_list | childs |
| std::string | path |
| the path of the menu filesystem. More... | |
| std::string | subdir |
| the realaty file system path. More... | |
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
adds a new child to the Node.
|
|
||||||||||||
|
finds a sub Node.
|
|
||||||||||||
|
finds a node within the tree. start searching at this position |
|
||||||||||||||||
|
finds a node within the tree.
|
|
|
retuns true if the tag is an item.
|
|
|
returns true if the tag is an menu.
|
|
|
|
|
|
|
|
|
the path of the menu filesystem.
|
|
|
the realaty file system path.
|
|
|
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001