Timetabler
Public Member Functions | List of all members
Parser Class Reference

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 ()
 

Detailed Description

Class for parser.

This class is responsible for parsing the field and inputs given by the user, and populating the corresponding data members.

Constructor & Destructor Documentation

Parser::Parser ( Timetabler timetabler)

Constructs the Parser object.

Parameters
timetablerThe time tabler

Member Function Documentation

void Parser::parseFields ( std::string  file)

Parse the fields given in a file.

Parameters
[in]fileThe file containing the fields
void Parser::parseInput ( std::string  file)

Parses the input given in a file.

Parameters
[in]fileThe file containig the input

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