#include <Uri.hpp>
Public Member Functions | |
URI (const std::string &uri) | |
URI (const char *uri) | |
URI (const mico::persistence::model::URI &uri) | |
std::string | getLocalName () const |
Gets the local name of this URI. | |
std::string | getNamespace () const |
Gets the namespace of this URI. | |
const std::string & | stringValue () const |
Returns the String-value of a Value object. More... | |
bool | operator== (const mico::persistence::model::URI &u) const |
bool | operator== (const std::string &s) const |
bool | operator== (const char *s) const |
bool | operator!= (const std::string &s) const |
bool | operator!= (const char *s) const |
A URI.
A URI consists of a namespace and a local name, which are derived from a URI string by splitting it in two using the following algorithm:
The last step should never fail as every legal (full) URI contains at least one ':' character to seperate the scheme from the rest of the URI. The implementation should check this upon object creation.
|
inline |