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

ost::CommandOptionNoArg Class Reference

CommandOption type for flags. More...

#include <cmdoptns.h>

Inheritance diagram for ost::CommandOptionNoArg::

ost::CommandOption List of all members.

Public Methods

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

virtual void foundOption (CommandOptionParse *cop, const char *value=0)
 CommandOptionNoArg::foundOption will evpect a nil "value" passed in. More...


Public Attributes

int numSet
 The number of times this value has been set. More...


Detailed Description

CommandOption type for flags.


Constructor & Destructor Documentation

ost::CommandOptionNoArg::CommandOptionNoArg ( 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 NoArg.

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


Member Function Documentation

void ost::CommandOptionNoArg::foundOption ( CommandOptionParse * cop,
const char * value = 0 ) [virtual]
 

CommandOptionNoArg::foundOption will evpect a nil "value" passed in.

Reimplemented from ost::CommandOption.


Member Data Documentation

int ost::CommandOptionNoArg::numSet
 

The number of times this value has been set.


The documentation for this class was generated from the following file:
Generated at Sat May 12 18:59:40 2007 for GNU CommonC++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001