1 #ifndef __FIPAACL_MESSAGEPARSER_PARAMETER_H_
2 #define __FIPAACL_MESSAGEPARSER_PARAMETER_H_
4 #include <fipa_acl/message_parser/date_time.h>
5 #include <fipa_acl/message_parser/byte_sequence.h>
6 #include <fipa_acl/message_parser/agent_id.h>
24 return "AgentIdentifier";
27 std::string
operator()(
const std::vector<fipa::acl::AgentIdentifier>& ids)
const
30 return "AgentIdentifiers";
std::string operator()(const fipa::acl::ByteSequence &seq) const
std::string operator()(const std::vector< fipa::acl::AgentIdentifier > &ids) const
std::string toString() const
boost::variant< std::string, fipa::acl::AgentIdentifier, std::vector< fipa::acl::AgentIdentifier >, fipa::acl::ByteSequence, fipa::acl::DateTime, fipa::acl::ByteString > ParameterValue
std::string operator()(const fipa::acl::DateTime &dt) const
Representation of a byte sequence. We also embed information about the encoding.
boost::variant< std::string, std::vector< unsigned char > > ByteString
Definition of a ByteString.
std::string operator()(const std::string &s) const
Definition for AgentIdentifier.
std::string ParameterValue
std::string operator()(const fipa::acl::ByteString &bs) const
std::string operator()(const fipa::acl::AgentIdentifier &agentID) const