libtgd 4.3
A library that makes working with multidimensional arrays in C++ easy
|
Iterator over all elements in the array. When dereferenced, this returns a pointer to the components of an element. This is a random access iterator. More...
#include <array.hpp>
Public Types | |
using | iterator_category = std::random_access_iterator_tag |
using | value_type = T |
using | pointer = T* |
using | reference = T& |
using | difference_type = std::ptrdiff_t |
Public Member Functions | |
ElementIterator () | |
ElementIterator (T *rhs, size_t componentCount=1) | |
ElementIterator (const ElementIterator &rhs) | |
ElementIterator & | operator+= (difference_type rhs) |
ElementIterator & | operator-= (difference_type rhs) |
T * | operator* () const |
T * | operator-> () const |
T * | operator[] (difference_type rhs) const |
ElementIterator & | operator++ () |
ElementIterator & | operator-- () |
ElementIterator | operator++ (int) |
ElementIterator | operator-- (int) |
difference_type | operator- (const ElementIterator &rhs) const |
ElementIterator | operator+ (difference_type rhs) const |
ElementIterator | operator- (difference_type rhs) const |
bool | operator== (const ElementIterator &rhs) const |
bool | operator!= (const ElementIterator &rhs) const |
bool | operator> (const ElementIterator &rhs) const |
bool | operator< (const ElementIterator &rhs) const |
bool | operator>= (const ElementIterator &rhs) const |
bool | operator<= (const ElementIterator &rhs) const |
Friends | |
ElementIterator | operator+ (difference_type lhs, const ElementIterator &rhs) |
ElementIterator | operator- (difference_type lhs, const ElementIterator &rhs) |
Iterator over all elements in the array. When dereferenced, this returns a pointer to the components of an element. This is a random access iterator.
using TGD::Array< T >::ElementIterator::difference_type = std::ptrdiff_t |
using TGD::Array< T >::ElementIterator::iterator_category = std::random_access_iterator_tag |
using TGD::Array< T >::ElementIterator::pointer = T* |
using TGD::Array< T >::ElementIterator::reference = T& |
using TGD::Array< T >::ElementIterator::value_type = T |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |