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

#include <grammar_string_message.h>

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

Public Member Functions

 Keyword ()
 

Public Attributes

qi::rule< Iterator, std::string()> keyword
 

Detailed Description

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

Definition at line 13 of file grammar_string_message.h.

Constructor & Destructor Documentation

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

Definition at line 15 of file grammar_string_message.h.

15  : Keyword::base_type(keyword, "keyword-string_grammar")
16  {
17  using namespace fipa::acl::MessageField;
18 
19  keyword = qi::no_case[
20  qi::lit(":" + MessageFieldTxt[SENDER])
21  | qi::lit(":" + MessageFieldTxt[RECEIVER])
22  | qi::lit(":" + MessageFieldTxt[CONTENT])
23  | qi::lit(":" + MessageFieldTxt[REPLY_WITH])
24  | qi::lit(":" + MessageFieldTxt[REPLY_BY])
25  | qi::lit(":" + MessageFieldTxt[IN_REPLY_TO])
26  | qi::lit(":" + MessageFieldTxt[REPLY_TO])
27  | qi::lit(":" + MessageFieldTxt[LANGUAGE])
28  | qi::lit(":" + MessageFieldTxt[ENCODING])
29  | qi::lit(":" + MessageFieldTxt[ONTOLOGY])
30  | qi::lit(":" + MessageFieldTxt[PROTOCOL])
31  | qi::lit(":" + MessageFieldTxt[CONVERSATION_ID])
32  // These are possible inside an agent-identifier
33  | qi::lit(":resolvers")
34  | qi::lit(":addresses")
35  ];
36 
37  //FIPA_DEBUG_RULE(keyword);
38  }
std::map< MessageField::Type, std::string > MessageFieldTxt
qi::rule< Iterator, std::string()> keyword

Member Data Documentation

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

Definition at line 40 of file grammar_string_message.h.


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