Gazebo Sim

API Reference

8.6.0
LevelEntityNamesSerializer Class Reference

#include <LevelEntityNames.hh>

Static Public Member Functions

static std::istreamDeserialize (std::istream &_in, std::set< std::string > &_set)
 Deserialization for std::set<std::string>. More...
 
static std::ostreamSerialize (std::ostream &_out, const std::set< std::string > &_set)
 Serialization for std::set<std::string>. More...
 

Member Function Documentation

◆ Deserialize()

static std::istream& Deserialize ( std::istream _in,
std::set< std::string > &  _set 
)
inlinestatic

Deserialization for std::set<std::string>.

Parameters
[in]_inInput stream.
[out]_setSet to populate
Returns
The stream.

References set< K >::clear(), std::getline(), and set< K >::insert().

◆ Serialize()

static std::ostream& Serialize ( std::ostream _out,
const std::set< std::string > &  _set 
)
inlinestatic

Serialization for std::set<std::string>.

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

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