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

#include <with.hpp>

Inheritance diagram for boost::spirit::x3::with_value_holder< Subject, Derived, T >:
Collaboration diagram for boost::spirit::x3::with_value_holder< Subject, Derived, T >:

Public Types

typedef unary_parser< Subject,
Derived > 
base_type
 
typedef unary_category category
 
typedef Subject subject_type
 
typedef Derived derived_type
 

Public Member Functions

 with_value_holder (Subject const &subject, T const &val)
 
unary_parser const & get_unary () const
 
Derived const & derived () const
 
template<typename Action >
action< Derived, Action > operator[] (Action f) const
 
template<typename Handler >
guard< Derived, Handler > on_error (Handler f) const
 

Public Attributes

T val
 
Subject subject
 

Static Public Attributes

static bool const has_action = Subject::has_action
 
static bool const handles_container = false
 
static bool const is_pass_through_unary = false
 

Member Typedef Documentation

template<typename Subject, typename Derived, typename T>
typedef unary_parser<Subject, Derived> boost::spirit::x3::with_value_holder< Subject, Derived, T >::base_type
template<typename Subject, typename Derived>
typedef unary_category boost::spirit::x3::unary_parser< Subject, Derived >::category
inherited
template<typename Derived>
typedef Derived boost::spirit::x3::parser< Derived >::derived_type
inherited
template<typename Subject, typename Derived>
typedef Subject boost::spirit::x3::unary_parser< Subject, Derived >::subject_type
inherited

Constructor & Destructor Documentation

template<typename Subject, typename Derived, typename T>
boost::spirit::x3::with_value_holder< Subject, Derived, T >::with_value_holder ( Subject const &  subject,
T const &  val 
)
inline

Member Function Documentation

template<typename Subject, typename Derived>
unary_parser const& boost::spirit::x3::unary_parser< Subject, Derived >::get_unary ( ) const
inlineinherited
template<typename Derived>
template<typename Handler >
guard<Derived, Handler> boost::spirit::x3::parser< Derived >::on_error ( Handler  f) const
inlineinherited
template<typename Derived>
template<typename Action >
action<Derived, Action> boost::spirit::x3::parser< Derived >::operator[] ( Action  f) const
inlineinherited

Member Data Documentation

template<typename Derived>
bool const boost::spirit::x3::parser< Derived >::handles_container = false
staticinherited
template<typename Subject, typename Derived>
bool const boost::spirit::x3::unary_parser< Subject, Derived >::has_action = Subject::has_action
staticinherited
template<typename Derived>
bool const boost::spirit::x3::parser< Derived >::is_pass_through_unary = false
staticinherited
template<typename Subject, typename Derived>
Subject boost::spirit::x3::unary_parser< Subject, Derived >::subject
inherited
template<typename Subject, typename Derived, typename T>
T boost::spirit::x3::with_value_holder< Subject, Derived, T >::val
mutable

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