5 #include <boost/assign/list_of.hpp> 10 std::map<representation::Type, EnvelopeParserImplementationPtr > EnvelopeParser::msParsers = boost::assign::map_list_of
12 (
representation::XML, boost::shared_ptr<EnvelopeParserImplementation>(
new XMLEnvelopeParser()) );
20 return messageParser->parseData(storage, envelope);
23 throw std::runtime_error(msg);
ACLMessage envelope (also typed as fipa::acl::Letter) includes the base envelope and updated fields...
static bool parseData(const std::string &storage, ACLEnvelope &envelope, representation::Type type=fipa::acl::representation::BITEFFICIENT)
boost::shared_ptr< EnvelopeParserImplementation > EnvelopeParserImplementationPtr
const std::string TypeTxt[]
Foundation of Physical Intelligent Agents.