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_base Class Reference

A base class for a dispatcher that supports a sequence of types. More...

#include <static_type_dispatcher.hpp>

Inheritance diagram for boost::aux::type_sequence_dispatcher_base:
Collaboration diagram for boost::aux::type_sequence_dispatcher_base:

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

 type_sequence_dispatcher_base (const dispatching_map_element_type *disp_map, std::size_t disp_map_size, void *visitor) BOOST_NOEXCEPT
 Initializing constructor. More...
 
 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

A base class for 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.

Constructor & Destructor Documentation

boost::aux::type_sequence_dispatcher_base::type_sequence_dispatcher_base ( const dispatching_map_element_type *  disp_map,
std::size_t  disp_map_size,
void *  visitor 
)
inlineprotected

Initializing constructor.

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: