11 #include <servus/uri.h>
20 class URI :
private servus::URI
28 ZEROEQ_API
URI(
const URI& from );
31 ZEROEQ_API
explicit URI(
const std::string& uri );
34 ZEROEQ_API
explicit URI(
const char* uri );
37 ZEROEQ_API
explicit URI(
const servus::URI& from );
39 ZEROEQ_API URI& operator = (
const URI& rhs );
42 ZEROEQ_API URI& operator = (
const servus::URI& rhs );
44 ZEROEQ_API
bool operator == (
const URI& rhs )
const;
46 ZEROEQ_API
bool operator == (
const servus::URI& rhs )
const;
48 ZEROEQ_API
bool operator != (
const URI& rhs )
const;
50 ZEROEQ_API
bool operator != (
const servus::URI& rhs )
const;
57 using servus::URI::getScheme;
58 using servus::URI::getHost;
59 using servus::URI::getPort;
60 using servus::URI::getPath;
61 using servus::URI::setHost;
62 using servus::URI::setPort;
66 inline std::ostream& operator << ( std::ostream& os,
const URI& uri )
68 return os << uri.toServusURI();
75 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.