11 #include <servus/uri.h> 19 class URI :
private servus::URI
27 ZEROEQ_API
URI(
const URI& from);
30 ZEROEQ_API
explicit URI(
const std::string& uri);
33 ZEROEQ_API
explicit URI(
const char* uri);
36 ZEROEQ_API
explicit URI(
const servus::URI& from);
38 ZEROEQ_API URI& operator=(
const URI& rhs);
41 ZEROEQ_API URI& operator=(
const servus::URI& rhs);
43 ZEROEQ_API
bool operator==(
const URI& rhs)
const;
45 ZEROEQ_API
bool operator==(
const servus::URI& rhs)
const;
47 ZEROEQ_API
bool operator!=(
const URI& rhs)
const;
49 ZEROEQ_API
bool operator!=(
const servus::URI& rhs)
const;
55 using servus::URI::getScheme;
56 using servus::URI::getHost;
57 using servus::URI::getPort;
58 using servus::URI::getPath;
59 using servus::URI::getQuery;
60 using servus::URI::setHost;
61 using servus::URI::setPort;
65 inline std::ostream& operator<<(std::ostream& os,
const URI& uri)
74 inline std::string to_string(
const zeroeq::URI& uri)
Enhances servus::URI to guarantee the existance of a schema and to allow construction of [host][:port...
Defines export visibility macros for library ZeroEQ.
const servus::URI & toServusURI() const
Convert this URI to a servus::URI.
URI()
Create a default URI in the form "tcp://".
Publish-subscribe classes for typed events.