RSC  0.12.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Configuration.cpp File Reference
#include "Configuration.h"
#include <stdexcept>
#include <boost/format.hpp>
#include <boost/filesystem/fstream.hpp>
#include "../logging/Logger.h"
#include "../logging/LoggerFactory.h"
#include "Environment.h"
#include "ConfigFileSource.h"
#include "CommandLinePropertySource.h"
Include dependency graph for Configuration.cpp:

Go to the source code of this file.

Namespaces

 rsc
 
 rsc::config
 

Functions

LoggerPtr rsc::config::getLogger ()
 
void rsc::config::configure (OptionHandler &handler, const std::string &configFileName, const std::string &environmentVariablePrefix, int argc=0, const char **argv=0, bool stripEnvironmentVariablePrefix=true, const boost::filesystem::path &prefix="/")
 Pass configuration options in from configuration files derived from configFileName and environment variables with prefix environmentVariablePrefix to handler. More...