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
bitefficient_envelope_parser.cpp
Go to the documentation of this file.
1
#include "
bitefficient_envelope_parser.h
"
2
#include "
grammar/grammar_bitefficient_envelope.h
"
3
4
namespace
fipa
{
5
namespace
acl {
6
7
bool
BitefficientEnvelopeParser::parseData
(
const
std::string& storage,
ACLEnvelope
& envelope)
8
{
9
typedef
fipa::acl::bitefficient::Envelope<std::string::const_iterator>
bitefficient_envelope_grammar;
10
bitefficient_envelope_grammar grammar;
11
12
std::string::const_iterator iter = storage.begin();
13
std::string::const_iterator end = storage.end();
14
bool
r = parse(iter, end, grammar, envelope);
15
16
if
(r && iter == end)
17
{
18
return
true
;
19
}
20
return
false
;
21
}
22
23
}
// end namespace acl
24
}
// end namespace fipa
fipa::acl::ACLEnvelope
ACLMessage envelope (also typed as fipa::acl::Letter) includes the base envelope and updated fields...
Definition:
acl_envelope.h:349
fipa::acl::BitefficientEnvelopeParser::parseData
bool parseData(const std::string &storage, ACLEnvelope &envelope)
Definition:
bitefficient_envelope_parser.cpp:7
bitefficient_envelope_parser.h
fipa::acl::bitefficient::Envelope
Definition:
grammar_bitefficient_envelope.h:199
grammar_bitefficient_envelope.h
fipa
Foundation of Physical Intelligent Agents.
Definition:
conversation.cpp:6
Generated by
1.8.11