GNU CommonC++
Public Member Functions
ost::CommandOptionArg Class Reference

Class for options with an argument e.g. More...

#include <cmdoptns.h>

Inheritance diagram for ost::CommandOptionArg:
ost::CommandOptionWithArg ost::CommandOption

List of all members.

Public Member Functions

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

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:
inOptionNamelong option name
inOptionLettershort letter name
inDescriptionshort description of the option
inRequiredtrue if option is required
ppNextthe linked list header

The documentation for this class was generated from the following file: