Representing a URI that can be modified with a relative reference. More...
#include <uri.hpp>
Collaboration diagram for UPnPsdk::CUri:Public Member Functions | |
| CUri (std::string a_uriref_str) | |
| Initialize with the base URI. | |
| void | operator= (std::string a_relref_str) |
| Set a relative resource reference. | |
| CComponent::STATE | state () const |
| Get state of the URI. | |
| std::string | str () const |
| Get the resulting URI string merged with the relative reference. | |
Public Attributes | |
| CUriRef | base |
| Base URI. | |
| CUriRef | target |
| Resulting URI of merged relative reference to the base URI. | |
Representing a URI that can be modified with a relative reference.
On the once given base URI with the constructor, a relative reference can be modified multible times.
| UPnPsdk::CUri::CUri | ( | std::string | a_uriref_str | ) |
Initialize with the base URI.
| std::invalid_argument |
|
| [in] | a_uriref_str | Setting an absolute URI, means must have a scheme. |
Definition at line 1024 of file uri.cpp.
Here is the call graph for this function:| void UPnPsdk::CUri::operator= | ( | std::string | a_relref_str | ) |
Set a relative resource reference.
| std::invalid_argument |
|
| [in] | a_relref_str | String with a relative reference for the Base URI set with the constructor. |
Definition at line 1037 of file uri.cpp.
Here is the call graph for this function:| CComponent::STATE UPnPsdk::CUri::state | ( | ) | const |
| std::string UPnPsdk::CUri::str | ( | ) | const |
Get the resulting URI string merged with the relative reference.
If no relative reference is given then just the base URI is returned.
Definition at line 1101 of file uri.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| CUriRef UPnPsdk::CUri::target |