DGtal::LineDomain< TSpace >::ConstIterator Class Reference

#include <LineDomain.h>

List of all members.

Public Types

typedef
std::bidirectional_iterator_tag 
iterator_category
typedef PointType value_type
typedef ptrdiff_t difference_type
typedef PointTypepointer
typedef PointTypereference

Public Member Functions

 ConstIterator (const PointType &p, const PointType &lower, const PointType &upper)
const PointTypeoperator* () const
bool operator== (const ConstIterator &it) const
bool operator!= (const ConstIterator &aIt) const
void next ()
ConstIteratoroperator++ ()
ConstIteratoroperator++ (int)
void prev ()
ConstIteratoroperator-- ()
ConstIteratoroperator-- (int)

Private Attributes

PointType myPoint
PointType mylower
PointType myupper
std::size_t myCurrentPos

Detailed Description

template<class TSpace>
class DGtal::LineDomain< TSpace >::ConstIterator

ConstIterator class for HyperRectDomain.


Member Typedef Documentation

template<class TSpace >
typedef ptrdiff_t DGtal::LineDomain< TSpace >::ConstIterator::difference_type
template<class TSpace >
typedef std::bidirectional_iterator_tag DGtal::LineDomain< TSpace >::ConstIterator::iterator_category
template<class TSpace >
typedef PointType* DGtal::LineDomain< TSpace >::ConstIterator::pointer
template<class TSpace >
typedef PointType& DGtal::LineDomain< TSpace >::ConstIterator::reference
template<class TSpace >
typedef PointType DGtal::LineDomain< TSpace >::ConstIterator::value_type
Todo:
construct a RANDOM-ACCESS iterator

Constructor & Destructor Documentation

template<class TSpace >
DGtal::LineDomain< TSpace >::ConstIterator::ConstIterator ( const PointType p,
const PointType lower,
const PointType upper 
) [inline]

Member Function Documentation

template<class TSpace >
void DGtal::LineDomain< TSpace >::ConstIterator::next (  )  [inline]
template<class TSpace >
bool DGtal::LineDomain< TSpace >::ConstIterator::operator!= ( const ConstIterator aIt  )  const [inline]
template<class TSpace >
const PointType& DGtal::LineDomain< TSpace >::ConstIterator::operator* (  )  const [inline]
template<class TSpace >
ConstIterator& DGtal::LineDomain< TSpace >::ConstIterator::operator++ ( int   )  [inline]

Operator ++ (it++)

template<class TSpace >
ConstIterator& DGtal::LineDomain< TSpace >::ConstIterator::operator++ (  )  [inline]
template<class TSpace >
ConstIterator& DGtal::LineDomain< TSpace >::ConstIterator::operator-- ( int   )  [inline]

Operator ++ (it++)

template<class TSpace >
ConstIterator& DGtal::LineDomain< TSpace >::ConstIterator::operator-- (  )  [inline]
template<class TSpace >
bool DGtal::LineDomain< TSpace >::ConstIterator::operator== ( const ConstIterator it  )  const [inline]
template<class TSpace >
void DGtal::LineDomain< TSpace >::ConstIterator::prev (  )  [inline]

Member Data Documentation

template<class TSpace >
std::size_t DGtal::LineDomain< TSpace >::ConstIterator::myCurrentPos [private]
template<class TSpace >
PointType DGtal::LineDomain< TSpace >::ConstIterator::mylower [private]
template<class TSpace >
PointType DGtal::LineDomain< TSpace >::ConstIterator::myPoint [private]
template<class TSpace >
PointType DGtal::LineDomain< TSpace >::ConstIterator::myupper [private]

The documentation for this class was generated from the following file:
Generated on Wed May 26 15:16:32 2010 for DGtal by  doxygen 1.6.3