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

OptionLiteral Class Reference

An OptionLiteral matches a literal string in the command line. More...

Class diagram for OptionLiteral:

Option

List of all members.

Public Members


Detailed Description

An OptionLiteral matches a literal string in the command line.


Member Function Documentation

OptionLiteral::OptionLiteral (String argument, bool * storage_for_is_set = 0, bool default_value = false)

Construct with a name for this option and, a location for a boolean value, and a boolean to set the location if a match is found.

virtual OptionLiteral::~OptionLiteral () [virtual]

virtual bool OptionLiteral::is_set () const [virtual]

Returns true if a successful match is made.

Independent of the value set to storage_for_is_set.

virtual bool OptionLiteral::is_set (ValueClass * value, Option * context) const [virtual]

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

Reimplemented from Option.

virtual void OptionLiteral::print (String & command_line_string, suif_vector<OptionDescription>* descriptions) [virtual]

Reimplemented from Option.


The documentation for this class was generated from the following file:
Generated at Mon Nov 22 19:43:37 1999 for NCI SUIF by doxygen  written by Dimitri van Heesch, © 1997-1999