EvolvingObjects
gp_parse_tree::parse_tree< T > Class Template Reference

List of all members.

Classes

class  base_const_iterator
class  base_iterator
class  const_iterator
class  embedded_const_iterator
class  embedded_iterator
class  iterator
class  subtree

Public Types

typedef T value_type

Public Member Functions

 parse_tree (const parse_tree &org)
 parse_tree (const subtree &sub)
template<class It >
 parse_tree (It b, It e)
parse_tree & operator= (const parse_tree &org)
parse_tree & operator= (const subtree &sub)
bool operator== (const parse_tree &other) const
bool operator!= (const parse_tree &other) const
size_t size (void) const
size_t depth (void) const
void clear (void)
template<class RetVal >
void apply (RetVal &v) const
template<class RetVal , class It >
void apply (RetVal &v, It varValues) const
template<class RetVal , class It >
void apply_mem_func (RetVal &v, It misc, void(T::*f)(RetVal &, typename subtree::iterator, It))
template<class Pred >
void find_nodes (std::vector< subtree * > &result, Pred &p)
template<class Pred >
void find_nodes (std::vector< const subtree * > &result, Pred &p) const
void swap (parse_tree< T > &other)
iterator begin (void)
const_iterator begin (void) const
iterator end (void)
const_iterator end (void) const
embedded_iterator ebegin (void)
embedded_const_iterator ebegin (void) const
embedded_iterator eend (void)
embedded_const_iterator eend (void) const
bool empty (void) const
bool valid (void) const
void push_back (const parse_tree< T > &tree)
void push_back (const T &t)
subtree & back (void)
const subtree & back (void) const
subtree & root (void)
const subtree & root (void) const
subtree & front (void)
const subtree & front (void) const
subtree & operator[] (size_t i)
const subtree & operator[] (size_t i) const
subtree & get_cumulative (size_t i)
const subtree & get_cumulative (size_t i) const

Private Member Functions

parse_tree & copy (const parse_tree &org)
parse_tree & copy (const subtree &sub)

Private Attributes

subtree _root
std::vector< subtree > pushed

Detailed Description

template<class T>
class gp_parse_tree::parse_tree< T >

Definition at line 189 of file parse_tree.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends