◆ ExpandVariables()
void ablate::environment::RunEnvironment::ExpandVariables |
( |
std::string & |
value | ) |
const |
replaces any known runtime variables with known values supported values:
- $OutputDirectory is replaced with outputDirectory
- Parameters
-
- Returns
◆ Finalize()
void ablate::environment::RunEnvironment::Finalize |
( |
| ) |
|
|
static |
Last thing that any program should do is cleanup
- Parameters
-
◆ GetOutputDirectory()
const std::filesystem::path& ablate::environment::RunEnvironment::GetOutputDirectory |
( |
| ) |
const |
|
inline |
Return the path to the root of the current output directory
- Returns
◆ GetVersion()
std::string_view ablate::environment::RunEnvironment::GetVersion |
( |
| ) |
|
|
static |
Return the current version as a string_view to standardize access to the version
◆ Initialize()
void ablate::environment::RunEnvironment::Initialize |
( |
int * |
argc, |
|
|
char *** |
args |
|
) |
| |
|
static |
◆ RegisterCleanUpFunction()
void ablate::environment::RunEnvironment::RegisterCleanUpFunction |
( |
const std::string & |
name, |
|
|
std::function< void()> |
newFunction |
|
) |
| |
|
static |
function to register cleanup function
The documentation for this class was generated from the following files: