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

#include <typeof.hpp>

Inheritance diagram for boost::spirit::case_parser< N, ParserT, IsDefault >:
Collaboration diagram for boost::spirit::case_parser< N, ParserT, IsDefault >:

Classes

struct  result
 

Public Types

typedef case_parser< N,
ParserT, IsDefault > 
self_t
 
typedef unary_parser_category parser_category_t
 
typedef unary< ParserT, parser
< self_t > > 
base_t
 
typedef base_t::subject_t self_subject_t
 
typedef boost::call_traits
< ParserT >::param_type 
param_t
 
typedef boost::call_traits
< ParserT >::const_reference 
return_t
 
typedef ParserT subject_t
 
typedef ParserT::embed_t subject_embed_t
 
typedef case_parser< N,
ParserT, IsDefault > 
embed_t
 
typedef case_parser< N,
ParserT, IsDefault > 
derived_t
 

Public Member Functions

 BOOST_STATIC_CONSTANT (int, value=N)
 
 BOOST_STATIC_CONSTANT (bool, is_default=IsDefault)
 
 BOOST_STATIC_CONSTANT (bool, is_simple=true)
 
 BOOST_STATIC_CONSTANT (bool, is_epsilon=(is_default &&boost::is_same< self_subject_t, epsilon_parser >::value))
 
 case_parser (parser< ParserT > const &p)
 
template<typename ScannerT , typename CondT >
parser_result< self_t,
ScannerT >::type 
parse (ScannerT const &scan, CondT const &cond) const
 
template<int N1, typename ParserT1 , bool IsDefault1>
impl::compound_case_parser
< self_t, case_parser< N1,
ParserT1, IsDefault1 >
, IsDefault1 > 
operator, (case_parser< N1, ParserT1, IsDefault1 > const &p) const
 
return_t subject () const
 
case_parser< N, ParserT,
IsDefault > & 
derived ()
 
case_parser< N, ParserT,
IsDefault >const & 
derived () const
 
action< case_parser< N,
ParserT, IsDefault >, ActionT > 
operator[] (ActionT const &actor) const
 

Member Typedef Documentation

template<int N, typename ParserT, bool IsDefault>
typedef unary<ParserT, parser<self_t> > boost::spirit::case_parser< N, ParserT, IsDefault >::base_t
typedef case_parser< N, ParserT, IsDefault > boost::spirit::parser< case_parser< N, ParserT, IsDefault > >::derived_t
inherited
typedef case_parser< N, ParserT, IsDefault > boost::spirit::parser< case_parser< N, ParserT, IsDefault > >::embed_t
inherited
typedef boost::call_traits<ParserT >::param_type boost::spirit::unary< ParserT , parser< case_parser< N, ParserT, IsDefault > > >::param_t
inherited
template<int N, typename ParserT, bool IsDefault>
typedef unary_parser_category boost::spirit::case_parser< N, ParserT, IsDefault >::parser_category_t
typedef boost::call_traits<ParserT >::const_reference boost::spirit::unary< ParserT , parser< case_parser< N, ParserT, IsDefault > > >::return_t
inherited
template<int N, typename ParserT, bool IsDefault>
typedef base_t::subject_t boost::spirit::case_parser< N, ParserT, IsDefault >::self_subject_t
template<int N, typename ParserT, bool IsDefault>
typedef case_parser<N, ParserT, IsDefault> boost::spirit::case_parser< N, ParserT, IsDefault >::self_t
typedef ParserT ::embed_t boost::spirit::unary< ParserT , parser< case_parser< N, ParserT, IsDefault > > >::subject_embed_t
inherited
typedef ParserT boost::spirit::unary< ParserT , parser< case_parser< N, ParserT, IsDefault > > >::subject_t
inherited

Constructor & Destructor Documentation

template<int N, typename ParserT, bool IsDefault>
boost::spirit::case_parser< N, ParserT, IsDefault >::case_parser ( parser< ParserT > const &  p)
inline

Member Function Documentation

template<int N, typename ParserT, bool IsDefault>
boost::spirit::case_parser< N, ParserT, IsDefault >::BOOST_STATIC_CONSTANT ( int  ,
value  = N 
)
template<int N, typename ParserT, bool IsDefault>
boost::spirit::case_parser< N, ParserT, IsDefault >::BOOST_STATIC_CONSTANT ( bool  ,
is_default  = IsDefault 
)
template<int N, typename ParserT, bool IsDefault>
boost::spirit::case_parser< N, ParserT, IsDefault >::BOOST_STATIC_CONSTANT ( bool  ,
is_simple  = true 
)
template<int N, typename ParserT, bool IsDefault>
boost::spirit::case_parser< N, ParserT, IsDefault >::BOOST_STATIC_CONSTANT ( bool  ,
is_epsilon  = (is_default &&boost::is_same< self_subject_tepsilon_parser >::value) 
)
case_parser< N, ParserT, IsDefault > & boost::spirit::parser< case_parser< N, ParserT, IsDefault > >::derived ( )
inlineinherited
case_parser< N, ParserT, IsDefault > const& boost::spirit::parser< case_parser< N, ParserT, IsDefault > >::derived ( ) const
inlineinherited
template<int N, typename ParserT, bool IsDefault>
template<int N1, typename ParserT1 , bool IsDefault1>
impl::compound_case_parser< self_t, case_parser<N1, ParserT1, IsDefault1>, IsDefault1 > boost::spirit::case_parser< N, ParserT, IsDefault >::operator, ( case_parser< N1, ParserT1, IsDefault1 > const &  p) const
inline
action<case_parser< N, ParserT, IsDefault > , ActionT> boost::spirit::parser< case_parser< N, ParserT, IsDefault > >::operator[] ( ActionT const &  actor) const
inlineinherited
template<int N, typename ParserT, bool IsDefault>
template<typename ScannerT , typename CondT >
parser_result<self_t, ScannerT>::type boost::spirit::case_parser< N, ParserT, IsDefault >::parse ( ScannerT const &  scan,
CondT const &  cond 
) const
inline
return_t boost::spirit::unary< ParserT , parser< case_parser< N, ParserT, IsDefault > > >::subject ( ) const
inlineinherited

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