Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::spirit::qi::make_directive_internal_2_args< T1, T2, Subject, Modifiers, Distinct, MakeDirectiveHelper > Struct Template Reference

#include <kwd.hpp>

Public Types

typedef traits::is_string< T1 > is_string_kwd_type
 
typedef mpl::if_
< is_string_kwd_type, T1,
typename result_of::compile
< qi::domain, T1 >::type >
::type 
keyword_type
 
typedef add_const
< keyword_type >::type 
const_keyword
 
typedef
MakeDirectiveHelper::iterator_type 
iterator_type
 
typedef has_modifier
< Modifiers,
tag::char_code_base
< tag::no_case > > 
no_case
 
typedef mpl::if_
< is_string_kwd_type,
repository::qi::kwd_parser
< Subject, const_keyword,
iterator_type, no_case,
Distinct >
, repository::qi::complex_kwd_parser
< Subject, const_keyword,
iterator_type, Distinct >
>::type 
result_type
 

Public Member Functions

template<typename Terminal >
result_type create_kwd_string (Terminal const &term, Subject const &subject, boost::mpl::true_) const
 
template<typename Terminal >
result_type create_kwd_string (Terminal const &term, Subject const &subject, boost::mpl::false_) const
 
template<typename Terminal >
result_type create_kwd (Terminal const &term, Subject const &subject, Modifiers const &modifiers, boost::mpl::true_) const
 
template<typename Terminal >
result_type create_kwd (Terminal const &term, Subject const &subject, Modifiers const &modifiers, boost::mpl::false_) const
 
template<typename Terminal >
result_type operator() (Terminal const &term, Subject const &subject, Modifiers const &modifiers) const
 

Member Typedef Documentation

template<typename T1 , typename T2 , typename Subject , typename Modifiers , typename Distinct , typename MakeDirectiveHelper >
typedef add_const<keyword_type>::type boost::spirit::qi::make_directive_internal_2_args< T1, T2, Subject, Modifiers, Distinct, MakeDirectiveHelper >::const_keyword
template<typename T1 , typename T2 , typename Subject , typename Modifiers , typename Distinct , typename MakeDirectiveHelper >
typedef traits::is_string<T1> boost::spirit::qi::make_directive_internal_2_args< T1, T2, Subject, Modifiers, Distinct, MakeDirectiveHelper >::is_string_kwd_type
template<typename T1 , typename T2 , typename Subject , typename Modifiers , typename Distinct , typename MakeDirectiveHelper >
typedef MakeDirectiveHelper::iterator_type boost::spirit::qi::make_directive_internal_2_args< T1, T2, Subject, Modifiers, Distinct, MakeDirectiveHelper >::iterator_type
template<typename T1 , typename T2 , typename Subject , typename Modifiers , typename Distinct , typename MakeDirectiveHelper >
typedef mpl::if_< is_string_kwd_type , T1 , typename result_of::compile<qi::domain, T1>::type >::type boost::spirit::qi::make_directive_internal_2_args< T1, T2, Subject, Modifiers, Distinct, MakeDirectiveHelper >::keyword_type
template<typename T1 , typename T2 , typename Subject , typename Modifiers , typename Distinct , typename MakeDirectiveHelper >
typedef has_modifier<Modifiers, tag::char_code_base<tag::no_case> > boost::spirit::qi::make_directive_internal_2_args< T1, T2, Subject, Modifiers, Distinct, MakeDirectiveHelper >::no_case
template<typename T1 , typename T2 , typename Subject , typename Modifiers , typename Distinct , typename MakeDirectiveHelper >
typedef mpl::if_< is_string_kwd_type, repository::qi::kwd_parser<Subject, const_keyword, iterator_type, no_case, Distinct >, repository::qi::complex_kwd_parser<Subject, const_keyword, iterator_type, Distinct > >::type boost::spirit::qi::make_directive_internal_2_args< T1, T2, Subject, Modifiers, Distinct, MakeDirectiveHelper >::result_type

Member Function Documentation

template<typename T1 , typename T2 , typename Subject , typename Modifiers , typename Distinct , typename MakeDirectiveHelper >
template<typename Terminal >
result_type boost::spirit::qi::make_directive_internal_2_args< T1, T2, Subject, Modifiers, Distinct, MakeDirectiveHelper >::create_kwd ( Terminal const &  term,
Subject const &  subject,
Modifiers const &  modifiers,
boost::mpl::true_   
) const
inline
template<typename T1 , typename T2 , typename Subject , typename Modifiers , typename Distinct , typename MakeDirectiveHelper >
template<typename Terminal >
result_type boost::spirit::qi::make_directive_internal_2_args< T1, T2, Subject, Modifiers, Distinct, MakeDirectiveHelper >::create_kwd ( Terminal const &  term,
Subject const &  subject,
Modifiers const &  modifiers,
boost::mpl::false_   
) const
inline
template<typename T1 , typename T2 , typename Subject , typename Modifiers , typename Distinct , typename MakeDirectiveHelper >
template<typename Terminal >
result_type boost::spirit::qi::make_directive_internal_2_args< T1, T2, Subject, Modifiers, Distinct, MakeDirectiveHelper >::create_kwd_string ( Terminal const &  term,
Subject const &  subject,
boost::mpl::true_   
) const
inline
template<typename T1 , typename T2 , typename Subject , typename Modifiers , typename Distinct , typename MakeDirectiveHelper >
template<typename Terminal >
result_type boost::spirit::qi::make_directive_internal_2_args< T1, T2, Subject, Modifiers, Distinct, MakeDirectiveHelper >::create_kwd_string ( Terminal const &  term,
Subject const &  subject,
boost::mpl::false_   
) const
inline
template<typename T1 , typename T2 , typename Subject , typename Modifiers , typename Distinct , typename MakeDirectiveHelper >
template<typename Terminal >
result_type boost::spirit::qi::make_directive_internal_2_args< T1, T2, Subject, Modifiers, Distinct, MakeDirectiveHelper >::operator() ( Terminal const &  term,
Subject const &  subject,
Modifiers const &  modifiers 
) const
inline

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