Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

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

Public Methods

 child_data_iterator ()
 standard constructor

 child_data_iterator (iterator_type __x)
 constructor presetting the position

 child_data_iterator (const _Self &__x)
 copy constructor

_Self & operator= (const iterator_type &it)
 assignment operator for setting the position

iterator_type base () const
 return the 'unwrapped' iterator

reference operator * () const
 dereference to the data_hook.

bool operator== (const _Self &__x) const
 standard comparison operator

_Self & operator++ ()
 standard in(de)crement operator

_Self 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 155 of file vgtl_algo.h.


Member Typedef Documentation

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

standard iterator definitions

Definition at line 62 of file vgtl_algo.h.


The documentation for this class was generated from the following file:
Generated on Tue Nov 4 01:41:45 2003 for Vienna Graph Template Library by doxygen1.2.18