fipa_acl  1.4
Public Member Functions | Public Attributes | List of all members
fipa::acl::grammar::string::WordWithoutKeyword< Iterator > Struct Template Reference

#include <grammar_string_message.h>

Inherits grammar< Iterator, std::string()>.

Public Member Functions

 WordWithoutKeyword ()
 

Public Attributes

Keyword< Iterator > keyword
 
qi::rule< Iterator, std::string()> word_rule
 
qi::rule< Iterator > wordExceptionsStart
 
qi::rule< Iterator > wordExceptionsGeneral
 

Detailed Description

template<typename Iterator>
struct fipa::acl::grammar::string::WordWithoutKeyword< Iterator >

Definition at line 44 of file grammar_string_message.h.

Constructor & Destructor Documentation

template<typename Iterator>
fipa::acl::grammar::string::WordWithoutKeyword< Iterator >::WordWithoutKeyword ( )
inline

Definition at line 46 of file grammar_string_message.h.

46  : WordWithoutKeyword::base_type(word_rule, "word_without_keyword-string_grammar")
47  {
48  using encoding::char_;
49 
50  word_rule = (char_ - wordExceptionsStart ) [ label::_val += label::_1 ]
51  >> *(!keyword >> (char_ - wordExceptionsGeneral) [ label::_val += label::_1 ]
52  );
53 
55  | char_('#')
56  | char_('0','9')
57  | char_('-')
58  | char_('@')
59  ;
60  wordExceptionsGeneral %= char_(0x00,0x20)
61  | char_('(')
62  | char_(')')
63  ;
64  }
qi::rule< Iterator, std::string()> word_rule

Member Data Documentation

template<typename Iterator>
Keyword<Iterator> fipa::acl::grammar::string::WordWithoutKeyword< Iterator >::keyword

Definition at line 66 of file grammar_string_message.h.

template<typename Iterator>
qi::rule<Iterator, std::string()> fipa::acl::grammar::string::WordWithoutKeyword< Iterator >::word_rule

Definition at line 68 of file grammar_string_message.h.

template<typename Iterator>
qi::rule<Iterator> fipa::acl::grammar::string::WordWithoutKeyword< Iterator >::wordExceptionsGeneral

Definition at line 70 of file grammar_string_message.h.

template<typename Iterator>
qi::rule<Iterator> fipa::acl::grammar::string::WordWithoutKeyword< Iterator >::wordExceptionsStart

Definition at line 69 of file grammar_string_message.h.


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