ost_CommandOptionArg

Langue: en

Autres versions - même langue

Version: 356084 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

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 ()

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.