Gazebo Gazebo

API Reference

3.15.2
IsOutStreamable< Stream, DataType > Class Template Reference

Type trait that determines if a operator<< is defined on Stream and DataType, i.e, it checks if the function Stream& operator<<(Stream&, const DataType&) exists. Example: More...

#include <Component.hh>

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<typename Stream, typename DataType>
class ignition::gazebo::traits::IsOutStreamable< Stream, DataType >

Type trait that determines if a operator<< is defined on Stream and DataType, i.e, it checks if the function Stream& operator<<(Stream&, const DataType&) exists. Example:

constexpr bool isDoubleOutStreamable =

Member Data Documentation

◆ value

constexpr bool value
staticconstexpr
Initial value:
=
decltype(Test<Stream, DataType>(true))::value

Referenced by Q_DECLARE_METATYPE().


The documentation for this class was generated from the following file:
static constexpr bool value
Definition: gz/sim/components/Component.hh:72