PhoenixPresentation  2.0.0
Set of cmake function to automate presentation generation
phoenix_env.h
Go to the documentation of this file.
1 /***************************************
2  Auteur : Pierre Aubert
3  Mail : pierre.aubert@lapp.in2p3.fr
4  Licence : CeCILL-C
5 ****************************************/
6 
7 #ifndef __PHOENIX_ENV_H__
8 #define __PHOENIX_ENV_H__
9 
10 #include "PString.h"
11 
12 PString phoenix_getenv(const PString & varName);
13 bool phoenix_setenv(const PString & name, const PString & value, bool overwrite = true);
14 bool phoenix_unsetenv(const PString & name);
15 
16 
17 #endif
Extends the std::string.
Definition: PString.h:16
bool phoenix_setenv(const PString &name, const PString &value, bool overwrite=true)
Set a environment variable.
Definition: phoenix_env.cpp:25
bool phoenix_unsetenv(const PString &name)
Unset a environment variable.
Definition: phoenix_env.cpp:33
PString phoenix_getenv(const PString &varName)
Get the value of the given environment variable.
Definition: phoenix_env.cpp:15