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


Definition at line 69 of file CommandOptionWithTimeArg.hpp.
Public Member Functions | |
| CommandOptionWithTimeArg (const char shOpt, const std::string &loOpt, const std::string &timeFormat, const std::string &desc, const bool required=false) | |
| Constructor. | |
| virtual | ~CommandOptionWithTimeArg () |
| Destructor. | |
| virtual std::string | getArgString () const |
| Returns a string with the argument format (just "TIME", not scanning format). | |
| virtual std::string | checkArguments () |
| Validate arguments passed using this option (and store them). | |
| std::vector< DayTime > | getTime () const |
| Return the times scanned in from the command line. | |
Protected Member Functions | |
| CommandOptionWithTimeArg () | |
| Default Constructor. | |
| virtual std::string | getTimeSpec (std::vector< std::string >::size_type index) const |
| Return the appropriate time scanning format for value[index]. | |
Protected Attributes | |
| std::vector< DayTime > | times |
| Collection of times scanned in from the command line. | |
| std::string | timeSpec |
| Format used to scan times in. | |
|
||||||||||||||||||||||||
|
Constructor.
Definition at line 82 of file CommandOptionWithTimeArg.hpp. |
|
|
Destructor.
Definition at line 92 of file CommandOptionWithTimeArg.hpp. |
|
|
Default Constructor.
Definition at line 112 of file CommandOptionWithTimeArg.hpp. |
|
|
Validate arguments passed using this option (and store them).
Reimplemented from CommandOption. Definition at line 58 of file CommandOptionWithTimeArg.cpp. References CommandOptionWithTimeArg::getTimeSpec(), DayTime::setToString(), and CommandOptionWithTimeArg::times. |
|
|
Returns a string with the argument format (just "TIME", not scanning format).
Reimplemented from CommandOption. Definition at line 96 of file CommandOptionWithTimeArg.hpp. |
|
|
Return the times scanned in from the command line.
Definition at line 103 of file CommandOptionWithTimeArg.hpp. |
|
|
Return the appropriate time scanning format for value[index].
Reimplemented in CommandOptionWithSimpleTimeArg. Definition at line 115 of file CommandOptionWithTimeArg.hpp. Referenced by CommandOptionWithTimeArg::checkArguments(). |
|
|
Collection of times scanned in from the command line.
Definition at line 107 of file CommandOptionWithTimeArg.hpp. Referenced by CommandOptionWithTimeArg::checkArguments(). |
|
|
Format used to scan times in.
Definition at line 109 of file CommandOptionWithTimeArg.hpp. |
1.3.9.1