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

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 *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. 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 *   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

virtual 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 Fri Dec 21 08:31:31 2001 for CommonC++ by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001