Gazebo Gazebo

API Reference

3.15.1
VectorDoubleSerializer Class Reference

Serializer for components that hold std::vector<double>. More...

#include <Serialization.hh>

Static Public Member Functions

static std::istreamDeserialize (std::istream &_in, std::vector< double > &_vec)
 Deserialization. More...
 
static std::ostreamSerialize (std::ostream &_out, const std::vector< double > &_vec)
 Serialization. More...
 

Detailed Description

Serializer for components that hold std::vector<double>.

Member Function Documentation

◆ Deserialize()

static std::istream& Deserialize ( std::istream _in,
std::vector< double > &  _vec 
)
inlinestatic

Deserialization.

Parameters
[in]_inInput stream.
[in]_vecVector to populate
Returns
The stream.

References vector< T >::data().

◆ Serialize()

static std::ostream& Serialize ( std::ostream _out,
const std::vector< double > &  _vec 
)
inlinestatic

Serialization.

Parameters
[in]_outOutput stream.
[in]_vecVector to stream
Returns
The stream.

References vector< T >::begin(), and vector< T >::end().


The documentation for this class was generated from the following file: