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

__Child_data_iterator< _Iterator, _Node > Class Template Reference

iterator adapter for iterating through children data hooks More...

#include <vgtl_algo.h>

Inheritance diagram for __Child_data_iterator< _Iterator, _Node >:

Inheritance graph
[legend]
Collaboration diagram for __Child_data_iterator< _Iterator, _Node >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ctree_data_hook value_type
typedef value_typepointer
typedef value_typereference

Public Methods

 __Child_data_iterator (const _Self &__x)
 standard destructor

iterator_type base () const
 return the 'unwrapped' iterator

reference operator * () const
 dereference to the data_hook.

_Self & operator= (const iterator_type &it)
 assignment operator

 __Child_data_iterator ()
 standard constructors

 __Child_data_iterator (iterator_type __x)
 standard constructors

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

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

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

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

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

_Self & operator-- (int)
 standard in(de)crement operator

_Self operator+ (difference_type __n) const
 additional operator for random access iterators

_Self & operator+= (difference_type __n)
 additional operator for random access iterators

_Self operator- (difference_type __n) const
 additional operator for random access iterators

_Self & operator-= (difference_type __n)
 additional operator for random access iterators

reference operator[] (difference_type __n) const
 additional operator for random access iterators


Protected Attributes

_Iterator current
 that's where we are


Detailed Description

template<class _Iterator, class _Node>
class __Child_data_iterator< _Iterator, _Node >

@addgroup internal This class is an iterator adapter for iterating through the data hooks of all children of a given node

Definition at line 50 of file vgtl_algo.h.


Member Typedef Documentation

template<class _Iterator, class _Node>
typedef value_type* __Child_data_iterator< _Iterator, _Node >::pointer
 

standard iterator definitions

Definition at line 63 of file vgtl_algo.h.

template<class _Iterator, class _Node>
typedef value_type& __Child_data_iterator< _Iterator, _Node >::reference
 

standard iterator definitions

Definition at line 64 of file vgtl_algo.h.

template<class _Iterator, class _Node>
typedef ctree_data_hook __Child_data_iterator< _Iterator, _Node >::value_type
 

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:29 2003 for Vienna Graph Template Library by doxygen1.2.18