Gazebo Gazebo

API Reference

6.16.0
StringSerializer Class Reference

Serializer for components that hold std::string. More...

#include <Serialization.hh>

Static Public Member Functions

static std::istreamDeserialize (std::istream &_in, std::string &_data)
 Deserialization. More...
 
static std::ostreamSerialize (std::ostream &_out, const std::string &_data)
 Serialization. More...
 

Detailed Description

Serializer for components that hold std::string.

Member Function Documentation

◆ Deserialize()

static std::istream& Deserialize ( std::istream _in,
std::string _data 
)
inlinestatic

Deserialization.

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

◆ Serialize()

static std::ostream& Serialize ( std::ostream _out,
const std::string _data 
)
inlinestatic

Serialization.

Parameters
[in]_outOutput stream.
[in]_dataData to serialize.
Returns
The stream.

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