5 #include <boost/algorithm/string.hpp>
13 using namespace MessageField;
15 std::string msg =
"(";
25 if(!receivers.empty())
40 if(!replyWith.empty())
49 std::string replyByString = replyBy.toString(base::Time::Milliseconds,
"%Y%m%dT%H%M%S");
50 boost::erase_all(replyByString,
":");
56 if(!inReplyTo.empty())
92 if(!conversationId.empty())
97 const std::vector<fipa::acl::UserdefParam>& parameters = aclMsg.
getUserdefParams();
98 std::vector<fipa::acl::UserdefParam>::const_iterator cit = parameters.begin();
99 for(; cit != parameters.end(); ++cit)
std::string getEncoding() const
std::vector< UserdefParam > getUserdefParams() const
base::Time getReplyBy() const
std::string getPerformative() const
std::map< MessageField::Type, std::string > MessageFieldTxt
std::string getReplyWith() const
std::vector< AgentID > AgentIDList
std::string getOntology() const
AgentIDList getAllReplyTo() const
const std::string * getContentPtr() const
std::string getLanguage() const
std::string getInReplyTo() const
AgentID getSender() const
std::string getProtocol() const
This class provides a representation of a message conforming to the FIPA specification SC00061...
Implements the general AgentID functionality, which is present throughout the fipa specifications(FIP...
AgentIDList getAllReceivers() const
std::string getConversationID() const