A complete URI.
More...
#include <URI.hh>
🔗URI() [1/3]
🔗URI() [2/3]
Construct a URI object from a string.
- Parameters
-
🔗URI() [3/3]
Copy constructor.
- Parameters
-
🔗~URI()
🔗Clear()
Remove all components of the URI.
🔗Fragment() [1/2]
Get a mutable version of the fragment component.
- Returns
- A reference to the fragment.
🔗Fragment() [2/2]
Get a const reference of the fragment component.
- Returns
- A const reference of the fragment.
🔗operator=()
URI& operator= |
( |
const URI & |
_uri | ) |
|
Assignment operator.
- Parameters
-
- Returns
- Itself.
🔗operator==()
bool operator== |
( |
const URI & |
_uri | ) |
const |
Return true if the two URIs match.
- Parameters
-
[in] | _uri | Another URI to compare. |
- Returns
- True if the two URIs match.
🔗Parse()
Parse a string as URI.
- Parameters
-
- Returns
- True if the string can be parsed as a URI.
🔗Path() [1/2]
Get a mutable version of the path component.
- Returns
- A reference to the path
🔗Path() [2/2]
Get a const reference of the path component.
- Returns
- A const reference of the path.
🔗Query() [1/2]
Get a mutable version of the query component.
- Returns
- A reference to the query
🔗Query() [2/2]
Get a const reference of the query component.
- Returns
- A const reference of the query.
🔗Scheme()
Get the URI's scheme.
- Returns
- The scheme
🔗SetScheme()
Set the URI's scheme.
- Parameters
-
🔗Str()
Get the URI as a string, which has the form:
scheme://path?query
- Returns
- The full URI as a string
🔗Valid() [1/2]
Validate this URI.
- Returns
- True if this can be parsed as a URI.
🔗Valid() [2/2]
Validate a string as URI.
- Parameters
-
[in] | _str | The string to validate. |
- Returns
- True if the string can be parsed as a URI.
The documentation for this class was generated from the following file: