Definition at line 100 of file UnixUtils.H.
#include <UnixUtils.H>
Public Member Functions | |
Environment () | |
int | SetEnv (const std::string &, const std::string &, bool) |
void | UnSetEnv (const std::string &) |
int | ClearEnv () |
const std::string | GetEnv (const std::string &) const |
std::string & | GetEnv (const std::string &) |
int | PutEnv (char *) |
void | Refresh () |
char ** | GetRawEnv () |
Private Member Functions | |
void | init () |
Private Attributes | |
std::string | empty_string |
Environment | ( | ) |
Definition at line 360 of file UnixUtils.C.
int ClearEnv | ( | ) |
Definition at line 401 of file UnixUtils.C.
const std::string GetEnv | ( | const std::string & | var | ) | const |
Definition at line 410 of file UnixUtils.C.
std::string & GetEnv | ( | const std::string & | var | ) |
Definition at line 422 of file UnixUtils.C.
char ** GetRawEnv | ( | ) |
Definition at line 449 of file UnixUtils.C.
References environ.
|
private |
Definition at line 366 of file UnixUtils.C.
int PutEnv | ( | char * | envs | ) |
Definition at line 435 of file UnixUtils.C.
void Refresh | ( | ) |
Definition at line 443 of file UnixUtils.C.
int SetEnv | ( | const std::string & | var, |
const std::string & | val, | ||
bool | ow | ||
) |
Definition at line 385 of file UnixUtils.C.
void UnSetEnv | ( | const std::string & | var | ) |
Definition at line 393 of file UnixUtils.C.
|
private |
Definition at line 116 of file UnixUtils.H.