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>

Inheritance diagram for dynamicgraph::DefaultCastRegisterer< T >:
[legend]
Collaboration diagram for dynamicgraph::DefaultCastRegisterer< T >:
[legend]

List of all members.

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.
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

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

Member Function Documentation

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.

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