Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::spirit::extended_variant<> Struct Template Reference

#include <extended_variant.hpp>

Collaboration diagram for boost::spirit::extended_variant<>:

Public Types

typedef boost::variant
< BOOST_PP_ENUM_PARAMS(BOOST_MPL_LIMIT_LIST_SIZE,
T)> 
variant_type
 
typedef variant_type::types types
 
typedef extended_variant
< BOOST_PP_ENUM_PARAMS(BOOST_MPL_LIMIT_LIST_SIZE,
T) > 
base_type
 

Public Member Functions

 extended_variant ()
 
template<typename T >
 extended_variant (T const &var)
 
template<typename T >
 extended_variant (T &var)
 
template<typename F >
F::result_type apply_visitor (F const &v)
 
template<typename F >
F::result_type apply_visitor (F const &v) const
 
template<typename F >
F::result_type apply_visitor (F &v)
 
template<typename F >
F::result_type apply_visitor (F &v) const
 
variant_type const & get () const
 
variant_typeget ()
 

Public Attributes

variant_type var
 

Member Typedef Documentation

template<BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(BOOST_VARIANT_LIMIT_TYPES,typename T, boost::detail::variant::void_) >
typedef extended_variant< BOOST_PP_ENUM_PARAMS( BOOST_MPL_LIMIT_LIST_SIZE , T ) > boost::spirit::extended_variant<>::base_type
template<BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(BOOST_VARIANT_LIMIT_TYPES,typename T, boost::detail::variant::void_) >
typedef variant_type::types boost::spirit::extended_variant<>::types
template<BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(BOOST_VARIANT_LIMIT_TYPES,typename T, boost::detail::variant::void_) >
typedef boost::variant< BOOST_PP_ENUM_PARAMS( BOOST_MPL_LIMIT_LIST_SIZE , T )> boost::spirit::extended_variant<>::variant_type

Constructor & Destructor Documentation

template<BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(BOOST_VARIANT_LIMIT_TYPES,typename T, boost::detail::variant::void_) >
boost::spirit::extended_variant<>::extended_variant ( )
inline
template<BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(BOOST_VARIANT_LIMIT_TYPES,typename T, boost::detail::variant::void_) >
template<typename T >
boost::spirit::extended_variant<>::extended_variant ( T const &  var)
inline
template<BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(BOOST_VARIANT_LIMIT_TYPES,typename T, boost::detail::variant::void_) >
template<typename T >
boost::spirit::extended_variant<>::extended_variant ( T var)
inline

Member Function Documentation

template<BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(BOOST_VARIANT_LIMIT_TYPES,typename T, boost::detail::variant::void_) >
template<typename F >
F::result_type boost::spirit::extended_variant<>::apply_visitor ( F const &  v)
inline
template<BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(BOOST_VARIANT_LIMIT_TYPES,typename T, boost::detail::variant::void_) >
template<typename F >
F::result_type boost::spirit::extended_variant<>::apply_visitor ( F const &  v) const
inline
template<BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(BOOST_VARIANT_LIMIT_TYPES,typename T, boost::detail::variant::void_) >
template<typename F >
F::result_type boost::spirit::extended_variant<>::apply_visitor ( F &  v)
inline
template<BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(BOOST_VARIANT_LIMIT_TYPES,typename T, boost::detail::variant::void_) >
template<typename F >
F::result_type boost::spirit::extended_variant<>::apply_visitor ( F &  v) const
inline
template<BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(BOOST_VARIANT_LIMIT_TYPES,typename T, boost::detail::variant::void_) >
variant_type const& boost::spirit::extended_variant<>::get ( ) const
inline
template<BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(BOOST_VARIANT_LIMIT_TYPES,typename T, boost::detail::variant::void_) >
variant_type& boost::spirit::extended_variant<>::get ( )
inline

Member Data Documentation

template<BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(BOOST_VARIANT_LIMIT_TYPES,typename T, boost::detail::variant::void_) >
variant_type boost::spirit::extended_variant<>::var

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