Simbody
3.5
|
This is an iterator for iterating over the elements of a Vector_ or Vec object. More...
This is an iterator for iterating over the elements of a Vector_ or Vec object.
ELT | The type of an element stored in the vector whose type is given in VECTOR_CLASS . |
VECTOR_CLASS | The type of vector container to iterate through. Its element type must be ELT . |
This random access iterator can be used with any container that supports random-access indexing and a size()
method. However, the intent is for use internally to allow writing a variety of vector math functions without having to specialize them for the various flavors of vector we support.
typedef ELT SimTK::VectorIterator< ELT, VECTOR_CLASS >::value_type |
typedef ptrdiff_t SimTK::VectorIterator< ELT, VECTOR_CLASS >::difference_type |
typedef ELT& SimTK::VectorIterator< ELT, VECTOR_CLASS >::reference |
typedef ELT* SimTK::VectorIterator< ELT, VECTOR_CLASS >::pointer |
typedef std::random_access_iterator_tag SimTK::VectorIterator< ELT, VECTOR_CLASS >::iterator_category |
SimTK::VectorIterator< ELT, VECTOR_CLASS >::VectorIterator | ( | VECTOR_CLASS & | vector, |
ptrdiff_t | index | ||
) | [inline] |
SimTK::VectorIterator< ELT, VECTOR_CLASS >::VectorIterator | ( | const VectorIterator< ELT, VECTOR_CLASS > & | iter | ) | [inline] |
VectorIterator& SimTK::VectorIterator< ELT, VECTOR_CLASS >::operator= | ( | const VectorIterator< ELT, VECTOR_CLASS > & | iter | ) | [inline] |
ELT& SimTK::VectorIterator< ELT, VECTOR_CLASS >::operator* | ( | ) | [inline] |
ELT& SimTK::VectorIterator< ELT, VECTOR_CLASS >::operator[] | ( | ptrdiff_t | i | ) | [inline] |
VectorIterator SimTK::VectorIterator< ELT, VECTOR_CLASS >::operator++ | ( | ) | [inline] |
VectorIterator SimTK::VectorIterator< ELT, VECTOR_CLASS >::operator++ | ( | int | ) | [inline] |
VectorIterator SimTK::VectorIterator< ELT, VECTOR_CLASS >::operator-- | ( | ) | [inline] |
VectorIterator SimTK::VectorIterator< ELT, VECTOR_CLASS >::operator-- | ( | int | ) | [inline] |
VectorIterator SimTK::VectorIterator< ELT, VECTOR_CLASS >::operator+= | ( | ptrdiff_t | n | ) | [inline] |
VectorIterator SimTK::VectorIterator< ELT, VECTOR_CLASS >::operator-= | ( | ptrdiff_t | n | ) | [inline] |
bool SimTK::VectorIterator< ELT, VECTOR_CLASS >::operator< | ( | VectorIterator< ELT, VECTOR_CLASS > | iter | ) | const [inline] |
bool SimTK::VectorIterator< ELT, VECTOR_CLASS >::operator> | ( | VectorIterator< ELT, VECTOR_CLASS > | iter | ) | const [inline] |
bool SimTK::VectorIterator< ELT, VECTOR_CLASS >::operator<= | ( | VectorIterator< ELT, VECTOR_CLASS > | iter | ) | const [inline] |
bool SimTK::VectorIterator< ELT, VECTOR_CLASS >::operator>= | ( | VectorIterator< ELT, VECTOR_CLASS > | iter | ) | const [inline] |
ptrdiff_t SimTK::VectorIterator< ELT, VECTOR_CLASS >::operator- | ( | VectorIterator< ELT, VECTOR_CLASS > | iter | ) | const [inline] |
VectorIterator SimTK::VectorIterator< ELT, VECTOR_CLASS >::operator- | ( | ptrdiff_t | n | ) | const [inline] |
VectorIterator SimTK::VectorIterator< ELT, VECTOR_CLASS >::operator+ | ( | ptrdiff_t | n | ) | const [inline] |
bool SimTK::VectorIterator< ELT, VECTOR_CLASS >::operator== | ( | VectorIterator< ELT, VECTOR_CLASS > | iter | ) | const [inline] |
bool SimTK::VectorIterator< ELT, VECTOR_CLASS >::operator!= | ( | VectorIterator< ELT, VECTOR_CLASS > | iter | ) | const [inline] |