Public Member Functions | Private Attributes | Friends

DGtal::ImageContainerBySTLMap< Domain, ValueType >::SpanIterator Class Reference

#include <ImageContainerBySTLMap.h>

Public Member Functions

 SpanIterator (const Point &p, const std::size_t aDim, ImageContainerBySTLMap< Domain, ValueType > *aMap)
const ValueType & operator* () const
void next ()
void prev ()
SpanIteratoroperator++ ()
SpanIteratoroperator++ (int)
SpanIteratoroperator-- ()
SpanIteratoroperator-- (int)

Private Attributes

Point myStartingPoint
Iterator myPos
ImageContainerBySTLMap< Domain,
ValueType > * 
myMap
std::size_t myDimension

Friends

class ImageContainerBySTLMap< Domain, ValueType >

Detailed Description

template<typename Domain, typename ValueType>
class DGtal::ImageContainerBySTLMap< Domain, ValueType >::SpanIterator

Todo:
create span iterators

Constructor & Destructor Documentation

template<typename Domain, typename ValueType>
DGtal::ImageContainerBySTLMap< Domain, ValueType >::SpanIterator::SpanIterator ( const Point p,
const std::size_t  aDim,
ImageContainerBySTLMap< Domain, ValueType > *  aMap 
) [inline]

Member Function Documentation

template<typename Domain, typename ValueType>
void DGtal::ImageContainerBySTLMap< Domain, ValueType >::SpanIterator::next (  )  [inline]
template<typename Domain, typename ValueType>
const ValueType& DGtal::ImageContainerBySTLMap< Domain, ValueType >::SpanIterator::operator* (  )  const [inline]
template<typename Domain, typename ValueType>
SpanIterator& DGtal::ImageContainerBySTLMap< Domain, ValueType >::SpanIterator::operator++ (  )  [inline]
template<typename Domain, typename ValueType>
SpanIterator& DGtal::ImageContainerBySTLMap< Domain, ValueType >::SpanIterator::operator++ ( int   )  [inline]

Operator ++ (it++)

template<typename Domain, typename ValueType>
SpanIterator& DGtal::ImageContainerBySTLMap< Domain, ValueType >::SpanIterator::operator-- ( int   )  [inline]

Operator -- (it--)

template<typename Domain, typename ValueType>
SpanIterator& DGtal::ImageContainerBySTLMap< Domain, ValueType >::SpanIterator::operator-- (  )  [inline]
template<typename Domain, typename ValueType>
void DGtal::ImageContainerBySTLMap< Domain, ValueType >::SpanIterator::prev (  )  [inline]

Friends And Related Function Documentation

template<typename Domain, typename ValueType>
friend class ImageContainerBySTLMap< Domain, ValueType > [friend]

Field Documentation

template<typename Domain, typename ValueType>
std::size_t DGtal::ImageContainerBySTLMap< Domain, ValueType >::SpanIterator::myDimension [private]
template<typename Domain, typename ValueType>
ImageContainerBySTLMap<Domain,ValueType>* DGtal::ImageContainerBySTLMap< Domain, ValueType >::SpanIterator::myMap [private]
template<typename Domain, typename ValueType>
Iterator DGtal::ImageContainerBySTLMap< Domain, ValueType >::SpanIterator::myPos [private]
template<typename Domain, typename ValueType>
Point DGtal::ImageContainerBySTLMap< Domain, ValueType >::SpanIterator::myStartingPoint [private]

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