This is the documentation for Enlighten.
module String Handling
The GeoBase library provides a suite of cross-platform text functions that are used in place of strcpy et al.
This allows the rest of the code to be unaware of any platform inconsistencies.
Classes
Name | Description |
|---|---|
This is a simple string class template that always uses a fixed amount of memory for a single string. | |
STL string replacement. | |
STL string_view replacement. | |
A basic replacement for 'strtok'. | |
A very simple utility class that wraps some common parsing functionality around a GeoTokenList. |
Typedefs
Name | Description |
|---|---|
GeoString< char > GeoFileString | String type used for file paths. |
GeoStringView< char > GeoFileStringView | String type used for file paths. |
GeoString< char > GeoNetworkString | String type used for networking. |
GeoString< char > GeoSymbolString | String type used for internal symbol matching. |
GeoString< char > GeoUIString | String type used for user interface and feedback. |
GeoString< char > GeoUtf8FileString | String type used for file paths when ASCII is required (rare). |
Functions
Name | Description |
|---|---|
Function to make a string by concatenating an array of elements using IGeoStream::operator<< to convert each element to a string and placing the given separator between each element. | |
Removes leading and trailing whitespace characters from the provided string. | |
Equivalent to atof. | |
Equivalent to atoi. | |
Equivalent to sprintf. | |
Equivalent to strcat. | |
Equivalent to strcmp. | |
Equivalent to strcpy. | |
Equivalent to stricmp. | |
Equivalent to strlen. | |
Equivalent to strlwr. | |
Equivalent to strncat. | |
Equivalent to strncmp. | |
Equivalent to strncpy. | |
Simple interpretation of the strtoXXX family of functions, returning a Geo::s16. | |
Simple interpretation of the strtoXXX family of functions, returning a Geo::s32. | |
Simple interpretation of the strtoXXX family of functions, returning a Geo::s64. | |
Simple interpretation of the strtoXXX family of functions, returning a Geo::u16. | |
Simple interpretation of the strtoXXX family of functions, returning a Geo::u32. | |
Simple interpretation of the strtoXXX family of functions, returning a Geo::u64. | |
Equivalent to vscprintf. | |
Equivalent to vsprintf. | |
Returns whether the given character is a whitespace character. | |
Comparison (required to use strings as keys in a map). | |
Function to parse incoming string into an array of floats. | |
Function to parse incoming string into an array of integers. |