ERC CISST - cisst software

vctFixedStrideMatrixIterator< _elementType, _columnStride, _numColumns, _rowStride > Class Template Reference

#include <vctFixedStrideMatrixIterator.h>

Inheritance diagram for vctFixedStrideMatrixIterator< _elementType, _columnStride, _numColumns, _rowStride >:

Inheritance graph
[legend]
Collaboration diagram for vctFixedStrideMatrixIterator< _elementType, _columnStride, _numColumns, _rowStride >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class _elementType, vct::stride_type _columnStride, vct::index_type _numColumns, vct::stride_type _rowStride>
class vctFixedStrideMatrixIterator< _elementType, _columnStride, _numColumns, _rowStride >

See also:
vctFixedStrideMatrixConstIterator

Definition at line 356 of file vctFixedStrideMatrixIterator.h.

Public Types

Public Member Functions

Public Attributes


Member Typedef Documentation

template<class _elementType, vct::stride_type _columnStride, vct::index_type _numColumns, vct::stride_type _rowStride>
typedef vctFixedStrideMatrixIterator<_elementType, _columnStride, _numColumns, _rowStride> vctFixedStrideMatrixIterator< _elementType, _columnStride, _numColumns, _rowStride >::ThisType

The type of the iterator itself.

Reimplemented from vctFixedStrideMatrixConstIterator< _elementType, _columnStride, _numColumns, _rowStride >.

Definition at line 362 of file vctFixedStrideMatrixIterator.h.

template<class _elementType, vct::stride_type _columnStride, vct::index_type _numColumns, vct::stride_type _rowStride>
typedef vctFixedStrideMatrixConstIterator<_elementType, _columnStride, _numColumns, _rowStride> vctFixedStrideMatrixIterator< _elementType, _columnStride, _numColumns, _rowStride >::BaseType

Base type for this iterator, i.e. std::iterator.

Reimplemented from vctFixedStrideMatrixConstIterator< _elementType, _columnStride, _numColumns, _rowStride >.

Definition at line 363 of file vctFixedStrideMatrixIterator.h.

template<class _elementType, vct::stride_type _columnStride, vct::index_type _numColumns, vct::stride_type _rowStride>
typedef BaseType::iterator_category vctFixedStrideMatrixIterator< _elementType, _columnStride, _numColumns, _rowStride >::iterator_category

Type (i.e. category) of iterator, i.e. std::random_access_iterator_tag.

Reimplemented from vctFixedStrideMatrixConstIterator< _elementType, _columnStride, _numColumns, _rowStride >.

Definition at line 364 of file vctFixedStrideMatrixIterator.h.


Constructor & Destructor Documentation

template<class _elementType, vct::stride_type _columnStride, vct::index_type _numColumns, vct::stride_type _rowStride>
vctFixedStrideMatrixIterator< _elementType, _columnStride, _numColumns, _rowStride >::vctFixedStrideMatrixIterator (  )  [inline]

Default constructor: create an uninitialized object

Definition at line 367 of file vctFixedStrideMatrixIterator.h.

template<class _elementType, vct::stride_type _columnStride, vct::index_type _numColumns, vct::stride_type _rowStride>
vctFixedStrideMatrixIterator< _elementType, _columnStride, _numColumns, _rowStride >::vctFixedStrideMatrixIterator ( value_type *  dataPtr,
index_type  initialColumn = 0 
) [inline, explicit]

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.

Definition at line 376 of file vctFixedStrideMatrixIterator.h.


Member Function Documentation

template<class _elementType, vct::stride_type _columnStride, vct::index_type _numColumns, vct::stride_type _rowStride>
ThisType& vctFixedStrideMatrixIterator< _elementType, _columnStride, _numColumns, _rowStride >::operator++ (  )  [inline]

Redefine operator++ to return vctFixedStrideMatrixIterator instead of vctFixedStrideMatrixConstIterator

Reimplemented from vctFixedStrideMatrixConstIterator< _elementType, _columnStride, _numColumns, _rowStride >.

Definition at line 384 of file vctFixedStrideMatrixIterator.h.

template<class _elementType, vct::stride_type _columnStride, vct::index_type _numColumns, vct::stride_type _rowStride>
ThisType vctFixedStrideMatrixIterator< _elementType, _columnStride, _numColumns, _rowStride >::operator++ ( int   )  [inline]

Redefine operator++ to return vctFixedStrideMatrixIterator instead of vctFixedStrideMatrixConstIterator

Reimplemented from vctFixedStrideMatrixConstIterator< _elementType, _columnStride, _numColumns, _rowStride >.

Definition at line 391 of file vctFixedStrideMatrixIterator.h.

template<class _elementType, vct::stride_type _columnStride, vct::index_type _numColumns, vct::stride_type _rowStride>
ThisType& vctFixedStrideMatrixIterator< _elementType, _columnStride, _numColumns, _rowStride >::operator-- (  )  [inline]

Redefine operator-- to return vctFixedStrideMatrixIterator instead of vctFixedStrideMatrixConstIterator

Reimplemented from vctFixedStrideMatrixConstIterator< _elementType, _columnStride, _numColumns, _rowStride >.

Definition at line 400 of file vctFixedStrideMatrixIterator.h.

template<class _elementType, vct::stride_type _columnStride, vct::index_type _numColumns, vct::stride_type _rowStride>
ThisType vctFixedStrideMatrixIterator< _elementType, _columnStride, _numColumns, _rowStride >::operator-- ( int   )  [inline]

Redefine operator-- to return vctFixedStrideMatrixIterator instead of vctFixedStrideMatrixConstIterator

Reimplemented from vctFixedStrideMatrixConstIterator< _elementType, _columnStride, _numColumns, _rowStride >.

Definition at line 407 of file vctFixedStrideMatrixIterator.h.

template<class _elementType, vct::stride_type _columnStride, vct::index_type _numColumns, vct::stride_type _rowStride>
ThisType& vctFixedStrideMatrixIterator< _elementType, _columnStride, _numColumns, _rowStride >::operator+= ( difference_type  difference  )  [inline]

Redefine operator+= to return vctArrayIterator instead of vctArrayConstIterator

Reimplemented from vctFixedStrideMatrixConstIterator< _elementType, _columnStride, _numColumns, _rowStride >.

Definition at line 416 of file vctFixedStrideMatrixIterator.h.

template<class _elementType, vct::stride_type _columnStride, vct::index_type _numColumns, vct::stride_type _rowStride>
ThisType& vctFixedStrideMatrixIterator< _elementType, _columnStride, _numColumns, _rowStride >::operator-= ( difference_type  difference  )  [inline]

Redefine operator-= to return vctArrayIterator instead of vctArrayConstIterator

Reimplemented from vctFixedStrideMatrixConstIterator< _elementType, _columnStride, _numColumns, _rowStride >.

Definition at line 423 of file vctFixedStrideMatrixIterator.h.

template<class _elementType, vct::stride_type _columnStride, vct::index_type _numColumns, vct::stride_type _rowStride>
value_type& vctFixedStrideMatrixIterator< _elementType, _columnStride, _numColumns, _rowStride >::operator[] ( difference_type  index  )  const [inline]

Add non-const version of operator []

Reimplemented from vctFixedStrideMatrixConstIterator< _elementType, _columnStride, _numColumns, _rowStride >.

Definition at line 429 of file vctFixedStrideMatrixIterator.h.

template<class _elementType, vct::stride_type _columnStride, vct::index_type _numColumns, vct::stride_type _rowStride>
value_type& vctFixedStrideMatrixIterator< _elementType, _columnStride, _numColumns, _rowStride >::operator * (  )  [inline]

Add non-const version of unary operator *

Definition at line 437 of file vctFixedStrideMatrixIterator.h.

References vctFixedStrideMatrixConstIterator< _elementType, _columnStride, _numColumns, _rowStride >::DataPtr.


The documentation for this class was generated from the following file:
erc-cisst-devel<at>lists.johnshopkins.edu