ERC CISST - cisst software

vctFixedSizeMatrixTraits< _elementType, _rows, _cols, _rowStride, _colStride > Class Template Reference

#include <vctFixedSizeMatrixTraits.h>

List of all members.


Detailed Description

template<class _elementType, vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride>
class vctFixedSizeMatrixTraits< _elementType, _rows, _cols, _rowStride, _colStride >

Define common container related types based on the properties of a fixed size container.

The types are declared according to the STL requirements for the types declared by a container object. This class is used as a trait to declare the actual containers.

In addition to the STL required types, we declare a few more types for completeness.

Definition at line 47 of file vctFixedSizeMatrixTraits.h.

Public Types

Public Attributes


Member Typedef Documentation

template<class _elementType, vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride>
typedef vctFixedStrideMatrixIterator<_elementType, _colStride, _cols, _rowStride> vctFixedSizeMatrixTraits< _elementType, _rows, _cols, _rowStride, _colStride >::iterator

Iterator, follows the STL naming convention.

Definition at line 54 of file vctFixedSizeMatrixTraits.h.

template<class _elementType, vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride>
typedef vctFixedStrideMatrixConstIterator<_elementType, _colStride, _cols, _rowStride> vctFixedSizeMatrixTraits< _elementType, _rows, _cols, _rowStride, _colStride >::const_iterator

Const iterator, follows the STL naming convention.

Definition at line 57 of file vctFixedSizeMatrixTraits.h.

template<class _elementType, vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride>
typedef vctFixedStrideMatrixIterator<_elementType, -_colStride, _cols, -_rowStride> vctFixedSizeMatrixTraits< _elementType, _rows, _cols, _rowStride, _colStride >::reverse_iterator

Reverse iterator, follows the STL naming convention.

Definition at line 60 of file vctFixedSizeMatrixTraits.h.

template<class _elementType, vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride>
typedef vctFixedStrideMatrixConstIterator<_elementType, -_colStride, _cols, -_rowStride> vctFixedSizeMatrixTraits< _elementType, _rows, _cols, _rowStride, _colStride >::const_reverse_iterator

Const reverse iterator, follows the STL naming convention.

Definition at line 63 of file vctFixedSizeMatrixTraits.h.

template<class _elementType, vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride>
typedef value_type vctFixedSizeMatrixTraits< _elementType, _rows, _cols, _rowStride, _colStride >::array[LENGTH]

Declared for completeness.

Definition at line 70 of file vctFixedSizeMatrixTraits.h.

template<class _elementType, vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride>
typedef const value_type vctFixedSizeMatrixTraits< _elementType, _rows, _cols, _rowStride, _colStride >::const_array[LENGTH]

Declared for completeness.

Definition at line 72 of file vctFixedSizeMatrixTraits.h.


Member Enumeration Documentation

template<class _elementType, vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride>
anonymous enum

Define the dimensions of the matrix: number of rows, number of columns, and the total length of the matrix, which is their product

Definition at line 68 of file vctFixedSizeMatrixTraits.h.

template<class _elementType, vct::size_type _rows, vct::size_type _cols, vct::stride_type _rowStride, vct::stride_type _colStride>
anonymous enum

Declared to enable inference of the stride of the container.

Definition at line 75 of file vctFixedSizeMatrixTraits.h.


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