The description of one single command-line option.
More...
#include <fcommandline.h>
|
| Description (const std::string &name, const std::string &help, const std::string &valueType) |
| Construct a Description.
|
|
|
std::string | mHelp |
| The help string for this option.
|
|
std::string | mType |
| The type of this option (kBool, kString).
|
|
|
static const std::string | kBool = "bool" |
|
static const std::string | kString = "string" |
|
The description of one single command-line option.
Normally you rarely use a Description directly.
In most cases you will use the Descriptions::addOptions (const std::string&) method to create and add descriptions.
Description |
( |
const std::string & |
name, |
|
|
const std::string & |
help, |
|
|
const std::string & |
valueType |
|
) |
| |
The help string for this option.
The type of this option (kBool, kString).
const std::string kBool = "bool" |
|
static |
const std::string kString = "string" |
|
static |