libtgd 4.3
A library that makes working with multidimensional arrays in C++ easy
|
Iterator over all components in the array. 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 | |
ComponentIterator () | |
ComponentIterator (T *rhs) | |
ComponentIterator (const ComponentIterator &rhs) | |
ComponentIterator & | operator+= (difference_type rhs) |
ComponentIterator & | operator-= (difference_type rhs) |
T & | operator* () const |
T * | operator-> () const |
T & | operator[] (difference_type rhs) const |
ComponentIterator & | operator++ () |
ComponentIterator & | operator-- () |
ComponentIterator | operator++ (int) |
ComponentIterator | operator-- (int) |
difference_type | operator- (const ComponentIterator &rhs) const |
ComponentIterator | operator+ (difference_type rhs) const |
ComponentIterator | operator- (difference_type rhs) const |
bool | operator== (const ComponentIterator &rhs) const |
bool | operator!= (const ComponentIterator &rhs) const |
bool | operator> (const ComponentIterator &rhs) const |
bool | operator< (const ComponentIterator &rhs) const |
bool | operator>= (const ComponentIterator &rhs) const |
bool | operator<= (const ComponentIterator &rhs) const |
Friends | |
ComponentIterator | operator+ (difference_type lhs, const ComponentIterator &rhs) |
ComponentIterator | operator- (difference_type lhs, const ComponentIterator &rhs) |
Iterator over all components in the array. This is a random access iterator.
using TGD::Array< T >::ComponentIterator::difference_type = std::ptrdiff_t |
using TGD::Array< T >::ComponentIterator::iterator_category = std::random_access_iterator_tag |
using TGD::Array< T >::ComponentIterator::pointer = T* |
using TGD::Array< T >::ComponentIterator::reference = T& |
using TGD::Array< T >::ComponentIterator::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 |