This is the documentation for Enlighten.
class Geo GeoVariant UrlData
class Geo::GeoVariant::UrlData
String class for representing URLs (e.g. file paths).
Functions
Name | Description |
|---|---|
Destructor. | |
Clear the string. | |
Copies the content of this string to the given raw character buffer. | |
Terminates the string at the given position. | |
This will remove the string beyond and including the last character specified if there is one. | |
This will remove the string up to and including the last character specified if there is one. | |
Directly sets the length of the string to the given value. | |
Creates a UrlData from a string. | |
Creates a new string of this format from a narrow string. | |
Move constructor. | |
Explicit constructor for an initial buffer length. | |
Explicit constructor from an array of size n. | |
Explicit constructor from a null-terminated array. | |
Default constructor. | |
Copy constructor. | |
Returns the string capacity. | |
Returns a const raw pointer to the string. | |
Returns the length of the string. | |
Returns a non-const raw pointer to the string. | |
Returns true if the string is empty. | |
Implicit conversion to string view. | |
Element access operator. Do not use this to assign a terminator, or the string will very likely be corrupted. | |
Comparison (required to use strings as keys in a map). | |
Creates a string from a standard C style format specifier, without the user having to know the maximum string length beforehand. | |
Set the string capacity (increase only). | |
Returns a subsection of the string. | |
Swap places with other. | |
Returns a new narrow string from this one. | |
Creates a UrlData from a string. |
Typedefs
Name | Description |
|---|---|
T CharType | The character type of this string. |