cisst-saw
|
#include <prmMaskedVector.h>
Public Types | |
typedef prmMaskedVector < _elementType > | ThisType |
typedef mtsGenericObject | BaseType |
typedef vctDynamicVector < _elementType > | DataType |
Public Member Functions | |
prmMaskedVector (void) | |
void | SetSize (size_type size) |
prmMaskedVector (size_type size) | |
prmMaskedVector (const ThisType &otherVector) | |
~prmMaskedVector () | |
virtual std::string | ToString (void) const |
virtual void | ToStream (std::ostream &outputStream) const |
void | SerializeRaw (std::ostream &outputStream) const |
void | DeSerializeRaw (std::istream &inputStream) |
![]() | |
mtsGenericObject (void) | |
mtsGenericObject (double timestamp, bool automaticTimestamp, bool valid) | |
mtsGenericObject (const mtsGenericObject &other) | |
virtual | ~mtsGenericObject (void) |
bool | SetTimestampIfAutomatic (double timestamp) |
virtual void | ToStreamRaw (std::ostream &outputStream, const char delimiter= ' ', bool headerOnly=false, const std::string &headerPrefix="") const |
virtual bool | FromStreamRaw (std::istream &inputStream, const char delimiter= ' ') |
size_t | ScalarNumber (void) const |
bool | ScalarNumberIsFixed (void) const |
double | Scalar (const size_t index) const throw (std::out_of_range) |
std::string | ScalarDescription (const size_t index, const std::string &userDescription="") const throw (std::out_of_range) |
![]() | |
virtual | ~cmnGenericObject (void) |
virtual const cmnClassServicesBase * | Services (void) const =0 |
bool | ReconstructFrom (const cmnGenericObject &other) |
std::string | ToString (void) const |
virtual cmnLogger::StreamBufType * | GetLogMultiplexer (void) const |
virtual double | Scalar (const size_t CMN_UNUSED(index)) const throw (std::out_of_range) |
virtual std::string | ScalarDescription (const size_t CMN_UNUSED(index), const std::string &CMN_UNUSED(userDescription)) const |
Protected Types | |
typedef unsigned int | size_type |
Protected Member Functions | |
CMN_DECLARE_MEMBER_AND_ACCESSORS (DataType, Data) | |
CMN_DECLARE_MEMBER_AND_ACCESSORS (vctBoolVec, Mask) | |
typedef mtsGenericObject prmMaskedVector< _elementType >::BaseType |
typedef vctDynamicVector<_elementType> prmMaskedVector< _elementType >::DataType |
|
protected |
Type used to define the size of the vector.
typedef prmMaskedVector<_elementType> prmMaskedVector< _elementType >::ThisType |
This type.
|
inline |
Default constructor.
|
inline |
Constructor with memory allocation for a given size.
|
inline |
Copy constructor.
|
inline |
Default destructor, will call the destructor of the contained vector and free the memory.
|
protected |
Vector of values for this container
|
protected |
Masks for the cooresponding vector
|
inlinevirtual |
Binary deserialization
Reimplemented from mtsGenericObject.
|
inlinevirtual |
Binary serialization
Reimplemented from mtsGenericObject.
|
inline |
Set vector same size for each element, this is required if the above constructor is not used Sets all elements to 0
|
inlinevirtual |
To stream human readable output
Reimplemented from mtsGenericObject.
|
inlinevirtual |
To stream human readable output