Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

OptionInt Class Reference

An OptionInt matches an integer in the command line. More...

Class diagram for OptionInt:

Option

List of all members.


Public Members

OptionInt ( String arguments = String("int"), int* storage_for_integer = 0 )
Construct with a name for this option and a location to hold an int.

virtual ~OptionInt ()
virtual IntValueClass* get_int ( int number = 0 )
virtual IntValueClass* get_int ( ValueClass* value, Option* context ) const
virtual bool parse ( TokenStream* tokens, bool &changed, ValueClass* parent = 0 )

Detailed Description

An OptionInt matches an integer in the command line.


Member Function Documentation

OptionInt::OptionInt (String arguments = String("int"), int * storage_for_integer = 0)

Construct with a name for this option and a location to hold an int.

virtual OptionInt::~OptionInt () [virtual]

virtual IntValueClass * OptionInt::get_int (int number = 0) [virtual]

virtual IntValueClass * OptionInt::get_int (ValueClass * value, Option * context) const [virtual]

virtual bool OptionInt::parse (TokenStream * tokens, bool & changed, ValueClass * parent = 0) [virtual]

Reimplemented from Option.


The documentation for this class was generated from the following files:
Generated at Wed Apr 25 17:35:01 2001 for NCI SUIF by doxygen  written by Dimitri van Heesch, © 1997-1999