Gazebo Sim

API Reference

8.7.0
SdfModelSerializer Class Reference

#include <Model.hh>

Static Public Member Functions

static std::istreamDeserialize (std::istream &_in, sdf::Model &_model)
 Deserialization for sdf::Model. More...
 
static std::ostreamSerialize (std::ostream &_out, const sdf::Model &_model)
 Serialization for sdf::Model. More...
 

Member Function Documentation

◆ Deserialize()

static std::istream& Deserialize ( std::istream _in,
sdf::Model &  _model 
)
inlinestatic

Deserialization for sdf::Model.

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

References std::endl(), and gzwarn.

◆ Serialize()

static std::ostream& Serialize ( std::ostream _out,
const sdf::Model &  _model 
)
inlinestatic

Serialization for sdf::Model.

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

References std::endl(), and gzwarn.


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