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


It is the option that takes the rest of the command line options that are not part of any other options. e.g. "strace -ofile command arg1 arg2". The "command arg1 arg2" part is placed in objects of this class.
Definition at line 404 of file CommandOption.hpp.
Public Member Functions | |
| CommandOptionRest (const std::string &desc, const bool required=false) | |
| CommandOptionRest contructor. | |
| virtual | ~CommandOptionRest () |
| 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. | |
Protected Member Functions | |
| CommandOptionRest () | |
| Default Constructor. | |
|
||||||||||||
|
CommandOptionRest contructor. This sets the CommandOptionType for this object to trailingType.
Definition at line 414 of file CommandOption.hpp. |
|
|
Destructor.
Definition at line 420 of file CommandOption.hpp. |
|
|
Default Constructor.
Definition at line 426 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. Definition at line 181 of file CommandOption.cpp. |
1.3.9.1