cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
vctFixedStrideVectorIterator< _elementType, _stride > Class Template Reference

#include <vctFixedStrideVectorIterator.h>

Inheritance diagram for vctFixedStrideVectorIterator< _elementType, _stride >:
vctFixedStrideVectorConstIterator< _elementType, _stride >

Public Types

typedef
vctFixedStrideVectorIterator
< _elementType, _stride > 
ThisType
 
typedef
vctFixedStrideVectorConstIterator
< _elementType, _stride > 
BaseType
 
typedef BaseType::iterator_category iterator_category
 
- Public Types inherited from vctFixedStrideVectorConstIterator< _elementType, _stride >
enum  { STRIDE = _stride }
 
typedef
vctFixedStrideVectorConstIterator
< _elementType, _stride > 
ThisType
 
typedef std::iterator
< std::random_access_iterator_tag,
_elementType > 
BaseType
 
typedef BaseType::iterator_category iterator_category
 

Public Member Functions

 VCT_CONTAINER_TRAITS_TYPEDEFS (_elementType)
 
 vctFixedStrideVectorIterator ()
 
 vctFixedStrideVectorIterator (value_type *dataPtr)
 
ThisTypeoperator++ ()
 
ThisType operator++ (int)
 
ThisTypeoperator-- ()
 
ThisType operator-- (int)
 
ThisTypeoperator+= (difference_type difference)
 
ThisTypeoperator-= (difference_type difference)
 
value_type & operator[] (difference_type index) const
 
value_type & operator* ()
 
- Public Member Functions inherited from vctFixedStrideVectorConstIterator< _elementType, _stride >
 VCT_CONTAINER_TRAITS_TYPEDEFS (_elementType)
 
 vctFixedStrideVectorConstIterator ()
 
 vctFixedStrideVectorConstIterator (value_type *dataPtr)
 
 vctFixedStrideVectorConstIterator (const value_type *dataPtr)
 
ThisTypeoperator++ ()
 
ThisType operator++ (int)
 
ThisTypeoperator-- ()
 
ThisType operator-- (int)
 
ThisTypeoperator+= (difference_type difference)
 
ThisTypeoperator-= (difference_type difference)
 
difference_type operator- (const ThisType &other) const
 
const value_type & operator[] (difference_type index) const
 
const value_type & operator* () const
 
bool operator< (const ThisType &other) const
 
bool operator<= (const ThisType &other) const
 
bool operator== (const ThisType &other) const
 
bool operator> (const ThisType &other) const
 
bool operator>= (const ThisType &other) const
 
bool operator!= (const ThisType &other) const
 

Additional Inherited Members

- Protected Attributes inherited from vctFixedStrideVectorConstIterator< _elementType, _stride >
value_type * DataPtr
 

Detailed Description

template<class _elementType, vct::stride_type _stride>
class vctFixedStrideVectorIterator< _elementType, _stride >

The non-const iterator with a fixed stride.

See Also
vctFixedStrideVectorConstIterator

Member Typedef Documentation

template<class _elementType, vct::stride_type _stride>
typedef vctFixedStrideVectorConstIterator<_elementType, _stride> vctFixedStrideVectorIterator< _elementType, _stride >::BaseType
template<class _elementType, vct::stride_type _stride>
typedef BaseType::iterator_category vctFixedStrideVectorIterator< _elementType, _stride >::iterator_category
template<class _elementType, vct::stride_type _stride>
typedef vctFixedStrideVectorIterator<_elementType, _stride> vctFixedStrideVectorIterator< _elementType, _stride >::ThisType

Constructor & Destructor Documentation

template<class _elementType, vct::stride_type _stride>
vctFixedStrideVectorIterator< _elementType, _stride >::vctFixedStrideVectorIterator ( )
inline

Default constructor: create an uninitialized object

template<class _elementType, vct::stride_type _stride>
vctFixedStrideVectorIterator< _elementType, _stride >::vctFixedStrideVectorIterator ( value_type *  dataPtr)
inlineexplicit

Constructor taking a non-const element pointer. Read and write operations on the refered object are permitted. Note that there is no constructor that takes a const element pointer.

Member Function Documentation

template<class _elementType, vct::stride_type _stride>
value_type& vctFixedStrideVectorIterator< _elementType, _stride >::operator* ( )
inline

Add non-const version of unary operator *

template<class _elementType, vct::stride_type _stride>
ThisType& vctFixedStrideVectorIterator< _elementType, _stride >::operator++ ( )
inline

Redefine operator++ to return vctFixedStrideVectorIterator instead of vctFixedStrideVectorConstIterator

template<class _elementType, vct::stride_type _stride>
ThisType vctFixedStrideVectorIterator< _elementType, _stride >::operator++ ( int  )
inline

Redefine operator++ to return vctFixedStrideVectorIterator instead of vctFixedStrideVectorConstIterator

template<class _elementType, vct::stride_type _stride>
ThisType& vctFixedStrideVectorIterator< _elementType, _stride >::operator+= ( difference_type  difference)
inline

Redefine operator+= to return vctFixedStrideVectorIterator instead of vctFixedStrideVectorConstIterator

template<class _elementType, vct::stride_type _stride>
ThisType& vctFixedStrideVectorIterator< _elementType, _stride >::operator-- ( )
inline

Redefine operator-- to return vctFixedStrideVectorIterator instead of vctFixedStrideVectorConstIterator

template<class _elementType, vct::stride_type _stride>
ThisType vctFixedStrideVectorIterator< _elementType, _stride >::operator-- ( int  )
inline

Redefine operator-- to return vctFixedStrideVectorIterator instead of vctFixedStrideVectorConstIterator

template<class _elementType, vct::stride_type _stride>
ThisType& vctFixedStrideVectorIterator< _elementType, _stride >::operator-= ( difference_type  difference)
inline

Redefine operator-= to return vctFixedStrideVectorIterator instead of vctFixedStrideVectorConstIterator

template<class _elementType, vct::stride_type _stride>
value_type& vctFixedStrideVectorIterator< _elementType, _stride >::operator[] ( difference_type  index) const
inline

Add non-const version of operator []

template<class _elementType, vct::stride_type _stride>
vctFixedStrideVectorIterator< _elementType, _stride >::VCT_CONTAINER_TRAITS_TYPEDEFS ( _elementType  )

The documentation for this class was generated from the following file: