#include <ArgsParser.h>
Public Member Functions | |
| ArgsParser (const string &args, const ParameterPreprocessor *pp) | |
| Creates an argument list parser. | |
| bool | next () |
| Parses the next assignment. | |
| const string & | name () |
| Gets the left side of the assignment. | |
| string | stringValue () |
| Gets the value as a string. | |
| int | intValue () throw (IllegalArgumentException&) |
| Gets the value as an integer. | |
| GReal_t | realValue () throw (IllegalArgumentException&) |
| Gets the value as a real number. | |
| gridripper::util::ArgsParser::ArgsParser | ( | const string & | args, | |
| const ParameterPreprocessor * | pp | |||
| ) |
Creates an argument list parser.
| args | the string containing the arguments | |
| pp | a parameter preprocessor or NULL |
| bool gridripper::util::ArgsParser::next | ( | ) |
Parses the next assignment.
| const 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 | ( | ) | throw (IllegalArgumentException&) |
Gets the value as an integer.
| GReal_t gridripper::util::ArgsParser::realValue | ( | ) | throw (IllegalArgumentException&) |
Gets the value as a real number.
1.5.6