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_directive< Subject, ID, T > Struct Template Reference

#include <with.hpp>

Inheritance diagram for boost::spirit::x3::with_directive< Subject, ID, T >:
Collaboration diagram for boost::spirit::x3::with_directive< Subject, ID, T >:

Public Types

typedef with_value_holder
< Subject, with_directive
< Subject, ID, T >, T
base_type
 
typedef Subject subject_type
 
typedef unary_category category
 
typedef with_directive
< Subject, ID, T
derived_type
 

Public Member Functions

 with_directive (Subject const &subject, T const &val)
 
template<typename Iterator , typename Context , typename RContext , typename Attribute >
bool parse (Iterator &first, Iterator const &last, Context const &context, RContext &rcontext, Attribute &attr) const
 
unary_parser const & get_unary () const
 
with_directive< Subject, ID, T >
const & 
derived () const
 
action< with_directive
< Subject, ID, T >, Action > 
operator[] (Action f) const
 
guard< with_directive< Subject,
ID, T >, Handler > 
on_error (Handler f) const
 

Public Attributes

T val
 
Subject subject
 

Static Public Attributes

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

Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

with_directive< Subject, ID, T > const& boost::spirit::x3::parser< with_directive< Subject, ID, T > >::derived ( ) const
inlineinherited
unary_parser const& boost::spirit::x3::unary_parser< Subject, with_directive< Subject, ID, T > >::get_unary ( ) const
inlineinherited
guard<with_directive< Subject, ID, T > , Handler> boost::spirit::x3::parser< with_directive< Subject, ID, T > >::on_error ( Handler  f) const
inlineinherited
action<with_directive< Subject, ID, T > , Action> boost::spirit::x3::parser< with_directive< Subject, ID, T > >::operator[] ( Action  f) const
inlineinherited
template<typename Subject , typename ID , typename T >
template<typename Iterator , typename Context , typename RContext , typename Attribute >
bool boost::spirit::x3::with_directive< Subject, ID, T >::parse ( Iterator &  first,
Iterator const &  last,
Context const &  context,
RContext &  rcontext,
Attribute &  attr 
) const
inline

Member Data Documentation

template<typename Subject , typename ID , typename T >
bool const boost::spirit::x3::with_directive< Subject, ID, T >::handles_container = Subject::handles_container
static
bool const boost::spirit::x3::unary_parser< Subject, with_directive< Subject, ID, T > >::has_action
staticinherited
template<typename Subject , typename ID , typename T >
bool const boost::spirit::x3::with_directive< Subject, ID, T >::is_pass_through_unary = true
static
Subject boost::spirit::x3::unary_parser< Subject, with_directive< Subject, ID, T > >::subject
inherited

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