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

OptionPrefixString Class Reference

Class diagram for OptionPrefixString:

Option

List of all members.


Public Members

OptionPrefixString ( String prefix, String argname, String description, String* storage_for_string = 0 )
Construct with the name of this option and a memory location to hold a string. More...

virtual ~OptionPrefixString ()
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

OptionPrefixString::OptionPrefixString (String prefix, String argname, String description, 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 OptionPrefixString::~OptionPrefixString () [virtual]

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

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

virtual bool OptionPrefixString::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:01 2001 for NCI SUIF by doxygen  written by Dimitri van Heesch, © 1997-1999