Ignition Gazebo

API Reference

6.0.0~pre1
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
static
Initial value:
=
decltype(Test<Stream, DataType>(true))::value

Referenced by Q_DECLARE_METATYPE().


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