Standard options for configuration.
More...
#include <qpid/Options.h>
|
| CommonOptions (const std::string &name=std::string(), const std::string &configfile=std::string(), const std::string &clientConfigFile=std::string()) |
|
void | parse (int argc, char const *const *argv, const std::string &configfile=std::string(), bool allowUnknown=false) |
| Parses options from argc/argv, environment variables and config file.
|
|
bool | findArg (int argc, char const *const *argv, const std::string &theArg) |
| Tests for presence of argc/argv switch.
|
|
boost::program_options::options_description_easy_init | addOptions () |
|
Standard options for configuration.
Definition at line 168 of file Options.h.
qpid::CommonOptions::CommonOptions |
( |
const std::string & |
name = std::string() , |
|
|
const std::string & |
configfile = std::string() , |
|
|
const std::string & |
clientConfigFile = std::string() |
|
) |
| |
boost::program_options::options_description_easy_init qpid::Options::addOptions |
( |
| ) |
|
|
inlineinherited |
bool qpid::Options::findArg |
( |
int |
argc, |
|
|
char const *const * |
argv, |
|
|
const std::string & |
theArg |
|
) |
| |
|
inherited |
Tests for presence of argc/argv switch.
void qpid::Options::parse |
( |
int |
argc, |
|
|
char const *const * |
argv, |
|
|
const std::string & |
configfile = std::string() , |
|
|
bool |
allowUnknown = false |
|
) |
| |
|
inherited |
Parses options from argc/argv, environment variables and config file.
Note the filename argument can reference an options variable that is updated by argc/argv or environment variable parsing.
std::string qpid::CommonOptions::clientConfig |
std::string qpid::CommonOptions::config |
bool qpid::CommonOptions::help |
bool qpid::CommonOptions::version |
The documentation for this struct was generated from the following file: