|
| | LFVectorIterator (V *vector, size_t i) |
| | Construct an iterator for a given vector and position. More...
|
| |
| template<class U , class W > |
| | LFVectorIterator (const LFVectorIterator< U, W > &from) |
| | Copy-construct an iterator. More...
|
| |
| T & | operator* () const |
| | Dereference the element at the current position. More...
|
| |
| T * | operator-> () const |
| | Address the element at the current position. More...
|
| |
| T & | operator[] (const size_t &n) const |
| | Address the element at the given position. More...
|
| |
| | IndexIterator (V *container, const size_t i) |
| | Construct an iterator for a given container and position. More...
|
| |
| | IndexIterator (const LFVectorIterator< V, T > &from) |
| | Copy-construct an iterator. More...
|
| |
| | IndexIterator (const IndexIterator< U, V, W > &from) |
| | Copy-construct an iterator. More...
|
| |
| LFVectorIterator< V, T > & | operator= (const IndexIterator &rhs) |
| | Assign the container and position from another iterator. More...
|
| |
| LFVectorIterator< V, T > & | operator= (const IndexIterator< LFVectorIterator< V, T >, U, W > &rhs) |
| | Assign the container and position from another iterator. More...
|
| |
| LFVectorIterator< V, T > & | operator++ () |
| | Increment the iterator position. More...
|
| |
| LFVectorIterator< V, T > | operator++ (int) |
| | Increment the iterator position. More...
|
| |
| LFVectorIterator< V, T > & | operator-- () |
| | Decrement the iterator position. More...
|
| |
| LFVectorIterator< V, T > | operator-- (int) |
| | Decrement the iterator position. More...
|
| |
| LFVectorIterator< V, T > | operator+ (const size_t &n) const |
| | Increment the iterator position by a given amount. More...
|
| |
| LFVectorIterator< V, T > & | operator+= (const size_t &n) |
| | Increment the iterator position by a given amount. More...
|
| |
| LFVectorIterator< V, T > | operator- (const size_t &n) const |
| | Decrement the iterator position by a given amount. More...
|
| |
| ssize_t | operator- (const LFVectorIterator< V, T > &n) const |
| | Compute the distance between this and another iterator. More...
|
| |
| LFVectorIterator< V, T > & | operator-= (const size_t &n) |
| | Decrement the iterator position by a given amount. More...
|
| |
| bool | operator== (const LFVectorIterator< V, T > &rhs) const |
| |
| bool | operator!= (const LFVectorIterator< V, T > &rhs) const |
| |
| bool | operator< (const LFVectorIterator< V, T > &rhs) const |
| |
| bool | operator> (const LFVectorIterator< V, T > &rhs) const |
| |
| bool | operator<= (const LFVectorIterator< V, T > &rhs) const |
| |
| bool | operator>= (const LFVectorIterator< V, T > &rhs) const |
| |
| size_t | getPosition () const |
| |
template<class V, class T>
class lunchbox::LFVectorIterator< V, T >
An iterator for LFVector.
- Template Parameters
-
Definition at line 36 of file lfVectorIterator.h.