| Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <qpid/Options.h>
Inherits qpid::Options.
Public Member Functions | |
| CommonOptions (const std::string &name=std::string(), const std::string &configfile=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. | |
| boost::program_options::options_description_easy_init | addOptions () |
Public Attributes | |
| bool | help |
| bool | version |
| std::string | config |
Definition at line 252 of file Options.h.
| qpid::CommonOptions::CommonOptions | ( | const std::string & | name = std::string(), |
|
| const std::string & | configfile = std::string() | |||
| ) |
| boost::program_options::options_description_easy_init qpid::Options::addOptions | ( | ) | [inline, inherited] |
| 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::config |
1.4.7