fipa_acl
1.4
Main Page
Namespaces
Classes
Files
File List
File Members
build
rock-master-18.09-multiagent-fipa-acl-0.20180914
src
message_parser
string_message_parser.cpp
Go to the documentation of this file.
1
#include "
string_message_parser.h
"
2
3
#include "
grammar/grammar_string_message.h
"
4
#include <base-logging/Logging.hpp>
5
6
namespace
fipa
{
7
namespace
acl {
8
9
bool
StringMessageParser::parseData(
const
std::string& storage, ACLMessage& msg)
10
{
11
typedef
fipa::acl::grammar::string::Message<std::string::const_iterator, qi::space_type>
string_message_grammar;
12
string_message_grammar grammar;
13
14
std::string::const_iterator iter = storage.begin();
15
std::string::const_iterator end = storage.end();
16
return
phrase_parse(iter, end, grammar, qi::space, msg);
17
}
18
19
}
// end namespace acl
20
}
// end namespace fipa
grammar_string_message.h
fipa::acl::grammar::string::Message
Definition:
grammar_string_message.h:437
string_message_parser.h
fipa
Foundation of Physical Intelligent Agents.
Definition:
conversation.cpp:6
Generated by
1.8.11