base class for all gui types
The node class keeps a pointer to its parent.
node_ptr parent
store a pointer to the parent node
node_ptr get_parent() const
return the parent node
node(const std::string &name="")
construct from name
node_ptr get_node()
cast upward to node
const_node_ptr get_node_const()
cast upward to const node
void set_parent(node_ptr _parent)
set a new parent node
std::string get_type_name() const
overload to return the type name of this object
base_ptr get_root() const
return the root node by traversing parents until no more parent is available
complete implementation of method actions that only call one method when entering a node
data::ref_ptr< const node, true > const_node_ptr
ref counted pointer to a const node
data::ref_ptr< node, true > node_ptr
ref counted pointer to a node