Gazebo Common

API Reference

5.6.0
IO< std::string > Struct Reference

Traits for string I/O. More...

#include <IOBase.hh>

Static Public Member Functions

static std::string ReadFrom (std::istream &_istream)
 Read object from stream. More...
 
static std::string ReadFrom (std::string _string)
 Read string from string (copy as-is). More...
 

Detailed Description

Traits for string I/O.

Member Function Documentation

◆ ReadFrom() [1/2]

static std::string ReadFrom ( std::istream _istream)
inlinestatic

Read object from stream.

This default implementation relies on stream operator overloads.

Parameters
[in]_istreamStream to read object from.
Returns
object instance.

◆ ReadFrom() [2/2]

static std::string ReadFrom ( std::string  _string)
inlinestatic

Read string from string (copy as-is).


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