Google

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CommandOptionNoArg Class Reference

CommandOption type for flags. More...

#include <cmdoptns.h>

Inheritance diagram for CommandOptionNoArg:

CommandOption List of all members.

Public Methods

 CommandOptionNoArg ( const char * in_option_name, const char * in_option_letter, const char * in_description, bool in_required = false, CommandOption ** pp_next = & DefaultCommandOptionList )
 CommandOptionArg contructor. More...

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


Public Attributes

int numset
 The number of times this value has been set.


Detailed Description

CommandOption type for flags.


Constructor & Destructor Documentation

CommandOptionNoArg::CommandOptionNoArg ( const char * in_option_name,
const char * in_option_letter,
const char * in_description,
bool in_required = false,
CommandOption ** pp_next = & DefaultCommandOptionList )
 

CommandOptionArg contructor.

This sets the option_type for this object to NoArg.

Parameters:
in_option_name   long option name
in_option_letter   short letter name
in_description   short description of the option
in_required   true if option is required
pp_next   the linked list header


Member Function Documentation

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

CommandOptionNoArg::FoundOption() will evpect a nil "value" passed in.

Reimplemented from CommandOption.


Member Data Documentation

int CommandOptionNoArg::numset
 

The number of times this value has been set.


The documentation for this class was generated from the following file:
Generated at Fri Mar 23 10:47:55 2001 for CommonC++ by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000