Implementation. More...
#include <osvr/Util/GetEnvironmentVariable.h>
#include <osvr/Util/WindowsVariantC.h>
#include <cstdlib>
Go to the source code of this file.
Namespaces | |
osvr | |
< | |
osvr::util | |
The Util library: Functionality not necessarily coupled to any particular core library, serving more as a common base layer behind all systems. | |
Functions | |
boost::optional< std::string > | osvr::util::getEnvironmentVariable (std::string const &var) |
Gets an environment variable's value. On systems that don't distinguish between having a variable defined and having it non-empty (like Windows), empty will imply not defined and thus an empty boost::optional return value. More... | |