Gazebo Sim

API Reference

8.6.0
PerformerLevelsSerializer Class Reference

#include <PerformerLevels.hh>

Static Public Member Functions

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

Member Function Documentation

◆ Deserialize()

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

Deserialization for std::set<Entity>.

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

References set< K >::clear(), set< K >::insert(), and istream::setf().

◆ Serialize()

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

Serialization for std::set<Entity>.

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

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