DGtal  0.9.4beta
Public Types | Public Member Functions | Data Fields
DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator Struct Reference

#include <DGtal/geometry/curves/OneBalancedWordComputer.h>

Collaboration diagram for DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator:
[legend]

Public Types

typedef BidirectionalCategory iterator_category
 
typedef Point value_type
 
typedef Index difference_type
 
typedef Pointpointer
 
typedef Pointreference
 

Public Member Functions

 ConstPointIterator ()
 
 ConstPointIterator (const OneBalancedWordComputer *dss, Index ind, Point pt)
 
 ~ConstPointIterator ()
 
bool operator== (const ConstPointIterator other) const
 
bool operator!= (const ConstPointIterator other) const
 
Index operator- (const ConstPointIterator other) const
 
ConstPointIteratoroperator= (const ConstPointIterator &other)
 
Point operator* () const
 
ConstPointIteratoroperator++ ()
 
ConstPointIterator operator++ (int)
 
ConstPointIteratoroperator-- ()
 
ConstPointIterator operator-- (int)
 
void next ()
 
void prev ()
 
const OneBalancedWordComputergetDSS () const
 
Index getIndex () const
 

Data Fields

const OneBalancedWordComputermyDSS
 
Index i
 
Point p
 

Detailed Description

template<typename TConstIterator, typename TInteger>
struct DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator

Iterator on the points of the DSS

Definition at line 248 of file OneBalancedWordComputer.h.

Member Typedef Documentation

template<typename TConstIterator , typename TInteger >
typedef Index DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::difference_type

Definition at line 253 of file OneBalancedWordComputer.h.

template<typename TConstIterator , typename TInteger >
typedef BidirectionalCategory DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::iterator_category

Definition at line 251 of file OneBalancedWordComputer.h.

template<typename TConstIterator , typename TInteger >
typedef Point* DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::pointer

Definition at line 254 of file OneBalancedWordComputer.h.

template<typename TConstIterator , typename TInteger >
typedef Point& DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::reference

Definition at line 255 of file OneBalancedWordComputer.h.

template<typename TConstIterator , typename TInteger >
typedef Point DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::value_type

Definition at line 252 of file OneBalancedWordComputer.h.

Constructor & Destructor Documentation

template<typename TConstIterator , typename TInteger >
DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::ConstPointIterator ( )
inline

Default constructor, does nothing

Definition at line 264 of file OneBalancedWordComputer.h.

265  {}
template<typename TConstIterator , typename TInteger >
DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::ConstPointIterator ( const OneBalancedWordComputer dss,
Index  ind,
Point  pt 
)
inline

Initialization constructor.

Parameters
dssOneBalancedWordComputer on which the iterator is defined.
indIndex of the first letter.
ptstarting point of the iterator.

Definition at line 273 of file OneBalancedWordComputer.h.

template<typename TConstIterator , typename TInteger >
DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::~ConstPointIterator ( )
inline

Destructor. Does nothing.

Definition at line 280 of file OneBalancedWordComputer.h.

280 {}

Member Function Documentation

template<typename TConstIterator , typename TInteger >
const OneBalancedWordComputer* DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::getDSS ( ) const
inline
template<typename TConstIterator , typename TInteger >
Index DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::getIndex ( ) const
inline
template<typename TConstIterator , typename TInteger >
void DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::next ( )
inline
template<typename TConstIterator , typename TInteger >
bool DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::operator!= ( const ConstPointIterator  other) const
inline
template<typename TConstIterator , typename TInteger >
Point DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::operator* ( ) const
inline
template<typename TConstIterator , typename TInteger >
ConstPointIterator& DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::operator++ ( )
inline
template<typename TConstIterator , typename TInteger >
ConstPointIterator DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::operator++ ( int  )
inline
template<typename TConstIterator , typename TInteger >
Index DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::operator- ( const ConstPointIterator  other) const
inline
template<typename TConstIterator , typename TInteger >
ConstPointIterator& DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::operator-- ( )
inline
template<typename TConstIterator , typename TInteger >
ConstPointIterator DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::operator-- ( int  )
inline
template<typename TConstIterator , typename TInteger >
ConstPointIterator& DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::operator= ( const ConstPointIterator other)
inline
template<typename TConstIterator , typename TInteger >
bool DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::operator== ( const ConstPointIterator  other) const
inline

Comparaison operators.

Definition at line 285 of file OneBalancedWordComputer.h.

References DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::i.

286  {
287  return i == other.i;
288  }
template<typename TConstIterator , typename TInteger >
void DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::prev ( )
inline

Field Documentation

template<typename TConstIterator , typename TInteger >
Index DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::i
template<typename TConstIterator , typename TInteger >
const OneBalancedWordComputer* DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::myDSS
template<typename TConstIterator , typename TInteger >
Point DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::p

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