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. |
gridripper::util::ArgsParser::ArgsParser | ( | String | args, | |
ParameterPreprocessor | pp | |||
) | [inline] |
Creates an argument list parser.
args | the string containing the arguments | |
pp | a parameter preprocessor or null |
boolean gridripper::util::ArgsParser::next | ( | ) | [inline] |
Parses the next assignment.
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.
String gridripper::util::ArgsParser::stringValue | ( | ) | [inline] |
Gets the value as a string.
int gridripper::util::ArgsParser::intValue | ( | ) | [inline] |
Gets the value as an integer.
double gridripper::util::ArgsParser::doubleValue | ( | ) | [inline] |
Gets the value as a real number.