Claw  1.7.3
Public Types | Public Member Functions | Public Attributes | List of all members
claw::tree< T > Class Template Reference

A tree structure with any number of children. More...

#include <tree.hpp>

Public Types

typedef T value_type
 The type of the value stored in the nodes.
 
typedef tree< T > self_type
 The type of the current class.
 
typedef child_list::iterator iterator
 
typedef child_list::const_iterator const_iterator
 

Public Member Functions

 tree (const T &that)
 
bool operator== (const self_type &that) const
 
bool is_leaf () const
 
self_typeadd_child (const T &v)
 
self_typeadd_child (const self_type &v)
 
iterator find (const T &v)
 
const_iterator find (const T &v) const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 

Public Attributes

value
 The value in this node.
 

Detailed Description

template<typename T>
class claw::tree< T >

A tree structure with any number of children.

Author
Julien Jorge

Definition at line 42 of file tree.hpp.


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