|
Public Member Functions |
| tnode (n_value v, self *p=0, const bool behind=true) |
| tnode (n_value v, self &p, const bool behind=true) |
| tnode (n_value v, self &p, self &s, const bool behind=true) |
virtual | ~tnode () |
void | Disconnect () |
bool | ReparentTo (self &p, const bool behind=true) |
bool | ReparentTo (self &p, self &s, const bool behind=true) |
n_value & | Value () const |
n_value & | operator() () const |
self * | Parent () |
const self * | Parent () const |
self * | Psibling () |
const self * | Psibling () const |
self * | Nsibling () |
const self * | Nsibling () const |
self * | Fchild () |
const self * | Fchild () const |
self * | Lchild () |
const self * | Lchild () const |
bool | HasParent () const |
bool | HasSiblings () const |
bool | HasChildren () const |
bool | IsParentOf (const self &c) const |
bool | IsSiblingOf (const self &s) const |
bool | IsChildOf (const self &p) const |
unsigned | Depth () const |
bool | IsDescendantOf (const self &n) const |
bool | IsDescendantOf (const self *n) const |
self & | Top () |
self * | Next (const bool restart=false) |
self * | Prev (const bool restart=false) |
self * | Next (self *&c, const bool restart=false) |
self * | Prev (self *&c, const bool restart=false) |
const self & | Top () const |
const self * | Next (const bool restart=false) const |
const self * | Prev (const bool restart=false) const |
const self * | Next (const self *&c, const bool restart=false) const |
const self * | Prev (const self *&c, const bool restart=false) const |
Protected Types |
typedef tnode< n_value > | self |
Protected Member Functions |
virtual void | PreDisconnect () |
virtual void | PostDisconnect () |
virtual void | PreReparent () |
virtual void | PostReparent () |
Protected Attributes |
n_value | val |
Private Member Functions |
tnode & | operator= (const tnode &) |
| tnode (const tnode &) |
bool | DoReparentTo (self &p, self *s, const bool behind) |
Private Attributes |
self * | parent |
self * | psibling |
self * | nsibling |
self * | fchild |
self * | lchild |