#include <mia/2d/transform.hh>
Inherits forward_iterator_tag.
Public Types | |
typedef size_t | difference_type |
generic name for the difference type of this iterator More... | |
typedef std::forward_iterator_tag | iterator_category |
provide the STL with some typedef fro traits More... | |
typedef C2DFVector * | pointer |
generic name for the pointer type of this iterator More... | |
typedef C2DFVector & | reference |
generic name for the reference type of this iterator More... | |
typedef C2DFVector | value_type |
generic name for the value type of this iterator More... | |
Public Member Functions | |
const_iterator () | |
const_iterator (iterator_impl *holder) | |
const_iterator (const const_iterator &other) | |
const C2DBounds & | get_size () const |
const C2DFVector & | operator* () const |
const_iterator & | operator++ () |
const_iterator | operator++ (int) |
const_iterator & | operator+= (unsigned int delta) |
const C2DFVector * | operator-> () const |
const_iterator & | operator= (const const_iterator &other) |
const C2DBounds & | pos () const |
void | print (std::ostream &os) const |
Friends | |
EXPORT_2D bool | operator== (const C2DTransformation::const_iterator &a, const C2DTransformation::const_iterator &b) |
Iterator to iterator over the grid points of the supported range
Definition at line 140 of file 2d/transform.hh.
typedef size_t C2DTransformation::const_iterator::difference_type |
generic name for the difference type of this iterator
Definition at line 150 of file 2d/transform.hh.
typedef std::forward_iterator_tag C2DTransformation::const_iterator::iterator_category |
provide the STL with some typedef fro traits
Definition at line 144 of file 2d/transform.hh.
generic name for the pointer type of this iterator
Definition at line 153 of file 2d/transform.hh.
generic name for the reference type of this iterator
Definition at line 156 of file 2d/transform.hh.
generic name for the value type of this iterator
Definition at line 147 of file 2d/transform.hh.
C2DTransformation::const_iterator::const_iterator | ( | ) |
Standard constructor
C2DTransformation::const_iterator::const_iterator | ( | iterator_impl * | holder | ) |
Constructor to be initialized with "a real implementation"
holder | is the implementation that does all the real work and depends on the transformation |
C2DTransformation::const_iterator::const_iterator | ( | const const_iterator & | other | ) |
Copy Constructor impelemnts the deep copy of the holder The pointer to the holder is not shared but cloned.
const C2DBounds& C2DTransformation::const_iterator::get_size | ( | ) | const |
const C2DFVector& C2DTransformation::const_iterator::operator* | ( | ) | const |
const_iterator& C2DTransformation::const_iterator::operator++ | ( | ) |
Prefix increment
const_iterator C2DTransformation::const_iterator::operator++ | ( | int | ) |
Postfix increment
const_iterator& C2DTransformation::const_iterator::operator+= | ( | unsigned int | delta | ) |
Advance a certain amount of steps. This implementation will ususlly be fatser than the generic std::advance function, since for forward_iterators std::advance calls "++" delta times
delta |
const C2DFVector* C2DTransformation::const_iterator::operator-> | ( | ) | const |
const_iterator& C2DTransformation::const_iterator::operator= | ( | const const_iterator & | other | ) |
Assignment operator implemnts the deep copy of the holder The pointer to the holder is not shared but cloned.
const C2DBounds& C2DTransformation::const_iterator::pos | ( | ) | const |
void C2DTransformation::const_iterator::print | ( | std::ostream & | os | ) | const |
|
friend |