Environment variable expansion helpers. More...
#include <StormByte/system/variable.hxx>
Static Public Member Functions | |
| static StormByte::String::String | Expand (std::string_view str) |
| Expand environment variables in UTF-8 text. | |
| static StormByte::String::String | Expand (const StormByte::String::String &str) |
| Expand environment variables in owned UTF-8 text. | |
| static StormByte::String::String | Expand (const StormByte::CString &str) |
| Expand environment variables in a CString. | |
| static StormByte::String::String | Expand (std::wstring_view str) |
| Expand environment variables in wide text. | |
| static StormByte::String::String | Expand (const StormByte::String::WString &str) |
| Expand environment variables in owned wide text. | |
| static StormByte::String::String | Expand (const StormByte::WCString &str) |
| Expand environment variables in a WCString. | |
Environment variable expansion helpers.
Windows: ExpandEnvironmentStrings. UNIX: expand ~ to the home path.
|
static |
|
static |
Expand environment variables in owned UTF-8 text.
| str | Input. |
|
static |
Expand environment variables in owned wide text.
| str | Input. |
|
static |
|
static |
Expand environment variables in UTF-8 text.
| str | Input. |
|
static |
Expand environment variables in wide text.
| str | Input. |