Eclipse SUMO - Simulation of Urban MObility
|
Interface definition for a class which retrieves lines from a LineHandler. More...
#include <LineHandler.h>
Public Member Functions | |
LineHandler () | |
constructor | |
virtual bool | report (const std::string &result)=0 |
Method that obatins a line read by the LineReader. | |
virtual | ~LineHandler () |
(virtual) destructor | |
Interface definition for a class which retrieves lines from a LineHandler.
The LineHandler is an interface for a class which retrieves information from a file linewise. The lines are suppoted to this class using the "report"-method. The LineHandler is used together with the LineReader which reads the lines from a file.
Definition at line 42 of file LineHandler.h.
|
inline |
constructor
Definition at line 45 of file LineHandler.h.
|
inlinevirtual |
(virtual) destructor
Definition at line 49 of file LineHandler.h.
|
pure virtual |
Method that obatins a line read by the LineReader.
Real interface method, used by a LineReader, which retrieves lines from a file
[in] | result | The read line |
Implemented in NIImporter_DlrNavteq::NodesHandler, NIImporter_DlrNavteq::EdgesHandler, NIImporter_DlrNavteq::TrafficlightsHandler, NIImporter_DlrNavteq::NamesHandler, NIImporter_DlrNavteq::TimeRestrictionsHandler, NIImporter_DlrNavteq::ProhibitionHandler, and NIImporter_DlrNavteq::ConnectedLanesHandler.
Referenced by LineReader::readLine().