ZeroEQ  0.7.0
ZeroEQ - Zero Event Queue
zeroeq::URI Class Reference

Enhances servus::URI to guarantee the existance of a schema and to allow construction of [host][:port] URIs from string. More...

#include <uri.h>

+ Inheritance diagram for zeroeq::URI:
+ Collaboration diagram for zeroeq::URI:

Public Member Functions

 URI ()
 Create a default URI in the form "tcp://".
 
 URI (const URI &from)
 
 URI (const std::string &uri)
 Create URI from string, set schema to "tcp" if empty.
 
 URI (const char *uri)
 Create URI from string, set schema to "tcp" if empty.
 
 URI (const servus::URI &from)
 Convert from servus::URI, set schema to "tcp" if empty.
 
URIoperator= (const URI &rhs)
 
URIoperator= (const servus::URI &rhs)
 
bool operator== (const URI &rhs) const
 
bool operator== (const servus::URI &rhs) const
 
bool operator!= (const URI &rhs) const
 
bool operator!= (const servus::URI &rhs) const
 
const servus::URI & toServusURI () const
 Convert this URI to a servus::URI.
 

Detailed Description

Enhances servus::URI to guarantee the existance of a schema and to allow construction of [host][:port] URIs from string.

Definition at line 20 of file uri.h.


The documentation for this class was generated from the following file: