Relation¶
-
class
URI
¶ A URI class used in semgen.
- Parameters
uri_encoding
: A string encoding of the URI.
Public Functions
-
URI
()¶ Empty constructor.
-
URI
(const char *uri)¶ Construct from a string literal.
-
std::string
toString
() const¶ Convert to human-readable string.
-
std::string
encode
() const¶ Convert to encoded UTF-8 URI string (possibly different from human-readable string).
-
URI
appendToFrag
(const std::string &suffix) const¶ Append to the fragment part of the URI.
- Return
The new URI.
- Parameters
suffix
: The string to append to the fragment.