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

A dispatcher that supports a sequence of types. More...

#include <static_type_dispatcher.hpp>

Inheritance diagram for boost::aux::type_sequence_dispatcher< TypeSequenceT >:
Collaboration diagram for boost::aux::type_sequence_dispatcher< TypeSequenceT >:

Public Types

typedef TypeSequenceT supported_types
 Type sequence of the supported types. More...
 

Public Member Functions

template<typename VisitorT >
 type_sequence_dispatcher (VisitorT &visitor)
 Constructor. More...
 

Protected Types

typedef callback_base(* get_callback_impl_type )(type_dispatcher *, std::type_info const &)
 Pointer to the callback acquisition method. More...
 

Protected Member Functions

 BOOST_DEFAULTED_FUNCTION (type_dispatcher(type_dispatcher const &that),:m_get_callback_impl(that.m_get_callback_impl){}) public
 The method requests a callback for the value of type T. More...
 

Detailed Description

template<typename TypeSequenceT>
class boost::aux::type_sequence_dispatcher< TypeSequenceT >

A dispatcher that supports a sequence of types.

Member Typedef Documentation

typedef callback_base(* boost::type_dispatcher::get_callback_impl_type)(type_dispatcher *, std::type_info const &)
protectedinherited

Pointer to the callback acquisition method.

template<typename TypeSequenceT >
typedef TypeSequenceT boost::aux::type_sequence_dispatcher< TypeSequenceT >::supported_types

Type sequence of the supported types.

Constructor & Destructor Documentation

template<typename TypeSequenceT >
template<typename VisitorT >
boost::aux::type_sequence_dispatcher< TypeSequenceT >::type_sequence_dispatcher ( VisitorT &  visitor)
inlineexplicit

Constructor.

Initializes the dispatcher internals.

Member Function Documentation

boost::type_dispatcher::BOOST_DEFAULTED_FUNCTION ( type_dispatcher(type_dispatcher const &that)  ,
:m_get_callback_impl(that.m_get_callback_impl){}   
)
inlineprotectedinherited

The method requests a callback for the value of type T.

Returns
The type-specific callback or an empty value, if the type is not supported

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