All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

Functions for accessing environment variables. More...

+ Include dependency graph for getenv.h:

Go to the source code of this file.

Functions

TF_API std::string TfGetenv (const std::string &envName, const std::string &defaultValue="")
 Return an environment variable as a string.
 
TF_API int TfGetenvInt (const std::string &envName, int defaultValue)
 Return an environment variable as an integer.
 
TF_API bool TfGetenvBool (const std::string &, bool defaultValue)
 Return an environment variable as a boolean.
 
TF_API double TfGetenvDouble (const std::string &envName, double defaultValue)
 Return an environment variable as a double.
 

Detailed Description

Functions for accessing environment variables.

Definition in file getenv.h.