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

#include <state_switcher.hpp>

Inheritance diagram for boost::spirit::qi::state_switcher_context< Subject, State >:
Collaboration diagram for boost::spirit::qi::state_switcher_context< Subject, State >:

Classes

struct  attribute
 

Public Types

typedef Subject subject_type
 
typedef traits::char_type_of
< State >::type 
char_type
 
typedef remove_const
< char_type >::type 
non_const_char_type
 
typedef state_switcher_context
< Subject, State > 
derived_type
 
typedef qi::domain domain
 

Public Member Functions

 state_switcher_context (Subject const &subject, typename add_reference< State >::type state)
 
template<typename String >
 state_switcher_context (state_switcher_context< Subject, String > const &rhs)
 
template<typename Iterator , typename Context , typename Skipper , typename Attribute >
bool parse (Iterator &first, Iterator const &last, Context &context, Skipper const &skipper, Attribute &attr) const
 
template<typename Context >
info what (Context &context) const
 
state_switcher_context
< Subject, State >const & 
derived () const
 

Public Attributes

Subject subject
 
State state
 

Member Typedef Documentation

template<typename Subject, typename State>
typedef traits::char_type_of<State>::type boost::spirit::qi::state_switcher_context< Subject, State >::char_type
typedef state_switcher_context< Subject, State > boost::spirit::qi::parser< state_switcher_context< Subject, State > >::derived_type
inherited
typedef qi::domain boost::spirit::qi::parser< state_switcher_context< Subject, State > >::domain
inherited
template<typename Subject, typename State>
typedef remove_const<char_type>::type boost::spirit::qi::state_switcher_context< Subject, State >::non_const_char_type
template<typename Subject, typename State>
typedef Subject boost::spirit::qi::state_switcher_context< Subject, State >::subject_type

Constructor & Destructor Documentation

template<typename Subject, typename State>
boost::spirit::qi::state_switcher_context< Subject, State >::state_switcher_context ( Subject const &  subject,
typename add_reference< State >::type  state 
)
inline
template<typename Subject, typename State>
template<typename String >
boost::spirit::qi::state_switcher_context< Subject, State >::state_switcher_context ( state_switcher_context< Subject, String > const &  rhs)
inline

Member Function Documentation

state_switcher_context< Subject, State > const& boost::spirit::qi::parser< state_switcher_context< Subject, State > >::derived ( ) const
inlineinherited
template<typename Subject, typename State>
template<typename Iterator , typename Context , typename Skipper , typename Attribute >
bool boost::spirit::qi::state_switcher_context< Subject, State >::parse ( Iterator &  first,
Iterator const &  last,
Context &  context,
Skipper const &  skipper,
Attribute &  attr 
) const
inline
template<typename Subject, typename State>
template<typename Context >
info boost::spirit::qi::state_switcher_context< Subject, State >::what ( Context &  context) const
inline

Member Data Documentation

template<typename Subject, typename State>
State boost::spirit::qi::state_switcher_context< Subject, State >::state

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