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