Public Member Functions | Protected Member Functions | Protected Attributes | Friends
vipl_section_iterator< DataType > Class Template Reference

#include <vipl_section_iterator.h>

List of all members.

Public Member Functions

virtual ~vipl_section_iterator ()
 vipl_section_iterator ()
 vipl_section_iterator (const vipl_section_iterator< DataType > &)
virtual vipl_section_iterator
< DataType > & 
operator++ ()
virtual vipl_section_iterator
< DataType > 
operator++ (int a)
virtual
vipl_section_descriptor
< DataType > 
operator* ()
virtual bool operator== (const vipl_section_iterator< DataType > &p) const
 The equality test is true if this and p have the same address, or if this and p both have null descriptors.
virtual bool operator!= (const vipl_section_iterator< DataType > &p) const
virtual vipl_section_iterator
< DataType > & 
operator= (const vipl_section_iterator< DataType > &p)
vipl_section_descriptor
< DataType > * 
real_descriptor () const
vipl_section_descriptor
< DataType > *& 
ref_real_descriptor ()
void put_real_descriptor (vipl_section_descriptor< DataType > *v)
vipl_section_container
< DataType > * 
container () const
vipl_section_container
< DataType > *& 
ref_container ()
void put_container (vipl_section_container< DataType > *v)
int incr_count () const
int & ref_incr_count ()
void put_incr_count (int v)

Protected Member Functions

 vipl_section_iterator (vipl_section_descriptor< DataType > *desc, vipl_section_container< DataType > *container)
 vipl_section_iterator (vipl_section_descriptor< DataType > *desc, vipl_section_container< DataType > *container, int t)

Protected Attributes

vipl_section_descriptor
< DataType > * 
hsreal_descriptor
vipl_section_container
< DataType > * 
hscontainer
int hsincr_count

Friends

class vipl_section_container< DataType >
class vipl_section_descriptor< DataType >

Detailed Description

template<class DataType>
class vipl_section_iterator< DataType >

Definition at line 12 of file vipl_section_iterator.h.


Constructor & Destructor Documentation

template<class DataType >
vipl_section_iterator< DataType >::vipl_section_iterator ( vipl_section_descriptor< DataType > *  desc,
vipl_section_container< DataType > *  container 
) [protected]

Definition at line 23 of file vipl_section_iterator.txx.

template<class DataType >
vipl_section_iterator< DataType >::vipl_section_iterator ( vipl_section_descriptor< DataType > *  desc,
vipl_section_container< DataType > *  container,
int  t 
) [protected]

Definition at line 47 of file vipl_section_iterator.txx.

template<class DataType >
vipl_section_iterator< DataType >::~vipl_section_iterator ( ) [virtual]

Definition at line 60 of file vipl_section_iterator.txx.

template<class DataType >
vipl_section_iterator< DataType >::vipl_section_iterator ( )

Definition at line 70 of file vipl_section_iterator.txx.

template<class DataType >
vipl_section_iterator< DataType >::vipl_section_iterator ( const vipl_section_iterator< DataType > &  t)

Definition at line 79 of file vipl_section_iterator.txx.


Member Function Documentation

template<class DataType>
vipl_section_container< DataType >* vipl_section_iterator< DataType >::container ( ) const [inline]

Definition at line 52 of file vipl_section_iterator.h.

template<class DataType>
int vipl_section_iterator< DataType >::incr_count ( ) const [inline]

Definition at line 55 of file vipl_section_iterator.h.

template<class DataType >
bool vipl_section_iterator< DataType >::operator!= ( const vipl_section_iterator< DataType > &  p) const [virtual]

Definition at line 146 of file vipl_section_iterator.txx.

template<class DataType >
vipl_section_descriptor< DataType > vipl_section_iterator< DataType >::operator* ( ) [virtual]

Definition at line 121 of file vipl_section_iterator.txx.

template<class DataType >
vipl_section_iterator< DataType > & vipl_section_iterator< DataType >::operator++ ( ) [virtual]

Definition at line 97 of file vipl_section_iterator.txx.

template<class DataType >
vipl_section_iterator< DataType > vipl_section_iterator< DataType >::operator++ ( int  a) [virtual]

Definition at line 112 of file vipl_section_iterator.txx.

template<class DataType >
vipl_section_iterator< DataType > & vipl_section_iterator< DataType >::operator= ( const vipl_section_iterator< DataType > &  p) [virtual]

Definition at line 152 of file vipl_section_iterator.txx.

template<class DataType >
bool vipl_section_iterator< DataType >::operator== ( const vipl_section_iterator< DataType > &  p) const [virtual]

The equality test is true if this and p have the same address, or if this and p both have null descriptors.

If this XOR p have null descriptor it is false. Finally, if this and p have linked containers which are equal, AND the iterator's ++ counts are the same, it is true, otherwise false.

Definition at line 132 of file vipl_section_iterator.txx.

template<class DataType>
void vipl_section_iterator< DataType >::put_container ( vipl_section_container< DataType > *  v) [inline]

Definition at line 54 of file vipl_section_iterator.h.

template<class DataType>
void vipl_section_iterator< DataType >::put_incr_count ( int  v) [inline]

Definition at line 57 of file vipl_section_iterator.h.

template<class DataType>
void vipl_section_iterator< DataType >::put_real_descriptor ( vipl_section_descriptor< DataType > *  v) [inline]

Definition at line 51 of file vipl_section_iterator.h.

template<class DataType>
vipl_section_descriptor< DataType >* vipl_section_iterator< DataType >::real_descriptor ( ) const [inline]

Definition at line 49 of file vipl_section_iterator.h.

template<class DataType>
vipl_section_container< DataType >* & vipl_section_iterator< DataType >::ref_container ( ) [inline]

Definition at line 53 of file vipl_section_iterator.h.

template<class DataType>
int& vipl_section_iterator< DataType >::ref_incr_count ( ) [inline]

Definition at line 56 of file vipl_section_iterator.h.

template<class DataType>
vipl_section_descriptor< DataType >* & vipl_section_iterator< DataType >::ref_real_descriptor ( ) [inline]

Definition at line 50 of file vipl_section_iterator.h.


Friends And Related Function Documentation

template<class DataType>
friend class vipl_section_container< DataType > [friend]

Definition at line 14 of file vipl_section_iterator.h.

template<class DataType>
friend class vipl_section_descriptor< DataType > [friend]

Definition at line 15 of file vipl_section_iterator.h.


Member Data Documentation

template<class DataType>
vipl_section_container< DataType >* vipl_section_iterator< DataType >::hscontainer [protected]

Definition at line 18 of file vipl_section_iterator.h.

template<class DataType>
int vipl_section_iterator< DataType >::hsincr_count [protected]

Definition at line 19 of file vipl_section_iterator.h.

template<class DataType>
vipl_section_descriptor< DataType >* vipl_section_iterator< DataType >::hsreal_descriptor [protected]

Definition at line 17 of file vipl_section_iterator.h.


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