ERC CISST - cisst software

mtsFixedSizeVector< _elementType, _size > Class Template Reference

Inheritance diagram for mtsFixedSizeVector< _elementType, _size >:

Inheritance graph
[legend]
Collaboration diagram for mtsFixedSizeVector< _elementType, _size >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class _elementType, vct::size_type _size>
class mtsFixedSizeVector< _elementType, _size >

Definition at line 34 of file mtsFixedSizeVector.h.

Public Types

Public Member Functions

Public Attributes


Member Typedef Documentation

template<class _elementType, vct::size_type _size>
typedef mtsFixedSizeVector<value_type, _size> mtsFixedSizeVector< _elementType, _size >::ThisType

This type.

Reimplemented from vctFixedSizeVector< _elementType, _size >.

Definition at line 43 of file mtsFixedSizeVector.h.

template<class _elementType, vct::size_type _size>
typedef vctFixedSizeVector<value_type, _size> mtsFixedSizeVector< _elementType, _size >::VectorType

Type of vector used to store the elements.

Definition at line 46 of file mtsFixedSizeVector.h.


Constructor & Destructor Documentation

template<class _elementType, vct::size_type _size>
mtsFixedSizeVector< _elementType, _size >::mtsFixedSizeVector ( void   )  [inline]

Default constructor.

Definition at line 49 of file mtsFixedSizeVector.h.

References vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >::Zeros().

template<class _elementType, vct::size_type _size>
mtsFixedSizeVector< _elementType, _size >::mtsFixedSizeVector ( const ThisType otherVector  )  [inline]

Copy constructor.

Definition at line 62 of file mtsFixedSizeVector.h.

template<class _elementType, vct::size_type _size>
mtsFixedSizeVector< _elementType, _size >::mtsFixedSizeVector ( const VectorType otherVector  )  [inline]

Pseudo copy constructor from vector type.

Definition at line 68 of file mtsFixedSizeVector.h.

template<class _elementType, vct::size_type _size>
mtsFixedSizeVector< _elementType, _size >::~mtsFixedSizeVector (  )  [inline]

Default destructor, will call the destructor of the contained vector and free the memory.

Definition at line 75 of file mtsFixedSizeVector.h.


Member Function Documentation

template<class _elementType, vct::size_type _size>
ThisType& mtsFixedSizeVector< _elementType, _size >::operator= ( const VectorType data  )  [inline]

Assignment from vector base class. This operator assign the data from one vector to another.

Reimplemented from vctFixedSizeVector< _elementType, _size >.

Definition at line 56 of file mtsFixedSizeVector.h.

References vctFixedSizeVectorBase< _size, 1, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >::Assign().

template<class _elementType, vct::size_type _size>
virtual std::string mtsFixedSizeVector< _elementType, _size >::ToString ( void   )  const [inline, virtual]

To stream human readable output

Reimplemented from cmnGenericObject.

Definition at line 78 of file mtsFixedSizeVector.h.

References mtsFixedSizeVector< _elementType, _size >::ToStream().

template<class _elementType, vct::size_type _size>
virtual void mtsFixedSizeVector< _elementType, _size >::ToStream ( std::ostream &  outputStream  )  const [inline, virtual]

To stream human readable output

Reimplemented from mtsGenericObject.

Definition at line 85 of file mtsFixedSizeVector.h.

References vctFixedSizeConstVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >::ToStream(), and mtsGenericObject::ToStream().

Referenced by mtsFixedSizeVector< _elementType, _size >::ToString().

template<class _elementType, vct::size_type _size>
virtual void mtsFixedSizeVector< _elementType, _size >::ToStreamRaw ( std::ostream &  outputStream,
const char  delimiter = ' ',
bool  headerOnly = false,
const std::string &  headerPrefix = "" 
) const [inline, virtual]

To stream raw data.

Reimplemented from mtsGenericObject.

Definition at line 92 of file mtsFixedSizeVector.h.

References vctFixedSizeConstVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >::ToStreamRaw(), and mtsGenericObject::ToStreamRaw().

template<class _elementType, vct::size_type _size>
void mtsFixedSizeVector< _elementType, _size >::SerializeRaw ( std::ostream &  outputStream  )  const [inline, virtual]

Binary serialization

Reimplemented from mtsGenericObject.

Definition at line 100 of file mtsFixedSizeVector.h.

References vctFixedSizeConstVectorBase< _size, _stride, _elementType, vctFixedSizeVectorTraits< _elementType, _size, 1 >::array >::SerializeRaw(), and mtsGenericObject::SerializeRaw().

template<class _elementType, vct::size_type _size>
void mtsFixedSizeVector< _elementType, _size >::DeSerializeRaw ( std::istream &  inputStream  )  [inline, virtual]

Binary deserialization

Reimplemented from mtsGenericObject.

Definition at line 107 of file mtsFixedSizeVector.h.

References vctFixedSizeVector< _elementType, _size >::DeSerializeRaw(), and mtsGenericObject::DeSerializeRaw().


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