StormByte C++ Library: System module
0.0.9999
StormByte-System is a StormByte library module for encapsulating different process handling over different operating system's complexities
Loading...
Searching...
No Matches
lib
public
StormByte
system
variable.hxx
1
#pragma once
2
3
#include <StormByte/system/visibility.h>
4
5
#include <filesystem>
6
#include <string>
7
12
namespace
StormByte::System {
17
class
STORMBYTE_SYSTEM_PUBLIC
Variable
{
18
public
:
24
static
std::string
Expand
(
const
std::string& str);
25
#ifdef WINDOWS
31
static
std::string Expand(
const
std::wstring&);
32
#endif
33
34
private
:
40
static
std::string ExpandEnvironmentVariable(
const
std::string& str);
41
#ifdef WINDOWS
47
static
std::string ExpandEnvironmentVariable(
const
std::wstring&);
48
#else
53
static
std::filesystem::path HomePath();
54
#endif
55
};
56
}
StormByte::System::Variable
Handling system variables.
Definition
variable.hxx:17
StormByte::System::Variable::Expand
static std::string Expand(const std::string &str)
Generated by
1.9.8