cisst-saw
|
Define common container related types based on the properties of a fixed size container. More...
#include <vctFixedSizeMatrixTraits.h>
Public Types | |
enum | { ROWS = _rows, COLS = _cols, LENGTH = ROWS*COLS } |
enum | { ROWSTRIDE = _rowStride, COLSTRIDE = _colStride } |
typedef vctFixedStrideMatrixIterator < _elementType, _colStride, _cols, _rowStride > | iterator |
typedef vctFixedStrideMatrixConstIterator < _elementType, _colStride, _cols, _rowStride > | const_iterator |
typedef vctFixedStrideMatrixIterator < _elementType,-_colStride, _cols,-_rowStride > | reverse_iterator |
typedef vctFixedStrideMatrixConstIterator < _elementType,-_colStride, _cols,-_rowStride > | const_reverse_iterator |
typedef value_type | array [LENGTH] |
typedef const value_type | const_array [LENGTH] |
Public Member Functions | |
VCT_CONTAINER_TRAITS_TYPEDEFS (_elementType) | |
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.
typedef value_type vctFixedSizeMatrixTraits< _elementType, _rows, _cols, _rowStride, _colStride >::array[LENGTH] |
Declared for completeness.
typedef const value_type vctFixedSizeMatrixTraits< _elementType, _rows, _cols, _rowStride, _colStride >::const_array[LENGTH] |
Declared for completeness.
typedef vctFixedStrideMatrixConstIterator<_elementType, _colStride, _cols, _rowStride> vctFixedSizeMatrixTraits< _elementType, _rows, _cols, _rowStride, _colStride >::const_iterator |
Const iterator, follows the STL naming convention.
typedef vctFixedStrideMatrixConstIterator<_elementType, -_colStride, _cols, -_rowStride> vctFixedSizeMatrixTraits< _elementType, _rows, _cols, _rowStride, _colStride >::const_reverse_iterator |
Const reverse iterator, follows the STL naming convention.
typedef vctFixedStrideMatrixIterator<_elementType, _colStride, _cols, _rowStride> vctFixedSizeMatrixTraits< _elementType, _rows, _cols, _rowStride, _colStride >::iterator |
Iterator, follows the STL naming convention.
typedef vctFixedStrideMatrixIterator<_elementType, -_colStride, _cols, -_rowStride> vctFixedSizeMatrixTraits< _elementType, _rows, _cols, _rowStride, _colStride >::reverse_iterator |
Reverse iterator, follows the STL naming convention.
anonymous enum |
anonymous enum |
vctFixedSizeMatrixTraits< _elementType, _rows, _cols, _rowStride, _colStride >::VCT_CONTAINER_TRAITS_TYPEDEFS | ( | _elementType | ) |