|
cisst-saw
|
#include <prmMaskedVector.h>
Public Types | |
| typedef size_t | size_type |
| typedef prmMaskedVector< _elementType > | ThisType |
| typedef mtsGenericObject | BaseType |
| typedef vctDynamicVector< _elementType > | DataType |
Public Member Functions | |
| prmMaskedVector (void) | |
| void | SetSize (const size_type size) |
| prmMaskedVector (const size_type size) | |
| prmMaskedVector (const DataType &data, const vctBoolVec &mask) | |
| prmMaskedVector (const ThisType &otherVector) | |
| ~prmMaskedVector () | |
| virtual std::string | ToString (void) const |
| void | ToStream (std::ostream &outputStream) const override |
| void | SerializeRaw (std::ostream &outputStream) const override |
| void | DeSerializeRaw (std::istream &inputStream) override |
| Public Member Functions inherited from mtsGenericObject | |
| mtsGenericObject (void) | |
| mtsGenericObject (double timestamp, bool automaticTimestamp, bool valid) | |
| mtsGenericObject (const mtsGenericObject &other) | |
| virtual | ~mtsGenericObject (void) |
| mtsGenericObject & | operator= (const mtsGenericObject &other) |
| 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 |
| Public Member Functions inherited from cmnGenericObject | |
| 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 CISST_THROW(std |
| virtual std::string | ScalarDescription (const size_t CMN_UNUSED(index), const std::string &CMN_UNUSED(userDescription)) const |
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 |
| typedef size_t prmMaskedVector< _elementType >::size_type |
| typedef prmMaskedVector<_elementType> prmMaskedVector< _elementType >::ThisType |
|
inline |
Default constructor.
|
inline |
Constructor with memory allocation for a given size.
|
inline |
|
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
|
inlineoverridevirtual |
Binary deserialization
Reimplemented from mtsGenericObject.
|
inlineoverridevirtual |
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
|
inlineoverridevirtual |
To stream human readable output
Reimplemented from mtsGenericObject.
|
inlinevirtual |
To stream human readable output