RobWorkProject
24.12.4-
|
Forward iterator for vectors of pointers to const T. More...
#include <VectorIterator.hpp>
Public Types | |
typedef I::iterator_category | iterator_category |
typedef T const | value_type |
typedef T const * | pointer |
typedef T const & | reference |
typedef I::difference_type | difference_type |
Public Member Functions | |
ConstVectorIterator (I pos) | |
Iterator for the element at pos. | |
const T & | operator* () const |
Reference to the T element. | |
const T * | operator-> () const |
Pointer to the T element. | |
ConstVectorIterator & | operator++ () |
Increments the position of the iterator. More... | |
ConstVectorIterator | operator++ (int) |
Increments the position of the iterator. More... | |
bool | operator== (const ConstVectorIterator &other) const |
Tests whether the positions of two iterators are equal. More... | |
bool | operator!= (const ConstVectorIterator &other) const |
Tests whether the positions of two iterators are unequal. More... | |
ConstVectorIterator (VectorIterator< T > pos) | |
Implicit conversion from iterators. | |
Forward iterator for vectors of pointers to const T.
typedef I::difference_type difference_type |
Difference type.
typedef I::iterator_category iterator_category |
Iterator category.
typedef T const* pointer |
Pointer type.
typedef T const& reference |
Reference type.
typedef T const value_type |
Value type.
|
inline |
Tests whether the positions of two iterators are unequal.
other | [in] VectorIterator to compare with |
|
inline |
Increments the position of the iterator.
|
inline |
Increments the position of the iterator.
|
inline |
Tests whether the positions of two iterators are equal.
other | [in] VectorIterator to compare with |