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

OptionString Class Reference

Class diagram for OptionString:

Option

List of all members.


Public Members

OptionString ( String argument = String( "string" ), String* storage_for_string = 0 )
Construct with the name of this option and a memory location to hold a string. More...

virtual ~OptionString ()
virtual const StringValueClass* get_string ( int number = 0 ) const
virtual StringValueClass* get_string ( ValueClass* value, Option* context ) const
virtual bool parse ( TokenStream* tokens, bool &changed, ValueClass* parent = 0)
Parse a token for an integer. More...


Member Function Documentation

OptionString::OptionString (String argument = String( "string" ), String * storage_for_string = 0)

Construct with the name of this option and a memory location to hold a string.

It will match any string token in the command line when parse is called

virtual OptionString::~OptionString () [virtual]

virtual const StringValueClass * OptionString::get_string (int number = 0) const [virtual]

virtual StringValueClass * OptionString::get_string (ValueClass * value, Option * context) const [virtual]

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

Parse a token for an integer.

Returns true if successful, false otherwise.

Reimplemented from Option.


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