C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Iterator with an arbitrary access. More...
#include <vsn_iterator.h>
Public Member Functions | |
RandomAccessIterator () | |
Default constructor. | |
RandomAccessIterator (T *ptr) | |
Constructor with pointer to object. | |
T * | operator-> () const |
Pointer to object. | |
T & | operator* () const |
Reference to object. | |
RandomAccessIterator< T > & | operator++ () |
Pointer preincrement. | |
RandomAccessIterator< T > | operator++ (int) |
Pointer post-increment. | |
RandomAccessIterator< T > & | operator-- () |
Pointer pre-decrement. | |
RandomAccessIterator< T > | operator-- (int) |
Pointer postdecrement. | |
RandomAccessIterator< T > & | operator+= (int value) |
Adds offset to pointer. | |
RandomAccessIterator< T > & | operator-= (int value) |
Subtracts offset from pointer. | |
RandomAccessIterator< T > | operator+ (int value) const |
Adds offset to pointer. | |
RandomAccessIterator< T > | operator- (int value) const |
Subtracts offset from pointer. | |
int | operator- (const RandomAccessIterator &rhs) const |
Calculates offset to another iterator. | |
bool | operator== (const RandomAccessIterator &rhs) const |
Checks equality to another iterator. | |
bool | operator!= (const RandomAccessIterator &rhs) const |
Checks inequality to another iterator. | |
bool | operator< (const RandomAccessIterator &rhs) const |
Checks if iterator is less than another iterator. | |
bool | operator> (const RandomAccessIterator &rhs) const |
Checks if iterator is greater than another iterator. | |
bool | operator<= (const RandomAccessIterator &rhs) const |
Checks if iterator is less than or equal to another iterator. | |
bool | operator>= (const RandomAccessIterator &rhs) const |
Checks if iterator is greater than or equal to another iterator. | |
Public Attributes | |
T * | m_ptr |
Pointer to object. | |
Iterator with an arbitrary access.