Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

tnode< n_value > Class Template Reference

#include <tnode.h>

List of all members.

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

template<class n_value>
class tnode< n_value >


Member Typedef Documentation

template<class n_value>
typedef tnode<n_value> tnode< n_value >::self [protected]
 


Constructor & Destructor Documentation

template<class n_value>
tnode< n_value >::tnode (  const tnode< n_value > &   )  [private]
 

template<class n_value>
tnode< n_value >::tnode (  n_value  v,
self *  p = 0,
const bool  behind = true
)  [inline]
 

template<class n_value>
tnode< n_value >::tnode (  n_value  v,
self &  p,
const bool  behind = true
)  [inline]
 

template<class n_value>
tnode< n_value >::tnode (  n_value  v,
self &  p,
self &  s,
const bool  behind = true
)  [inline]
 

template<class n_value>
virtual tnode< n_value >::~tnode (   )  [inline, virtual]
 


Member Function Documentation

template<class n_value>
unsigned tnode< n_value >::Depth (   )  const [inline]
 

template<class n_value>
void tnode< n_value >::Disconnect (   )  [inline]
 

template<class n_value>
bool tnode< n_value >::DoReparentTo (  self &  p,
self *  s,
const bool  behind
)  [inline, private]
 

template<class n_value>
const self* tnode< n_value >::Fchild (   )  const [inline]
 

template<class n_value>
self* tnode< n_value >::Fchild (   )  [inline]
 

template<class n_value>
bool tnode< n_value >::HasChildren (   )  const [inline]
 

template<class n_value>
bool tnode< n_value >::HasParent (   )  const [inline]
 

template<class n_value>
bool tnode< n_value >::HasSiblings (   )  const [inline]
 

template<class n_value>
bool tnode< n_value >::IsChildOf (  const self &  p  )  const [inline]
 

template<class n_value>
bool tnode< n_value >::IsDescendantOf (  const self *  n  )  const [inline]
 

template<class n_value>
bool tnode< n_value >::IsDescendantOf (  const self &  n  )  const [inline]
 

template<class n_value>
bool tnode< n_value >::IsParentOf (  const self &  c  )  const [inline]
 

template<class n_value>
bool tnode< n_value >::IsSiblingOf (  const self &  s  )  const [inline]
 

template<class n_value>
const self* tnode< n_value >::Lchild (   )  const [inline]
 

template<class n_value>
self* tnode< n_value >::Lchild (   )  [inline]
 

template<class n_value>
const self* tnode< n_value >::Next (  const self *&  c,
const bool  restart = false
)  const [inline]
 

template<class n_value>
const self* tnode< n_value >::Next (  const bool  restart = false  )  const [inline]
 

template<class n_value>
self* tnode< n_value >::Next (  self *&  c,
const bool  restart = false
)  [inline]
 

template<class n_value>
self* tnode< n_value >::Next (  const bool  restart = false  )  [inline]
 

template<class n_value>
const self* tnode< n_value >::Nsibling (   )  const [inline]
 

template<class n_value>
self* tnode< n_value >::Nsibling (   )  [inline]
 

template<class n_value>
n_value& tnode< n_value >::operator() (   )  const [inline]
 

template<class n_value>
tnode& tnode< n_value >::operator= (  const tnode< n_value > &   )  [private]
 

template<class n_value>
const self* tnode< n_value >::Parent (   )  const [inline]
 

template<class n_value>
self* tnode< n_value >::Parent (   )  [inline]
 

template<class n_value>
virtual void tnode< n_value >::PostDisconnect (   )  [inline, protected, virtual]
 

Reimplemented in NCWidget.

template<class n_value>
virtual void tnode< n_value >::PostReparent (   )  [inline, protected, virtual]
 

Reimplemented in NCWidget.

template<class n_value>
virtual void tnode< n_value >::PreDisconnect (   )  [inline, protected, virtual]
 

Reimplemented in NCWidget.

template<class n_value>
virtual void tnode< n_value >::PreReparent (   )  [inline, protected, virtual]
 

Reimplemented in NCWidget.

template<class n_value>
const self* tnode< n_value >::Prev (  const self *&  c,
const bool  restart = false
)  const [inline]
 

template<class n_value>
const self* tnode< n_value >::Prev (  const bool  restart = false  )  const [inline]
 

template<class n_value>
self* tnode< n_value >::Prev (  self *&  c,
const bool  restart = false
)  [inline]
 

template<class n_value>
self* tnode< n_value >::Prev (  const bool  restart = false  )  [inline]
 

template<class n_value>
const self* tnode< n_value >::Psibling (   )  const [inline]
 

template<class n_value>
self* tnode< n_value >::Psibling (   )  [inline]
 

template<class n_value>
bool tnode< n_value >::ReparentTo (  self &  p,
self &  s,
const bool  behind = true
)  [inline]
 

template<class n_value>
bool tnode< n_value >::ReparentTo (  self &  p,
const bool  behind = true
)  [inline]
 

template<class n_value>
const self& tnode< n_value >::Top (   )  const [inline]
 

template<class n_value>
self& tnode< n_value >::Top (   )  [inline]
 

template<class n_value>
n_value& tnode< n_value >::Value (   )  const [inline]
 


Member Data Documentation

template<class n_value>
self* tnode< n_value >::fchild [private]
 

template<class n_value>
self* tnode< n_value >::lchild [private]
 

template<class n_value>
self* tnode< n_value >::nsibling [private]
 

template<class n_value>
self* tnode< n_value >::parent [private]
 

template<class n_value>
self* tnode< n_value >::psibling [private]
 

template<class n_value>
n_value tnode< n_value >::val [mutable, protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Sep 14 10:52:56 2005 for yast2-ncurses by  doxygen 1.4.4