creates an Indexed Iterator, an Iterator which also carries index information using index() More...
#include <shark/Core/utility/Iterators.h>
Inheritance diagram for shark::IndexedIterator< Iterator >:Public Member Functions | |
| IndexedIterator () | |
| template<class I > | |
| IndexedIterator (IndexedIterator< I > const &iterator) | |
| Copy-Constructs this iterator from some other IndexedIterator convertible to this. | |
| template<class IteratorT > | |
| IndexedIterator (IteratorT const &iterator, std::size_t startIndex) | |
| Constructs the iterator from another iterator plus a starting index. | |
| std::size_t | index () const |
Friends | |
| class | SHARK_ITERATOR_CORE_ACCESS |
creates an Indexed Iterator, an Iterator which also carries index information using index()
The underlying Iterator must be a random access iterator
Definition at line 46 of file Iterators.h.
|
inline |
Definition at line 54 of file Iterators.h.
|
inline |
Copy-Constructs this iterator from some other IndexedIterator convertible to this.
Definition at line 59 of file Iterators.h.
|
inline |
Constructs the iterator from another iterator plus a starting index.
Definition at line 64 of file Iterators.h.
|
inline |
Definition at line 67 of file Iterators.h.
|
friend |
Definition at line 78 of file Iterators.h.