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

#include <kwd.hpp>

Inheritance diagram for boost::spirit::repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct >:
Collaboration diagram for boost::spirit::repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct >:

Classes

struct  attribute
 

Public Types

typedef Subject subject_type
 
typedef NoCase no_case_keyword
 
typedef Distinct distinct
 
typedef remove_const< typename
traits::char_type_of
< KeywordType >::type >::type 
char_type
 
typedef std::basic_string
< char_type
keyword_type
 
typedef mpl::if_
< no_case_keyword,
spirit::qi::no_case_literal_string
< KeywordType, true >
, spirit::qi::literal_string
< KeywordType, true > >::type 
keyword_string_type
 
typedef kwd_parser< Subject,
KeywordType, LoopIter, NoCase,
Distinct > 
derived_type
 
typedef qi::domain domain
 

Public Member Functions

 kwd_parser (Subject const &subject, typename add_reference< KeywordType >::type keyword, LoopIter const &iter)
 
template<typename CharEncoding >
 kwd_parser (Subject const &subject, typename add_reference< KeywordType >::type keyword, LoopIter const &iter, CharEncoding encoding)
 
template<typename Iterator , typename Context , typename Skipper , typename Attribute >
bool parse_impl (Iterator &first, Iterator const &last, Context &context, Skipper const &skipper, Attribute &attr, mpl::false_) const
 
template<typename Iterator , typename Context , typename Skipper , typename Attribute >
bool parse_impl (Iterator &first, Iterator const &last, Context &context, Skipper const &skipper, Attribute &attr, mpl::true_) const
 
template<typename Iterator , typename Context , typename Skipper , typename Attribute , typename NoCasePass >
bool parse (Iterator &first, Iterator const &last, Context &context, skipper_keyword_marker< Skipper, NoCasePass > const &skipper, Attribute &attr) const
 
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
 
kwd_parser< Subject,
KeywordType, LoopIter, NoCase,
Distinct >const & 
derived () const
 

Public Attributes

Subject subject
 
LoopIter iter
 
keyword_string_type keyword
 

Member Typedef Documentation

template<typename Subject , typename KeywordType , typename LoopIter , typename NoCase , typename Distinct >
typedef remove_const<typename traits::char_type_of<KeywordType>::type>::type boost::spirit::repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct >::char_type
typedef kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct > boost::spirit::qi::parser< kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct > >::derived_type
inherited
template<typename Subject , typename KeywordType , typename LoopIter , typename NoCase , typename Distinct >
typedef Distinct boost::spirit::repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct >::distinct
typedef qi::domain boost::spirit::qi::parser< kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct > >::domain
inherited
template<typename Subject , typename KeywordType , typename LoopIter , typename NoCase , typename Distinct >
typedef mpl::if_< no_case_keyword, spirit::qi::no_case_literal_string< KeywordType, true>, spirit::qi::literal_string<KeywordType, true> >::type boost::spirit::repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct >::keyword_string_type
template<typename Subject , typename KeywordType , typename LoopIter , typename NoCase , typename Distinct >
typedef std::basic_string<char_type> boost::spirit::repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct >::keyword_type
template<typename Subject , typename KeywordType , typename LoopIter , typename NoCase , typename Distinct >
typedef NoCase boost::spirit::repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct >::no_case_keyword
template<typename Subject , typename KeywordType , typename LoopIter , typename NoCase , typename Distinct >
typedef Subject boost::spirit::repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct >::subject_type

Constructor & Destructor Documentation

template<typename Subject , typename KeywordType , typename LoopIter , typename NoCase , typename Distinct >
boost::spirit::repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct >::kwd_parser ( Subject const &  subject,
typename add_reference< KeywordType >::type  keyword,
LoopIter const &  iter 
)
inline
template<typename Subject , typename KeywordType , typename LoopIter , typename NoCase , typename Distinct >
template<typename CharEncoding >
boost::spirit::repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct >::kwd_parser ( Subject const &  subject,
typename add_reference< KeywordType >::type  keyword,
LoopIter const &  iter,
CharEncoding  encoding 
)
inline

Member Function Documentation

kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct > const& boost::spirit::qi::parser< kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct > >::derived ( ) const
inlineinherited
template<typename Subject , typename KeywordType , typename LoopIter , typename NoCase , typename Distinct >
template<typename Iterator , typename Context , typename Skipper , typename Attribute , typename NoCasePass >
bool boost::spirit::repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct >::parse ( Iterator &  first,
Iterator const &  last,
Context &  context,
skipper_keyword_marker< Skipper, NoCasePass > const &  skipper,
Attribute &  attr 
) const
inline
template<typename Subject , typename KeywordType , typename LoopIter , typename NoCase , typename Distinct >
template<typename Iterator , typename Context , typename Skipper , typename Attribute >
bool boost::spirit::repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct >::parse ( Iterator &  first,
Iterator const &  last,
Context &  context,
Skipper const &  skipper,
Attribute &  attr 
) const
inline
template<typename Subject , typename KeywordType , typename LoopIter , typename NoCase , typename Distinct >
template<typename Iterator , typename Context , typename Skipper , typename Attribute >
bool boost::spirit::repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct >::parse_impl ( Iterator &  first,
Iterator const &  last,
Context &  context,
Skipper const &  skipper,
Attribute &  attr,
mpl::false_   
) const
inline
template<typename Subject , typename KeywordType , typename LoopIter , typename NoCase , typename Distinct >
template<typename Iterator , typename Context , typename Skipper , typename Attribute >
bool boost::spirit::repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct >::parse_impl ( Iterator &  first,
Iterator const &  last,
Context &  context,
Skipper const &  skipper,
Attribute &  attr,
mpl::true_   
) const
inline
template<typename Subject , typename KeywordType , typename LoopIter , typename NoCase , typename Distinct >
template<typename Context >
info boost::spirit::repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct >::what ( Context &  context) const
inline

Member Data Documentation

template<typename Subject , typename KeywordType , typename LoopIter , typename NoCase , typename Distinct >
LoopIter boost::spirit::repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct >::iter
template<typename Subject , typename KeywordType , typename LoopIter , typename NoCase , typename Distinct >
keyword_string_type boost::spirit::repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct >::keyword
template<typename Subject , typename KeywordType , typename LoopIter , typename NoCase , typename Distinct >
Subject boost::spirit::repository::qi::kwd_parser< Subject, KeywordType, LoopIter, NoCase, Distinct >::subject

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