Gazebo Sim

API Reference

8.6.0
SdfElementSerializer Class Reference

#include <Visual.hh>

Static Public Member Functions

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

Member Function Documentation

◆ Deserialize()

static std::istream& Deserialize ( std::istream _in,
sdf::ElementPtr &  _elem 
)
inlinestatic

Deserialization for sdf::Element.

Parameters
[in]_inInput stream.
[out]_elemVisual plugin elem to populate
Returns
The stream.

References std::endl(), and gzerr.

◆ Serialize()

static std::ostream& Serialize ( std::ostream _out,
const sdf::ElementPtr &  _elem 
)
inlinestatic

Serialization for sdf::Model.

Parameters
[in]_outOutput stream.
[in]_elemVisual plugin elem to stream
Returns
The stream.

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