gridripper::util::ArgsParser Class Reference

Argument list parsing. More...

List of all members.

Public Member Functions

 ArgsParser (String args, ParameterPreprocessor pp)
 Creates an argument list parser.
boolean next ()
 Parses the next assignment.
String name ()
 Gets the left side of the assignment.
String stringValue ()
 Gets the value as a string.
int intValue ()
 Gets the value as an integer.
double doubleValue ()
 Gets the value as a real number.


Detailed Description

Argument list parsing.

Version:
0.5, 08/17/2008
Since:
GridRipper 0.5, 05/30/2008
Author:
Peter Csizmadia

Constructor & Destructor Documentation

gridripper::util::ArgsParser::ArgsParser ( String  args,
ParameterPreprocessor  pp 
) [inline]

Creates an argument list parser.

Parameters:
args the string containing the arguments
pp a parameter preprocessor or null


Member Function Documentation

boolean gridripper::util::ArgsParser::next (  )  [inline]

Parses the next assignment.

Returns:
true if it parsed the next assignment successfully, false if there is no more assignments

String gridripper::util::ArgsParser::name (  )  [inline]

Gets the left side of the assignment.

Returns:
the name part of the definition

String gridripper::util::ArgsParser::stringValue (  )  [inline]

Gets the value as a string.

Returns:
the string

int gridripper::util::ArgsParser::intValue (  )  [inline]

Gets the value as an integer.

Returns:
the integer

double gridripper::util::ArgsParser::doubleValue (  )  [inline]

Gets the value as a real number.

Returns:
the number


The documentation for this class was generated from the following file:

Generated on Wed Jun 17 18:47:30 2009 for GridRipper by  doxygen 1.5.6