![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Traits selecting the element accessor and Util::IndexedElementIterator specialization for mutable iteration over E. More...
#include <VectorIterator.hpp>
Public Types | |
| typedef E | VectorType |
| The (mutable) vector expression type being iterated. More... | |
| typedef E::SizeType | SizeType |
| The size type used by the iterated vector. More... | |
| typedef E::ValueType | ValueType |
| The element value type of the iterated vector. More... | |
| typedef VectorElementAccessor< E > | AccessorType |
| The element-access functor type used to materialize iterator references. More... | |
| typedef Util::IndexedElementIterator< ValueType, AccessorType, SizeType > | IteratorType |
| The constructed iterator type (a Util::IndexedElementIterator specialization). More... | |
Static Public Member Functions | |
| static IteratorType | makeIterator (VectorType &e, SizeType idx) |
| Creates an iterator pointing to the element at index idx of e. More... | |
Traits selecting the element accessor and Util::IndexedElementIterator specialization for mutable iteration over E.
| E | The vector expression type. |
| typedef E CDPL::Math::VectorIteratorTraits< E >::VectorType |
The (mutable) vector expression type being iterated.
| typedef E::SizeType CDPL::Math::VectorIteratorTraits< E >::SizeType |
The size type used by the iterated vector.
| typedef E::ValueType CDPL::Math::VectorIteratorTraits< E >::ValueType |
The element value type of the iterated vector.
| typedef VectorElementAccessor<E> CDPL::Math::VectorIteratorTraits< E >::AccessorType |
The element-access functor type used to materialize iterator references.
| typedef Util::IndexedElementIterator<ValueType, AccessorType, SizeType> CDPL::Math::VectorIteratorTraits< E >::IteratorType |
The constructed iterator type (a Util::IndexedElementIterator specialization).
|
inlinestatic |
Creates an iterator pointing to the element at index idx of e.
| e | The vector expression. |
| idx | The zero-based index of the element to point to. |