child_data_iterator< _Tree > Class Template Reference
[Classes and types for internal use]

Iterator which iterates through the data hooks of all children. More...

#include <vgtl_algo.h>

Inheritance diagram for child_data_iterator< _Tree >:

Inheritance graph
[legend]
Collaboration diagram for child_data_iterator< _Tree >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef ctree_data_hook value_type
typedef value_typepointer
typedef value_typereference
typedef ctree_data_hook value_type
typedef value_typepointer
typedef value_typereference

Public Member Functions

 child_data_iterator ()
 standard constructor
 child_data_iterator (const _Self &__x)
 constructor presetting the position
_Selfoperator= (const iterator_type &it)
 assignment operator for setting the position
 child_data_iterator ()
 standard constructor
 child_data_iterator (iterator_type __x)
 constructor presetting the position
 child_data_iterator (const _Self &__x)
 copy constructor
_Selfoperator= (const iterator_type &it)
 assignment operator for setting the position
iterator_type base () const
 return the 'unwrapped' iterator
iterator_type base () const
 return the 'unwrapped' iterator
reference operator* () const
 dereference to the data_hook.
reference operator* () const
 dereference to the data_hook.
bool operator== (const _Self &__x) const
 standard comparison operator
bool operator!= (const _Self &__x) const
 standard comparison operator
bool operator== (const _Self &__x) const
 standard comparison operator
bool operator!= (const _Self &__x) const
 standard comparison operator
_Selfoperator++ ()
 standard in(de)crement operator
_Selfoperator++ (int)
 standard in(de)crement operator
_Selfoperator-- ()
 standard in(de)crement operator
_Selfoperator-- (int)
 standard in(de)crement operator
_Selfoperator++ ()
 standard in(de)crement operator
_Selfoperator++ (int)
 standard in(de)crement operator
_Selfoperator-- ()
 standard in(de)crement operator
_Selfoperator-- (int)
 standard in(de)crement operator
_Self operator+ (difference_type __n) const
 additional operator for random access iterators
_Selfoperator+= (difference_type __n)
 additional operator for random access iterators
_Self operator- (difference_type __n) const
 additional operator for random access iterators
_Selfoperator-= (difference_type __n)
 additional operator for random access iterators
reference operator[] (difference_type __n) const
 additional operator for random access iterators
_Self operator+ (difference_type __n) const
 additional operator for random access iterators
_Selfoperator+= (difference_type __n)
 additional operator for random access iterators
_Self operator- (difference_type __n) const
 additional operator for random access iterators
_Selfoperator-= (difference_type __n)
 additional operator for random access iterators
reference operator[] (difference_type __n) const
 additional operator for random access iterators

Protected Attributes

_Tree::children_iterator current
 that's where we are


Detailed Description

template<class _Tree>
class child_data_iterator< _Tree >

This class defines an iterator for iterating through all data hooks of a node's children.

Definition at line 156 of file vgtl_algo.h.


Member Typedef Documentation

typedef value_type* __Child_data_iterator< _Tree::children_iterator , _Tree::node_type >::pointer [inherited]

standard iterator definitions

Definition at line 64 of file vgtl_lalgo.h.

typedef value_type* __Child_data_iterator< _Tree::children_iterator , _Tree::node_type >::pointer [inherited]

standard iterator definitions

Definition at line 64 of file vgtl_algo.h.

typedef value_type& __Child_data_iterator< _Tree::children_iterator , _Tree::node_type >::reference [inherited]

standard iterator definitions

Definition at line 65 of file vgtl_lalgo.h.

typedef value_type& __Child_data_iterator< _Tree::children_iterator , _Tree::node_type >::reference [inherited]

standard iterator definitions

Definition at line 65 of file vgtl_algo.h.

typedef ctree_data_hook __Child_data_iterator< _Tree::children_iterator , _Tree::node_type >::value_type [inherited]

standard iterator definitions

Definition at line 63 of file vgtl_lalgo.h.

typedef ctree_data_hook __Child_data_iterator< _Tree::children_iterator , _Tree::node_type >::value_type [inherited]

standard iterator definitions

Definition at line 63 of file vgtl_algo.h.


Constructor & Destructor Documentation

template<class _Tree>
child_data_iterator< _Tree >::child_data_iterator ( const _Self __x  )  [inline]

copy constructor

Definition at line 174 of file vgtl_algo.h.


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

Generated on Tue Feb 9 14:42:43 2010 for Vienna Graph Template Library by  doxygen 1.5.8