Definition at line 276 of file timeconvert.cpp.
|
| | CommandOptionHelpTimeSystem (const char shOpt, const std::string &loOpt, const std::string &desc) |
| |
| void | printHelp (std::ostream &out, bool pretty=true) override |
| |
Public Member Functions inherited from gnsstk::CommandOptionHelp |
| | CommandOptionHelp (const CommandOption::CommandOptionFlag of, const char shOpt, const std::string &loOpt, const std::string &desc) |
| |
| virtual | ~CommandOptionHelp () |
| | Destructor. More...
|
| |
Public Member Functions inherited from gnsstk::CommandOption |
| virtual std::string | checkArguments () |
| |
| | CommandOption (const CommandOptionFlag of, const CommandOptionType ot, const char shOpt, const std::string &loOpt, const std::string &desc, const bool req=false, CommandOptionVec &optVectorList=defaultCommandOptionList) |
| |
| std::ostream & | dumpValue (std::ostream &out) const |
| | Displays this->value to the stream out. More...
|
| |
| virtual std::string | getArgString () const |
| | Returns a string with the argument format. More...
|
| |
| virtual unsigned long | getCount () const |
| |
| std::string | getDescription () const |
| | Returns a formatted string with the description of this option. More...
|
| |
| std::string | getFullOptionString () const |
| |
| virtual std::string | getOptionString () const |
| |
| unsigned long | getOrder (unsigned long idx=-1) const |
| |
| const std::vector< std::string > & | getValue () const |
| |
| void | setDescription (const std::string &desc) |
| |
| CommandOption & | setMaxCount (const unsigned long l) |
| |
| struct option | toGetoptLongOption () const |
| | Returns a struct option for use with getopt_long. More...
|
| |
| std::string | toGetoptShortOption () const |
| | Returns a string for use with getopt. More...
|
| |
| virtual | ~CommandOption () |
| | Destructor. More...
|
| |
◆ CommandOptionHelpTimeSystem()
| CommandOptionHelpTimeSystem::CommandOptionHelpTimeSystem |
( |
const char |
shOpt, |
|
|
const std::string & |
loOpt, |
|
|
const std::string & |
desc |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
| [in] | shOpt | The one character command line option. Set to 0 if unused. |
| [in] | loOpt | The long command option. Set to std::string() if unused. |
| [in] | desc | A string describing what this option does. |
Definition at line 286 of file timeconvert.cpp.
◆ printHelp()
| void CommandOptionHelpTimeSystem::printHelp |
( |
std::ostream & |
out, |
|
|
bool |
pretty = true |
|
) |
| |
|
inlineoverridevirtual |
Print the requested help information.
- Parameters
-
| [in] | out | The stream to which the help text will be printed. |
| [in] | pretty | Unused in this child class. |
Implements gnsstk::CommandOptionHelp.
Definition at line 297 of file timeconvert.cpp.
The documentation for this class was generated from the following file: