|
Visual Computing Library
devel
|
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 | iterator_category = std::random_access_iterator_tag |
| using | pointer = const uint * |
| using | reference = const uint & |
| using | value_type = uint |
Public Member Functions | |
| IndexFromPointerIterator (const Iterator &it) | |
| bool | operator!= (const IndexFromPointerIterator &oi) const |
| value_type | operator* () const |
| IndexFromPointerIterator | operator+ (difference_type n) const |
| IndexFromPointerIterator & | operator++ () |
| IndexFromPointerIterator | operator++ (int) |
| IndexFromPointerIterator & | operator+= (difference_type n) |
| difference_type | operator- (const IndexFromPointerIterator &oi) const |
| IndexFromPointerIterator | operator- (difference_type n) const |
| IndexFromPointerIterator & | operator-- () |
| IndexFromPointerIterator | operator-- (int) |
| IndexFromPointerIterator & | operator-= (difference_type n) |
| auto | operator-> () const |
| bool | operator< (const IndexFromPointerIterator &oi) const |
| bool | operator<= (const IndexFromPointerIterator &oi) const |
| bool | operator== (const IndexFromPointerIterator &oi) const |
| bool | operator> (const IndexFromPointerIterator &oi) const |
| bool | operator>= (const IndexFromPointerIterator &oi) const |
| value_type | operator[] (difference_type i) |
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. |