Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
select.hpp File Reference
Include dependency graph for select.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::spirit::select_default_no_fail
 
struct  boost::spirit::select_default_fail
 
struct  boost::spirit::select_parser< TupleT, BehaviourT, T >
 
struct  boost::spirit::select_parser< TupleT, BehaviourT, T >::result< ScannerT >
 
struct  boost::spirit::select_parser_gen< BehaviourT, T >
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::spirit
 

Macros

#define BOOST_SPIRIT_SELECT_LIMIT   PHOENIX_LIMIT
 
#define BOOST_SPIRIT_SELECT_LIMIT_A   3
 
#define BOOST_SPIRIT_SELECT_EMBEDDED(z, N, _)   typename impl::as_embedded_parser<BOOST_PP_CAT(ParserT, N)>::type \
 
#define BOOST_SPIRIT_SELECT_EMBEDDED_TYPEDEF(z, N, _)
 
#define BOOST_SPIRIT_SELECT_CONVERT(z, N, _)   BOOST_PP_CAT(parser_t, N)::convert(BOOST_PP_CAT(p, N)) \
 
#define BOOST_SPIRIT_SELECT_PARSER(z, N, _)
 

Functions

 BOOST_STATIC_ASSERT (PHOENIX_LIMIT<=PHOENIX_LIMIT)
 
 BOOST_STATIC_ASSERT (PHOENIX_LIMIT > 0)
 

Variables

select_parser_gen
< select_default_no_fail >
const 
boost::spirit::select_p
 
select_parser_gen
< select_default_fail > const 
boost::spirit::select_fail_p
 

Macro Definition Documentation

#define BOOST_SPIRIT_SELECT_CONVERT (   z,
  N,
 
)    BOOST_PP_CAT(parser_t, N)::convert(BOOST_PP_CAT(p, N)) \
#define BOOST_SPIRIT_SELECT_EMBEDDED (   z,
  N,
 
)    typename impl::as_embedded_parser<BOOST_PP_CAT(ParserT, N)>::type \
#define BOOST_SPIRIT_SELECT_EMBEDDED_TYPEDEF (   z,
  N,
 
)
Value:
typedef impl::as_embedded_parser<BOOST_PP_CAT(ParserT, N)> \
BOOST_PP_CAT(parser_t, N); \
#define BOOST_PP_CAT(a, b)
Definition: cat.hpp:24
#define N
Definition: forward_adapter.hpp:198
#define BOOST_SPIRIT_SELECT_LIMIT   PHOENIX_LIMIT
#define BOOST_SPIRIT_SELECT_LIMIT_A   3
#define BOOST_SPIRIT_SELECT_PARSER (   z,
  N,
 
)
Value:
template < \
BOOST_PP_ENUM_PARAMS_Z(z, BOOST_PP_INC(N), typename ParserT) \
> \
select_parser< \
BOOST_PP_ENUM_ ## z(BOOST_PP_INC(N), \
>, \
BehaviourT, \
T \
> \
operator()( \
ParserT, const &p) \
) const \
{ \
BOOST_PP_REPEAT_ ## z(BOOST_PP_INC(N), \
\
typedef ::phoenix::tuple< \
typename parser_t, ::type BOOST_PP_INTERCEPT) \
> tuple_t; \
typedef select_parser<tuple_t, BehaviourT, T> result_t; \
\
return result_t(tuple_t( \
BOOST_PP_ENUM_ ## z(BOOST_PP_INC(N), \
)); \
} \
T
Definition: mem_fn_cc.hpp:25
cpp_int_backend< MinBits1, MaxBits1, SignType1, Checked1, Allocator1 >::limb_pointer p
Definition: multiply.hpp:28
Definition: tuples.hpp:439
#define BOOST_PP_ENUM_PARAMS_Z(z, count, param)
Definition: enum_params.hpp:37
#define BOOST_SPIRIT_SELECT_EMBEDDED(z, N, _)
Definition: select.hpp:173
#define BOOST_SPIRIT_SELECT_EMBEDDED_TYPEDEF(z, N, _)
Definition: select.hpp:176
#define BOOST_PP_ENUM_BINARY_PARAMS_Z(z, count, p1, p2)
Definition: enum_binary_params.hpp:50
#define BOOST_PP_INTERCEPT
Definition: intercept.hpp:17
#define BOOST_PP_INC(x)
Definition: inc.hpp:24
#define N
Definition: forward_adapter.hpp:198
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
#define BOOST_SPIRIT_SELECT_CONVERT(z, N, _)
Definition: select.hpp:180

Function Documentation

BOOST_STATIC_ASSERT ( PHOENIX_LIMIT<=  PHOENIX_LIMIT)
BOOST_STATIC_ASSERT ( PHOENIX_LIMIT  ,
 
)