#include <CommandOption.hpp>
Inheritance diagram for CommandOptionOneOf:


Definition at line 438 of file CommandOption.hpp.
Public Member Functions | |
| CommandOptionOneOf () | |
| CommandOptionOneOf contructor. | |
| virtual | ~CommandOptionOneOf () |
| Destructor. | |
| virtual std::string | checkArguments () |
| If you specified a format for the arguments (for example, digit or string), this function checks them to see if they match. | |
| void | addOption (CommandOption *opt) |
| Add an option to the list of mutually exclusive options. | |
| CommandOption * | whichOne () const |
| the command option that was used (NULL if none). | |
Protected Attributes | |
| CommandOptionVec | optionVec |
|
|
CommandOptionOneOf contructor. This sets the CommandOptionType for this object to metaType. Definition at line 445 of file CommandOption.hpp. |
|
|
Destructor.
Definition at line 450 of file CommandOption.hpp. |
|
|
Add an option to the list of mutually exclusive options.
Definition at line 455 of file CommandOption.hpp. |
|
|
If you specified a format for the arguments (for example, digit or string), this function checks them to see if they match. If they don't, an error string is returned. If they do, an empty string is returned.
Reimplemented from CommandOption. Reimplemented in CommandOptionAllOf, CommandOptionMutex, and CommandOptionGroupOr. Definition at line 269 of file CommandOption.cpp. References CommandOption::getOptionString(), and CommandOptionOneOf::optionVec. |
|
|
the command option that was used (NULL if none).
Definition at line 291 of file CommandOption.cpp. References CommandOptionOneOf::optionVec. |
|
|
Definition at line 462 of file CommandOption.hpp. Referenced by CommandOptionOneOf::checkArguments(), and CommandOptionOneOf::whichOne(). |
1.3.9.1