Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::type_dispatcher::callback< T > Class Template Reference

An interface to the callback for the concrete type visitor. More...

#include <type_dispatcher.hpp>

Inheritance diagram for boost::type_dispatcher::callback< T >:
Collaboration diagram for boost::type_dispatcher::callback< T >:

Public Types

typedef T supported_type
 The type, which the visitor is able to consume. More...
 

Public Member Functions

 callback () BOOST_NOEXCEPT
 
 callback (callback_base const &base) BOOST_NOEXCEPT
 
void operator() (T const &value) const
 
bool operator! () const BOOST_NOEXCEPT
 

Static Private Member Functions

template<typename VisitorT , typename T >
static void trampoline (void *visitor, T const &value)
 

Private Attributes

void * m_pVisitor
 
void * m_pTrampoline
 

Detailed Description

template<typename T>
class boost::type_dispatcher::callback< T >

An interface to the callback for the concrete type visitor.

Member Typedef Documentation

template<typename T>
typedef T boost::type_dispatcher::callback< T >::supported_type

The type, which the visitor is able to consume.

Constructor & Destructor Documentation

template<typename T>
boost::type_dispatcher::callback< T >::callback ( )
inline
template<typename T>
boost::type_dispatcher::callback< T >::callback ( callback_base const &  base)
inlineexplicit

Member Function Documentation

template<typename T>
bool boost::type_dispatcher::callback< T >::operator! ( ) const
inline
template<typename T>
void boost::type_dispatcher::callback< T >::operator() ( T const &  value) const
inline

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