![]() |
PhoenixPresentation
2.0.0
Set of cmake function to automate presentation generation
|
#include "PString.h"
Go to the source code of this file.
Functions | |
PString | phoenix_getenv (const PString &varName) |
Get the value of the given environment variable. More... | |
bool | phoenix_setenv (const PString &name, const PString &value, bool overwrite=true) |
Set a environment variable. More... | |
bool | phoenix_unsetenv (const PString &name) |
Unset a environment variable. More... | |
Get the value of the given environment variable.
varName | : name of the environment variable to be used |
Definition at line 15 of file phoenix_env.cpp.
References phoenix_charToString().
Referenced by PPath::getCurrentDirectory(), PPath::getHomeDir(), and testEnv().
Set a environment variable.
name | : name of the variable to be created |
value | : value of the variable to be created |
overwrite | : true to overwrite an existing variable, false to not to |
Definition at line 25 of file phoenix_env.cpp.
Referenced by testEnv().
bool phoenix_unsetenv | ( | const PString & | name | ) |
Unset a environment variable.
name | : name of the variable to be unset |
Definition at line 33 of file phoenix_env.cpp.
Referenced by testEnv().