RSC  0.17.1
Environment.h File Reference
#include <string>
#include <vector>
#include <boost/filesystem/path.hpp>
#include <rsc/logging/Logger.h>
#include "ConfigSource.h"
#include "rsc/config.h"
#include "rsc/rscexports.h"
Include dependency graph for Environment.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  rsc::config::EnvironmentVariableSource
 Objects of this class analyze the environment of the current process, finding environment variables whose name starts with a specified string. More...
 
class  rsc::config::EnvironmentVariableSource::Match
 

Namespaces

 rsc
 
 rsc::config
 

Functions

path rsc::config::systemConfigDirectory ()
 Return the directory in which system-wide configuration files are located. More...
 
RSC_EXPORT boost::filesystem::path rsc::config::prefixConfigDirectory (const boost::filesystem::path &prefix=RSC_INSTALL_PREFIX)
 Return the directory in which prefix-wide configuration files are located. More...
 
path rsc::config::userHomeDirectory ()
 Return the home directory of the user associated with the current process. More...
 
path rsc::config::userConfigDirectory ()
 Return the canonical directory for configuration files of the user associated with the current process. More...
 
boost::shared_ptr< std::string > rsc::config::getEnvironmentVariable (const std::string &name)
 Return the value of the environment value name or an empty pointer. More...