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

#include <grammar_string_message.h>

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

Public Member Functions

 Expression ()
 

Public Attributes

grammar::String< Iterator > string
 
Number< Iterator > number
 
DateTimeToken< Iterator > dateTime
 
WordWithoutKeyword< Iterator > wordWithoutKeyword
 
qi::rule< Iterator, std::string(), Skipper > expression
 
qi::rule< Iterator, std::string()> expression_base
 

Detailed Description

template<typename Iterator, typename Skipper = qi::unused_type>
struct fipa::acl::grammar::string::Expression< Iterator, Skipper >

Definition at line 254 of file grammar_string_message.h.

Constructor & Destructor Documentation

template<typename Iterator, typename Skipper = qi::unused_type>
fipa::acl::grammar::string::Expression< Iterator, Skipper >::Expression ( )
inline

Definition at line 257 of file grammar_string_message.h.

257  : Expression::base_type(expression, "expression-string_grammar")
258  {
259  using phoenix::construct;
260  using phoenix::val;
261  using encoding::char_;
262 
263  using namespace fipa::acl;
264  namespace label = qi::labels;
265 
266  expression = expression_base [ label::_val = label::_1 ]
267  | ( char_('(')
268  >> *expression [ label::_val = concatStringsWithSeparator(label::_val,label::_1," ") ]
269  >> char_(')')
270  )
271  ;
272 
273  expression_base = string
274  | number
275  | dateTime
277  ;
278  }
phoenix::function< concatStringsWithSeparatorImpl > concatStringsWithSeparator
qi::rule< Iterator, std::string()> expression_base
qi::rule< Iterator, std::string(), Skipper > expression
Agent Communication Language.
Definition: conversation.cpp:7
WordWithoutKeyword< Iterator > wordWithoutKeyword

Member Data Documentation

template<typename Iterator, typename Skipper = qi::unused_type>
DateTimeToken<Iterator> fipa::acl::grammar::string::Expression< Iterator, Skipper >::dateTime

Definition at line 282 of file grammar_string_message.h.

template<typename Iterator, typename Skipper = qi::unused_type>
qi::rule<Iterator, std::string(), Skipper> fipa::acl::grammar::string::Expression< Iterator, Skipper >::expression

Definition at line 285 of file grammar_string_message.h.

template<typename Iterator, typename Skipper = qi::unused_type>
qi::rule<Iterator, std::string()> fipa::acl::grammar::string::Expression< Iterator, Skipper >::expression_base

Definition at line 286 of file grammar_string_message.h.

template<typename Iterator, typename Skipper = qi::unused_type>
Number<Iterator> fipa::acl::grammar::string::Expression< Iterator, Skipper >::number

Definition at line 281 of file grammar_string_message.h.

template<typename Iterator, typename Skipper = qi::unused_type>
grammar::String<Iterator> fipa::acl::grammar::string::Expression< Iterator, Skipper >::string

Definition at line 280 of file grammar_string_message.h.

template<typename Iterator, typename Skipper = qi::unused_type>
WordWithoutKeyword<Iterator> fipa::acl::grammar::string::Expression< Iterator, Skipper >::wordWithoutKeyword

Definition at line 283 of file grammar_string_message.h.


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