![]() |
|
|||
File indexing completed on 2023-03-17 11:03:51
0001 #ifndef Utilities_GetEnvironmentVariable_h 0002 #define Utilities_GetEnvironmentVariable_h 0003 0004 #include <cstdlib> 0005 #include <string> 0006 0007 namespace edm { 0008 inline std::string getEnvironmentVariable(std::string const& name, std::string const& defaultValue = std::string()) { 0009 char* p = std::getenv(name.c_str()); 0010 return (p ? std::string(p) : defaultValue); 0011 } 0012 } // namespace edm 0013 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |