Scroll to navigation

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.

Public Member Functions

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

Additional Inherited Members

Detailed Description

Class for options with an argument e.g.

--option value .


Constructor & Destructor Documentation

ost::CommandOptionArg::CommandOptionArg (const char * inOptionName, const char * inOptionLetter, const char * inDescription, bool inRequired = false, CommandOption ** ppNext = &defaultCommandOptionList)

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


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

virtual ost::CommandOptionArg::~CommandOptionArg () [virtual]


Generated automatically by Doxygen for GNU CommonC++ from the source code.
Sat Dec 28 2019 GNU CommonC++