fipa_acl  1.4
string_format.h
Go to the documentation of this file.
1 #ifndef FIPA_ACL_STRING_FORMAT_H
2 #define FIPA_ACL_STRING_FORMAT_H
3 
4 #include <fipa_acl/message_generator/message_format.h>
5 namespace fipa {
6 namespace acl {
7 
9 {
10 public:
11  static std::string getAgentIdentifier(const AgentID& agentID);
12 
16  static std::string getAgentIdentifierSequence(const AgentIDList& agentList);
17 
21  static std::string getAgentIdentifierSet(const AgentIDList& agentList);
22 
26  static std::string getAgentIdentifierList(const AgentIDList& agentList);
27 
31  static std::string getString(const std::string& txt);
32 
37  static std::string getExpression(const std::string& txt) { return getString(txt); }
38 
39  static std::string getWord(const std::string& txt) { return txt; }
40 
41  static std::string getUrlSequence(const Addresses& addresses);
42 
43  static std::string getUserdefinedParameter(const std::string& param) { return param; }
44 
45  static std::string getUrl(const std::string& url) { return url; }
46 };
47 
48 } // end namespace acl
49 } // end namespace fipa
50 
51 #endif //FIPA_ACL_STRING_FORMAT_H
static std::string getUrl(const std::string &url)
Definition: string_format.h:45
static std::string getAgentIdentifierList(const AgentIDList &agentList)
static std::string getAgentIdentifierSequence(const AgentIDList &agentList)
static std::string getUrlSequence(const Addresses &addresses)
static std::string getAgentIdentifierSet(const AgentIDList &agentList)
static std::string getExpression(const std::string &txt)
Definition: string_format.h:37
static std::string getAgentIdentifier(const AgentID &agentID)
std::vector< AgentID > AgentIDList
Definition: agent_id.h:20
std::vector< std::string > Addresses
Definition: agent_id.h:28
Implements the general AgentID functionality, which is present throughout the fipa specifications(FIP...
Definition: agent_id.h:37
Foundation of Physical Intelligent Agents.
Definition: conversation.cpp:6
static std::string getUserdefinedParameter(const std::string &param)
Definition: string_format.h:43
static std::string getString(const std::string &txt)
static std::string getWord(const std::string &txt)
Definition: string_format.h:39