OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
GetEnvironmentVariable.cpp File Reference

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...
 

Detailed Description

Implementation.

Date
2015
Author
Sensics, Inc. http://sensics.com/osvr

Definition in file GetEnvironmentVariable.cpp.