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::literal_bool_parser< T, BoolPolicies > Struct Template Reference

#include <bool.hpp>

Inheritance diagram for boost::spirit::x3::literal_bool_parser< T, BoolPolicies >:
Collaboration diagram for boost::spirit::x3::literal_bool_parser< T, BoolPolicies >:

Public Types

typedef T attribute_type
 
typedef bool_parser< T,
BoolPolicies > 
derived_type
 

Public Member Functions

template<typename Value >
 literal_bool_parser (Value const &n)
 
template<typename Value >
 literal_bool_parser (Value const &n, BoolPolicies const &policies)
 
template<typename Iterator , typename Context >
bool parse (Iterator &first, Iterator const &last, Context &context, unused_type, T &attr) const
 
template<typename Iterator , typename Context , typename Attribute >
bool parse (Iterator &first, Iterator const &last, Context &context, unused_type, Attribute &attr_param) const
 
bool_parser< T, BoolPolicies >
const & 
derived () const
 
action< bool_parser< T,
BoolPolicies >, Action > 
operator[] (Action f) const
 
guard< bool_parser< T,
BoolPolicies >, Handler > 
on_error (Handler f) const
 

Public Attributes

BoolPolicies policies
 
T n_
 

Static Public Attributes

static bool const has_attribute = true
 
static bool const handles_container
 
static bool const is_pass_through_unary
 
static bool const has_action
 

Member Typedef Documentation

template<typename T , typename BoolPolicies = bool_policies<T>>
typedef T boost::spirit::x3::literal_bool_parser< T, BoolPolicies >::attribute_type
typedef bool_parser< T, BoolPolicies > boost::spirit::x3::parser< bool_parser< T, BoolPolicies > >::derived_type
inherited

Constructor & Destructor Documentation

template<typename T , typename BoolPolicies = bool_policies<T>>
template<typename Value >
boost::spirit::x3::literal_bool_parser< T, BoolPolicies >::literal_bool_parser ( Value const &  n)
inline
template<typename T , typename BoolPolicies = bool_policies<T>>
template<typename Value >
boost::spirit::x3::literal_bool_parser< T, BoolPolicies >::literal_bool_parser ( Value const &  n,
BoolPolicies const &  policies 
)
inline

Member Function Documentation

bool_parser< T, BoolPolicies > const& boost::spirit::x3::parser< bool_parser< T, BoolPolicies > >::derived ( ) const
inlineinherited
guard<bool_parser< T, BoolPolicies > , Handler> boost::spirit::x3::parser< bool_parser< T, BoolPolicies > >::on_error ( Handler  f) const
inlineinherited
action<bool_parser< T, BoolPolicies > , Action> boost::spirit::x3::parser< bool_parser< T, BoolPolicies > >::operator[] ( Action  f) const
inlineinherited
template<typename T , typename BoolPolicies = bool_policies<T>>
template<typename Iterator , typename Context >
bool boost::spirit::x3::literal_bool_parser< T, BoolPolicies >::parse ( Iterator &  first,
Iterator const &  last,
Context &  context,
unused_type  ,
T attr 
) const
inline
template<typename T , typename BoolPolicies = bool_policies<T>>
template<typename Iterator , typename Context , typename Attribute >
bool boost::spirit::x3::literal_bool_parser< T, BoolPolicies >::parse ( Iterator &  first,
Iterator const &  last,
Context &  context,
unused_type  ,
Attribute &  attr_param 
) const
inline

Member Data Documentation

bool const boost::spirit::x3::parser< bool_parser< T, BoolPolicies > >::handles_container
staticinherited
bool const boost::spirit::x3::parser< bool_parser< T, BoolPolicies > >::has_action
staticinherited
template<typename T , typename BoolPolicies = bool_policies<T>>
bool const boost::spirit::x3::literal_bool_parser< T, BoolPolicies >::has_attribute = true
static
bool const boost::spirit::x3::parser< bool_parser< T, BoolPolicies > >::is_pass_through_unary
staticinherited
template<typename T , typename BoolPolicies = bool_policies<T>>
T boost::spirit::x3::literal_bool_parser< T, BoolPolicies >::n_
template<typename T , typename BoolPolicies = bool_policies<T>>
BoolPolicies boost::spirit::x3::literal_bool_parser< T, BoolPolicies >::policies

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