8 namespace persistence {
28 std::size_t split()
const;
30 std::ostream& print(std::ostream& os)
const { os <<
"URI("<<uri<<
")";
return os; }
34 URI(
const std::string& uri) : uri(uri) {}
35 URI(
const char* uri) : uri(uri) {}
56 inline bool operator==(
const std::string& s)
const {
return uri == s; }
57 inline bool operator==(
const char* s)
const {
return uri == s; }
58 inline bool operator!=(
const std::string& s)
const {
return uri != s; }
59 inline bool operator!=(
const char* s)
const {
return uri != s; }
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in c...
Definition: http_client.cpp:23
std::string getLocalName() const
Gets the local name of this URI.
Definition: Uri.hpp:41
std::string getNamespace() const
Gets the namespace of this URI.
Definition: Uri.hpp:46
const std::string & stringValue() const
Returns the String-value of a Value object.
Definition: Uri.hpp:52
A URI.
Definition: Uri.hpp:22