Main Page   Namespace List   Alphabetical List   Compound List   File List   Compound Members   File Members  

deml::tree Class Template Reference

#include <detree.h>

List of all members.

Public Methods

iterator begin (void)
iterator end (void)
iterator append_child (iterator, T)
iterator insert (iterator, T)
iterator replace (iterator, T)
iterator erase (iterator)

Public Attributes

friend iterator


Detailed Description

template<class T>
class deml::tree< T >

An STL like tree class
Author:
Solstice

Definition at line 29 of file detree.h.


Member Function Documentation

template<class T>
tree< T >::iterator deml::tree< T >::append_child iterator i,
T data
 

appends T at the end of the sibling list specified by the iterator

Definition at line 131 of file detree.h.

template<class T>
tree< T >::iterator deml::tree< T >::begin void
 

Returns:
a tree::iterator beginning at the root node

Definition at line 121 of file detree.h.

template<class T>
tree< T >::iterator deml::tree< T >::end void
 

See also:
begin

Definition at line 126 of file detree.h.

template<class T>
tree< T >::iterator deml::tree< T >::erase iterator i
 

erases the iterator's current node

Definition at line 167 of file detree.h.

template<class T>
tree< T >::iterator deml::tree< T >::insert iterator i,
T data
 

insert T at the current position of the iterator

Definition at line 144 of file detree.h.

template<class T>
tree< T >::iterator deml::tree< T >::replace iterator i,
T data
 

replaces T at the position of the iterator

Definition at line 157 of file detree.h.


Member Data Documentation

template<class T>
friend deml::tree::iterator
 

Definition at line 115 of file detree.h.

Referenced by append_child(), begin(), end(), and insert().


The documentation for this class was generated from the following file:
Generated at Sun Mar 3 20:34:56 2002 for Chroma by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001