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_string< String, Encoding, Attribute > Struct Template Reference

#include <literal_string.hpp>

Inheritance diagram for boost::spirit::x3::literal_string< String, Encoding, Attribute >:
Collaboration diagram for boost::spirit::x3::literal_string< String, Encoding, Attribute >:

Public Types

typedef Encoding::char_type char_type
 
typedef Encoding encoding
 
typedef Attribute attribute_type
 
typedef literal_string< String,
Encoding, Attribute > 
derived_type
 

Public Member Functions

 literal_string (typename add_reference< String >::type str)
 
template<typename Iterator , typename Context , typename Attribute_ >
bool parse (Iterator &first, Iterator const &last, Context const &context, unused_type, Attribute_ &attr) const
 
literal_string< String,
Encoding, Attribute >const & 
derived () const
 
action< literal_string< String,
Encoding, Attribute >, Action > 
operator[] (Action f) const
 
guard< literal_string< String,
Encoding, Attribute >, Handler > 
on_error (Handler f) const
 

Public Attributes

String str
 

Static Public Attributes

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

Member Typedef Documentation

template<typename String, typename Encoding, typename Attribute = std::basic_string<typename Encoding::char_type>>
typedef Attribute boost::spirit::x3::literal_string< String, Encoding, Attribute >::attribute_type
template<typename String, typename Encoding, typename Attribute = std::basic_string<typename Encoding::char_type>>
typedef Encoding::char_type boost::spirit::x3::literal_string< String, Encoding, Attribute >::char_type
typedef literal_string< String, Encoding, Attribute > boost::spirit::x3::parser< literal_string< String, Encoding, Attribute > >::derived_type
inherited
template<typename String, typename Encoding, typename Attribute = std::basic_string<typename Encoding::char_type>>
typedef Encoding boost::spirit::x3::literal_string< String, Encoding, Attribute >::encoding

Constructor & Destructor Documentation

template<typename String, typename Encoding, typename Attribute = std::basic_string<typename Encoding::char_type>>
boost::spirit::x3::literal_string< String, Encoding, Attribute >::literal_string ( typename add_reference< String >::type  str)
inline

Member Function Documentation

literal_string< String, Encoding, Attribute > const& boost::spirit::x3::parser< literal_string< String, Encoding, Attribute > >::derived ( ) const
inlineinherited
guard<literal_string< String, Encoding, Attribute > , Handler> boost::spirit::x3::parser< literal_string< String, Encoding, Attribute > >::on_error ( Handler  f) const
inlineinherited
action<literal_string< String, Encoding, Attribute > , Action> boost::spirit::x3::parser< literal_string< String, Encoding, Attribute > >::operator[] ( Action  f) const
inlineinherited
template<typename String, typename Encoding, typename Attribute = std::basic_string<typename Encoding::char_type>>
template<typename Iterator , typename Context , typename Attribute_ >
bool boost::spirit::x3::literal_string< String, Encoding, Attribute >::parse ( Iterator &  first,
Iterator const &  last,
Context const &  context,
unused_type  ,
Attribute_ &  attr 
) const
inline

Member Data Documentation

template<typename String, typename Encoding, typename Attribute = std::basic_string<typename Encoding::char_type>>
bool const boost::spirit::x3::literal_string< String, Encoding, Attribute >::handles_container = has_attribute
static
bool const boost::spirit::x3::parser< literal_string< String, Encoding, Attribute > >::has_action
staticinherited
template<typename String, typename Encoding, typename Attribute = std::basic_string<typename Encoding::char_type>>
bool const boost::spirit::x3::literal_string< String, Encoding, Attribute >::has_attribute
static
bool const boost::spirit::x3::parser< literal_string< String, Encoding, Attribute > >::is_pass_through_unary
staticinherited
template<typename String, typename Encoding, typename Attribute = std::basic_string<typename Encoding::char_type>>
String boost::spirit::x3::literal_string< String, Encoding, Attribute >::str

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