30template <
class _elementType>
63 VectorType::operator = (other);
71 VectorType::SetSize(data.size());
72 VectorType::Assign(data);
94 std::stringstream outputStream;
96 return outputStream.str();
100 void ToStream(std::ostream & outputStream)
const override {
102 outputStream << std::endl;
103 VectorType::ToStream(outputStream);
107 void ToStreamRaw(std::ostream & outputStream,
const char delimiter =
' ',
108 bool headerOnly =
false,
const std::string & headerPrefix =
"")
const override {
110 outputStream << delimiter;
111 VectorType::ToStreamRaw(outputStream, delimiter, headerOnly, headerPrefix);
118 VectorType::SerializeRaw(outputStream);
125 VectorType::DeSerializeRaw(inputStream);
virtual void SerializeRaw(std::ostream &outputStream) const
virtual void ToStream(std::ostream &outputStream) const
mtsGenericObject & operator=(const mtsGenericObject &other)
Definition mtsGenericObject.h:104
mtsGenericObject(void)
Definition mtsGenericObject.h:77
virtual void ToStreamRaw(std::ostream &outputStream, const char delimiter=' ', bool headerOnly=false, const std::string &headerPrefix="") const
virtual void DeSerializeRaw(std::istream &inputStream)
Definition mtsVector.h:32
ThisType & operator=(const ThisType &other)
Definition mtsVector.h:61
VCT_CONTAINER_TRAITS_TYPEDEFS(_elementType)
virtual std::string ToString(void) const
Definition mtsVector.h:93
mtsVector(size_type size)
Definition mtsVector.h:53
mtsVector< value_type > ThisType
Definition mtsVector.h:40
~mtsVector()
Definition mtsVector.h:90
void DeSerializeRaw(std::istream &inputStream) override
Definition mtsVector.h:122
mtsVector(const VectorType &otherVector)
Definition mtsVector.h:83
vctDynamicVector< value_type > VectorType
Definition mtsVector.h:43
void ToStream(std::ostream &outputStream) const override
Definition mtsVector.h:100
mtsVector(void)
Definition mtsVector.h:46
void SerializeRaw(std::ostream &outputStream) const override
Definition mtsVector.h:115
void ToStreamRaw(std::ostream &outputStream, const char delimiter=' ', bool headerOnly=false, const std::string &headerPrefix="") const override
Definition mtsVector.h:107
mtsVector(const ThisType &otherVector)
Definition mtsVector.h:77
Definition vctForwardDeclarations.h:131
Class register definitions and log macros.
#define CMN_DECLARE_SERVICES_INSTANTIATION(className)
Definition cmnClassRegisterMacros.h:199
const int CMN_DYNAMIC_CREATION
Definition cmnClassRegisterMacros.h:328
#define CMN_LOG_ALLOW_DEFAULT
Definition cmnLogLoD.h:76
Forward declarations and #define for cisstMultiTask.
mtsVector< char > mtsCharVec
Definition mtsVector.h:155
mtsVector< bool > mtsBoolVec
Definition mtsVector.h:161
mtsVector< int > mtsIntVec
Definition mtsVector.h:143
mtsVector< long > mtsLongVec
Definition mtsVector.h:137
mtsVector< short > mtsShortVec
Definition mtsVector.h:149
mtsVector< unsigned short > mtsUShortVec
Definition mtsVector.h:152
mtsVector< std::string > mtsStdStringVec
Definition mtsVector.h:164
mtsVector< unsigned long > mtsULongVec
Definition mtsVector.h:140
mtsVector< unsigned int > mtsUIntVec
Definition mtsVector.h:146
mtsVector< float > mtsFloatVec
Definition mtsVector.h:134
mtsVector< double > mtsDoubleVec
Definition mtsVector.h:131
mtsVector< unsigned char > mtsUCharVec
Definition mtsVector.h:158
size_type size(void) const
Definition vctDynamicConstMatrixBase.h:228
Declaration of vctDynamicVector.