Scroll to navigation

ost::CommandOptionArg(3) Library Functions Manual ost::CommandOptionArg(3)

NAME

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

SYNOPSIS

#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 .

Examples
cmdlineopt.cpp.

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.

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

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

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.
Sun Dec 27 2020 GNU CommonC++