dynamicgraph::DefaultCastRegisterer< T > Class Template Reference

This class can be used to register default casts, i.e. More...

#include <dynamic-graph/signal-cast-helper.h>

Public Member Functions

 DefaultCastRegisterer ()
 

Static Public Member Functions

static boost::any cast (std::istringstream &iss)
 A default version of the caster, to serialize directly from std::in. More...
 
static void disp (const boost::any &object, std::ostream &os)
 
static void trace (const boost::any &object, std::ostream &os)
 

Detailed Description

template<typename T>
class dynamicgraph::DefaultCastRegisterer< T >

This class can be used to register default casts, i.e.

casts already supported by the object to an std::iostream through the operators >> and << .

Constructor & Destructor Documentation

◆ DefaultCastRegisterer()

template<typename T >
dynamicgraph::DefaultCastRegisterer< T >::DefaultCastRegisterer ( )
inline

Member Function Documentation

◆ cast()

template<typename T >
boost::any dynamicgraph::DefaultCastRegisterer< T >::cast ( std::istringstream &  iss)
static

A default version of the caster, to serialize directly from std::in.

References dynamicgraph::ExceptionSignal::GENERIC.

◆ disp()

template<typename T >
static void dynamicgraph::DefaultCastRegisterer< T >::disp ( const boost::any &  object,
std::ostream &  os 
)
inlinestatic

◆ trace()

template<typename T >
static void dynamicgraph::DefaultCastRegisterer< T >::trace ( const boost::any &  object,
std::ostream &  os 
)
inlinestatic