nux-1.14.0
|
Public Member Functions | |
int | get_num_child () |
NodeItem * | FirstSibling (void) |
NodeItem * | LastSibling (void) |
NodeItem * | Prev (void) |
NodeItem * | Next (void) |
const NodeItem * | Prev (void) const |
const NodeItem * | Next (void) const |
NodeItem * | FirstChildNode (void) |
const NodeItem * | FirstChildNode (void) const |
NodeItem * | LastChildNode (void) |
const NodeItem * | LastChildNode (void) const |
NodeItem * | Parent (void) |
const NodeItem * | Parent (void) const |
bool | FindNode (NodeItem *) |
NodeItem * | RootNode () |
const NodeItem * | RootNode () const |
int | NumChild () const |
int | Depth () const |
virtual void | PushChildFront (NodeItem *child) |
virtual void | PushChildBack (NodeItem *child) |
virtual void | AddNextSibling (NodeItem *sibling) |
virtual void | AddPrevSibling (NodeItem *sibling) |
virtual void | Unlink (void) |
Unlik a node from the Tree. The node becomes independent (no parent) but it keeps it own children. | |
virtual void | Unlink (NodeItem *child) |
Unlik a node from the Tree. The node becomes independent (no parent) but it keeps it own children. | |
void | DeleteTree () |
virtual bool | SkipChild () const |
void | link_this_to_parent_last (NodeItem *parent) |
void | link_this_to_parent_first (NodeItem *parent) |
void | link_this_to_sibling_next (NodeItem *sibling) |
void | link_this_to_sibling_prev (NodeItem *sibling) |
Protected Attributes | |
NodeItem * | parent_node |
NodeItem * | child_head |
NodeItem * | child_tail |
NodeItem * | next_sibling |
NodeItem * | prev_sibling |
Definition at line 29 of file NodeItem.h.