tree  release 2.0
Public Member Functions | Public Attributes | List of all members
tree_node_< T > Class Template Reference

A node in the tree, combining links to other nodes as well as the actual data. More...

#include <tree.hh>

Public Member Functions

 tree_node_ ()
 
 tree_node_ (const T &)
 
 tree_node_ (T &&)
 

Public Attributes

tree_node_< T > * parent
 
tree_node_< T > * first_child
 
tree_node_< T > * last_child
 
tree_node_< T > * prev_sibling
 
tree_node_< T > * next_sibling
 
data
 

Detailed Description

template<class T>
class tree_node_< T >

A node in the tree, combining links to other nodes as well as the actual data.

Constructor & Destructor Documentation

template<class T >
tree_node_< T >::tree_node_ ( )
template<class T >
tree_node_< T >::tree_node_ ( const T &  val)
template<class T >
tree_node_< T >::tree_node_ ( T &&  val)

Member Data Documentation

template<class T >
T tree_node_< T >::data
template<class T >
tree_node_<T>* tree_node_< T >::first_child
template<class T >
tree_node_<T> * tree_node_< T >::last_child
template<class T >
tree_node_<T> * tree_node_< T >::next_sibling
template<class T >
tree_node_<T>* tree_node_< T >::parent
template<class T >
tree_node_<T>* tree_node_< T >::prev_sibling

The documentation for this class was generated from the following file: