#include <CommandOptionWithPositionArg.hpp>
Inheritance diagram for CommandOptionWithPositionArg:


Definition at line 70 of file CommandOptionWithPositionArg.hpp.
Public Member Functions | |
| CommandOptionWithPositionArg (const char shOpt, const std::string &loOpt, const std::string &posFormat, const std::string &desc, const bool required=false) | |
| Constructor. | |
| virtual | ~CommandOptionWithPositionArg () |
| Destructor. | |
| virtual std::string | getArgString () const |
| Returns a string with the argument format (just "POSITION", not scanning format). | |
| virtual std::string | checkArguments () |
| Validate arguments passed using this option (and store them). | |
| std::vector< Position > | getPosition () const |
| Return the positions scanned in from the command line. | |
Protected Member Functions | |
| CommandOptionWithPositionArg () | |
| Default Constructor. | |
| virtual std::string | getPositionSpec (std::vector< std::string >::size_type index) const |
| Return the appropriate position scanning format for value[index]. | |
Protected Attributes | |
| std::vector< Position > | positions |
| Collection of positions scanned in from the command line. | |
| std::string | posSpec |
| Format used to scan positions in. | |
|
||||||||||||||||||||||||
|
Constructor.
Definition at line 83 of file CommandOptionWithPositionArg.hpp. |
|
|
Destructor.
Definition at line 93 of file CommandOptionWithPositionArg.hpp. |
|
|
Default Constructor.
Definition at line 117 of file CommandOptionWithPositionArg.hpp. |
|
|
Validate arguments passed using this option (and store them).
Reimplemented from CommandOption. Definition at line 58 of file CommandOptionWithPositionArg.cpp. References CommandOptionWithPositionArg::getPositionSpec(), CommandOptionWithPositionArg::positions, and Position::setToString(). |
|
|
Returns a string with the argument format (just "POSITION", not scanning format).
Reimplemented from CommandOption. Definition at line 99 of file CommandOptionWithPositionArg.hpp. |
|
|
Return the positions scanned in from the command line.
Definition at line 106 of file CommandOptionWithPositionArg.hpp. |
|
|
Return the appropriate position scanning format for value[index].
Definition at line 122 of file CommandOptionWithPositionArg.hpp. Referenced by CommandOptionWithPositionArg::checkArguments(). |
|
|
Collection of positions scanned in from the command line.
Definition at line 111 of file CommandOptionWithPositionArg.hpp. Referenced by CommandOptionWithPositionArg::checkArguments(). |
|
|
Format used to scan positions in.
Definition at line 114 of file CommandOptionWithPositionArg.hpp. |
1.3.9.1