Visual Computing Library
|
This iterator is used to iterate over a container of pointers to elements and return the index of the element. More...
#include <vclib/mesh/iterators/components/index_from_pointer_iterator.h>
Public Types | |
using | difference_type = ptrdiff_t |
using | value_type = uint |
using | reference = const uint & |
using | pointer = const uint * |
using | iterator_category = std::random_access_iterator_tag |
Public Member Functions | |
IndexFromPointerIterator (const Iterator &it) | |
value_type | operator* () const |
auto | operator-> () const |
bool | operator== (const IndexFromPointerIterator &oi) const |
bool | operator!= (const IndexFromPointerIterator &oi) const |
IndexFromPointerIterator & | operator++ () |
IndexFromPointerIterator | operator++ (int) |
IndexFromPointerIterator & | operator-- () |
IndexFromPointerIterator | operator-- (int) |
IndexFromPointerIterator & | operator+= (difference_type n) |
IndexFromPointerIterator & | operator-= (difference_type n) |
IndexFromPointerIterator | operator+ (difference_type n) const |
IndexFromPointerIterator | operator- (difference_type n) const |
difference_type | operator- (const IndexFromPointerIterator &oi) const |
value_type | operator[] (difference_type i) |
bool | operator< (const IndexFromPointerIterator &oi) const |
bool | operator> (const IndexFromPointerIterator &oi) const |
bool | operator<= (const IndexFromPointerIterator &oi) const |
bool | operator>= (const IndexFromPointerIterator &oi) const |
Private Attributes | |
Iterator | mIt |
This iterator is used to iterate over a container of pointers to elements and return the index of the element.
Iterator | The iterator type of the container of pointers to elements. |