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

#include <typeof.hpp>

Inheritance diagram for boost::spirit::switch_parser< CaseT, CondT >:
Collaboration diagram for boost::spirit::switch_parser< CaseT, CondT >:

Classes

struct  result
 

Public Types

typedef switch_parser< CaseT,
CondT > 
self_t
 
typedef unary_parser_category parser_category_t
 
typedef unary< CaseT, parser
< self_t > > 
base_t
 
typedef boost::call_traits
< CaseT >::param_type 
param_t
 
typedef boost::call_traits
< CaseT >::const_reference 
return_t
 
typedef CaseT subject_t
 
typedef CaseT::embed_t subject_embed_t
 
typedef switch_parser< CaseT,
CondT > 
embed_t
 
typedef switch_parser< CaseT,
CondT > 
derived_t
 

Public Member Functions

 switch_parser (CaseT const &case_)
 
 switch_parser (CaseT const &case_, CondT const &cond_)
 
template<typename ScannerT >
parser_result< self_t,
ScannerT >::type 
parse (ScannerT const &scan) const
 
return_t subject () const
 
switch_parser< CaseT, CondT > & derived ()
 
switch_parser< CaseT, CondT >
const & 
derived () const
 
action< switch_parser< CaseT,
CondT >, ActionT > 
operator[] (ActionT const &actor) const
 

Public Attributes

CondT cond
 

Member Typedef Documentation

template<typename CaseT , typename CondT = impl::get_next_token_cond>
typedef unary<CaseT, parser<self_t> > boost::spirit::switch_parser< CaseT, CondT >::base_t
typedef switch_parser< CaseT, CondT > boost::spirit::parser< switch_parser< CaseT, CondT > >::derived_t
inherited
typedef switch_parser< CaseT, CondT > boost::spirit::parser< switch_parser< CaseT, CondT > >::embed_t
inherited
typedef boost::call_traits<CaseT >::param_type boost::spirit::unary< CaseT , parser< switch_parser< CaseT, CondT > > >::param_t
inherited
template<typename CaseT , typename CondT = impl::get_next_token_cond>
typedef unary_parser_category boost::spirit::switch_parser< CaseT, CondT >::parser_category_t
typedef boost::call_traits<CaseT >::const_reference boost::spirit::unary< CaseT , parser< switch_parser< CaseT, CondT > > >::return_t
inherited
template<typename CaseT , typename CondT = impl::get_next_token_cond>
typedef switch_parser<CaseT, CondT> boost::spirit::switch_parser< CaseT, CondT >::self_t
typedef CaseT ::embed_t boost::spirit::unary< CaseT , parser< switch_parser< CaseT, CondT > > >::subject_embed_t
inherited
typedef CaseT boost::spirit::unary< CaseT , parser< switch_parser< CaseT, CondT > > >::subject_t
inherited

Constructor & Destructor Documentation

template<typename CaseT , typename CondT = impl::get_next_token_cond>
boost::spirit::switch_parser< CaseT, CondT >::switch_parser ( CaseT const &  case_)
inline
template<typename CaseT , typename CondT = impl::get_next_token_cond>
boost::spirit::switch_parser< CaseT, CondT >::switch_parser ( CaseT const &  case_,
CondT const &  cond_ 
)
inline

Member Function Documentation

switch_parser< CaseT, CondT > & boost::spirit::parser< switch_parser< CaseT, CondT > >::derived ( )
inlineinherited
switch_parser< CaseT, CondT > const& boost::spirit::parser< switch_parser< CaseT, CondT > >::derived ( ) const
inlineinherited
action<switch_parser< CaseT, CondT > , ActionT> boost::spirit::parser< switch_parser< CaseT, CondT > >::operator[] ( ActionT const &  actor) const
inlineinherited
template<typename CaseT , typename CondT = impl::get_next_token_cond>
template<typename ScannerT >
parser_result<self_t, ScannerT>::type boost::spirit::switch_parser< CaseT, CondT >::parse ( ScannerT const &  scan) const
inline
return_t boost::spirit::unary< CaseT , parser< switch_parser< CaseT, CondT > > >::subject ( ) const
inlineinherited

Member Data Documentation

template<typename CaseT , typename CondT = impl::get_next_token_cond>
CondT boost::spirit::switch_parser< CaseT, CondT >::cond

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