class CommandOptionWithArg

Derived class of CommandOption for options that have a value associated with them. More...

Full nameost::CommandOptionWithArg
Definition#include <cmdoptns.h>
Inheritsost::CommandOption [public ]
Inherited byCommandOptionArg, CommandOptionCollect, CommandOptionRest
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


Detailed Description

Derived class of CommandOption for options that have a value associated with them. Classes CommandOptionRest and CommandOptionArg derive from this class.

const char ** values

values

int numvalue

numvalue

 CommandOptionWithArg ( const char * in_option_name, const char * in_option_letter, const char * in_description, OptionType in_option_type, bool in_required = false, CommandOption ** pp_next = & DefaultCommandOptionList )

CommandOptionWithArg

CommandOptionWithArg contructor. Note the default values for required and pp_next.

Parameters:
in_option_namelong option name
in_option_lettershort letter name
in_descriptionshort description of the option
in_option_typethe type of this option
in_requiredtrue if option is required
pp_nextthe linked list header

 ~CommandOptionWithArg ()

~CommandOptionWithArg

[virtual]

void  FoundOption ( CommandOptionParse * cop, const char * value = 0 )

FoundOption

[virtual]

Reimplemented from CommandOption.

void  FoundOption ( CommandOptionParse * cop, const char ** value, int num )

FoundOption

[virtual]

Reimplemented from CommandOption.

bool  HasValue ()

HasValue

[virtual]

Reimplemented from CommandOption.


Generated by: dyfet on home on Thu Jan 24 11:06:29 2002, using kdoc 2.0a53.