![]() |
Object-oriented Scientific Computing Library: Version 0.910
|
A const iterator for ovectors. More...
#include <ovector_tlate.h>
Definition at line 123 of file ovector_tlate.h.
Public Member Functions | |
const_iterator (const iterator &it) | |
Copy-constructor for a const iterator. | |
bool | operator== (const const_iterator &it) const |
Equality. | |
bool | operator!= (const const_iterator &it) const |
Inequality. | |
bool | operator!= (const iterator &it) const |
Inequality. | |
bool | operator< (const const_iterator &it) const |
Less than. | |
bool | operator> (const const_iterator &it) const |
Greater than. | |
const_iterator | operator++ () |
Prefix increment. | |
const_iterator | operator-- () |
Prefix decrement. | |
const_iterator | operator++ (int) |
Postfix increment. | |
const_iterator | operator-- (int) |
Postfix decrement. | |
const data_t | operator* () const |
Dereference - return the corresponding vector element. | |
const_iterator | operator+= (size_t n) |
Move forward. | |
const_iterator | operator-= (size_t n) |
Move backwards. | |
Protected Member Functions | |
const_iterator (data_t *p, size_t s) | |
Internally create an iterator directly from a pointer. | |
Protected Attributes | |
data_t * | dp |
Pointer to current. | |
size_t | stride |
Stride. | |
Friends | |
class | ovector_const_view_tlate< data_t, vparent_t, block_t > |
Grant access to ovector classes for begin() and end() functions. | |
class | ovector_base_tlate< data_t, vparent_t, block_t > |
Grant access to ovector classes for begin() and end() functions. |
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).