Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

CommandOptionArg Class Reference

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

#include <cmdoptns.h>

Inheritance diagram for CommandOptionArg:

CommandOptionWithArg 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

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 CommandOptionArg::~CommandOptionArg  )  [virtual]
 


The documentation for this class was generated from the following file:
Generated on Tue Jan 18 14:32:37 2005 for GNU CommonC++ by  doxygen 1.3.9.1