7 #ifndef _QI_MESSAGING_URL_HPP_
8 #define _QI_MESSAGING_URL_HPP_
44 Url(
const std::string &url);
52 Url(
const std::string &url,
unsigned short defaultPort);
60 Url(
const std::string &url,
const std::string &defaultProtocol);
70 Url(
const std::string &url,
const std::string &defaultProtocol,
unsigned short defaultPort);
86 Url& operator= (
const Url& rhs);
102 const std::string& str()
const;
108 const std::string& protocol()
const;
114 const std::string& host()
const;
119 unsigned short port()
const;
131 {
return !(lhs == rhs); }
137 #endif // _QIMESSAGING_URL_HPP_
std::vector< Url > UrlVector
dll import/export and compiler message
bool operator==(const Signature &lhs, const Signature &rhs)
bool operator<(const AnyReference &a, const AnyReference &b)
bool operator!=(const Signature &lhs, const Signature &rhs)