DOKK / manpages / debian 11 / libcommoncpp2-doc / ost_CommandOptionArg.3.en
ost::CommandOptionArg(3) Library Functions Manual ost::CommandOptionArg(3)

ost::CommandOptionArg - Class for options with an argument e.g.

#include <cmdoptns.h>

Inherits ost::CommandOptionWithArg.


CommandOptionArg (const char *inOptionName, const char *inOptionLetter, const char *inDescription, bool inRequired=false, CommandOption **ppNext=&defaultCommandOptionList)
CommandOptionArg contructor. virtual ~CommandOptionArg ()

Class for options with an argument e.g.

--option value .

Examples
cmdlineopt.cpp.

CommandOptionArg contructor. This sets the optionType for this object to HasArg.

Parameters

inOptionName long option name
inOptionLetter short letter name
inDescription short description of the option
inRequired true if option is required
ppNext the linked list header

Generated automatically by Doxygen for GNU CommonC++ from the source code.

Sun Dec 27 2020 GNU CommonC++