DGtal  0.9.3
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

◆ difference_type

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

Definition at line 253 of file OneBalancedWordComputer.h.

◆ iterator_category

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

Definition at line 251 of file OneBalancedWordComputer.h.

◆ pointer

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

Definition at line 254 of file OneBalancedWordComputer.h.

◆ reference

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

Definition at line 255 of file OneBalancedWordComputer.h.

◆ value_type

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

◆ ConstPointIterator() [1/2]

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  {}

◆ ConstPointIterator() [2/2]

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.

◆ ~ConstPointIterator()

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

◆ getDSS()

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

Definition at line 363 of file OneBalancedWordComputer.h.

364  {
365  return myDSS;
366  }

◆ getIndex()

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

Definition at line 370 of file OneBalancedWordComputer.h.

References aPoint(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::back(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::begin(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::computeLeaningPoints(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::defaultMoves(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::end(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::extendBack(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::extendFront(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::front(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::getA(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::getArithmeticalDescription(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::getB(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::getMu(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::getOmega(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::getReverse(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::getSelf(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::CodeHandler< TIterator, iterator_type >::init(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::isExtendableBack(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::isExtendableFront(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::isValid(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::Lf(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::Ll(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::longestChristoffelPrefix(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::OneBalancedWordComputer(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::operator!=(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::operator=(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::operator==(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::pointBegin(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::pointEnd(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::remainder(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::retractBack(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::retractFront(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::selfDisplay(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::setPosition(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::translate(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::Uf(), DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::Ul(), and DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::~OneBalancedWordComputer().

◆ next()

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

◆ operator!=()

template<typename TConstIterator, typename TInteger>
bool DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::operator!= ( const ConstPointIterator  other) const
inline

◆ operator*()

template<typename TConstIterator, typename TInteger>
Point DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::operator* ( ) const
inline

Definition at line 311 of file OneBalancedWordComputer.h.

◆ operator++() [1/2]

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

Definition at line 317 of file OneBalancedWordComputer.h.

318  {
319  next();
320  return *this;
321  }

◆ operator++() [2/2]

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

◆ operator-()

template<typename TConstIterator, typename TInteger>
Index DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::operator- ( const ConstPointIterator  other) const
inline

◆ operator--() [1/2]

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

Definition at line 333 of file OneBalancedWordComputer.h.

334  {
335  prev();
336  return *this;
337  }

◆ operator--() [2/2]

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

◆ operator=()

template<typename TConstIterator, typename TInteger>
ConstPointIterator& DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::operator= ( const ConstPointIterator other)
inline

◆ operator==()

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  }

◆ prev()

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

Field Documentation

◆ i

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

◆ myDSS

template<typename TConstIterator, typename TInteger>
const OneBalancedWordComputer* DGtal::OneBalancedWordComputer< TConstIterator, TInteger >::ConstPointIterator::myDSS

◆ p

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

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