Timetabler
|
Class for parser. More...
#include <parser.h>
Public Member Functions | |
Parser (Timetabler *) | |
Constructs the Parser object. More... | |
void | parseFields (std::string file) |
Parse the fields given in a file. More... | |
void | parseInput (std::string file) |
Parses the input given in a file. More... | |
void | addVars () |
Requests for variables to be added to the solver and stores the data. | |
bool | verify () |
Class for parser.
This class is responsible for parsing the field and inputs given by the user, and populating the corresponding data members.
Parser::Parser | ( | Timetabler * | timetabler | ) |
Constructs the Parser object.
timetabler | The time tabler |
void Parser::parseFields | ( | std::string | file | ) |
Parse the fields given in a file.
[in] | file | The file containing the fields |
void Parser::parseInput | ( | std::string | file | ) |
Parses the input given in a file.
[in] | file | The file containig the input |