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

OptionPrefixString Class Reference

#include <command_line_parsing.h>

Inheritance diagram for OptionPrefixString:

Option List of all members.

Public Methods

 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 StringValueClassget_string ( int number = 0 ) const
virtual StringValueClassget_string ( ValueClass* value, Option* context ) const
virtual bool parse ( TokenStream* tokens, bool &changed, ValueClass* parent = 0 )
 Parse a token for an integer. More...


Detailed Description


Constructor & Destructor 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

OptionPrefixString::~OptionPrefixString () [virtual]


Member Function Documentation

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

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

bool OptionPrefixString::parse ( TokenStream * tokens,
bool & changed,
ValueClass * parent = 0) [inline, 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 Mon Jul 31 13:44:14 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000