#include <string>
#include <boost/filesystem.hpp>
#include "OptionHandler.h"
#include <rsc/rscexports.h>
Go to the source code of this file.
|
std::vector< std::string > | rsc::config::defaultConfigurationFiles (const std::string &fileVariableName) |
|
std::pair< boost::filesystem::path, std::string > | rsc::config::resolveConfigurationFile (const std::string &spec, const boost::filesystem::path &prefix, const std::string &configFileName) |
| Return a pair of configuration file path and description derived from spec. More...
|
|
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="/", const std::string &debugVariableName=DEFAULT_DEBUG_VARIABLE_NAME, const std::vector< std::string > &configurationFiles=defaultConfigurationFiles()) |
| Pass configuration options in from configuration files derived from configFileName and environment variables with prefix environmentVariablePrefix to handler. More...
|
|