LineHandler Class Reference

#include <LineHandler.h>

Inheritance diagram for LineHandler:

NIImporter_DlrNavteq::EdgesHandler NIImporter_DlrNavteq::NodesHandler NIImporter_DlrNavteq::TrafficlightsHandler

Detailed Description

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.

See also:
LineReader

Definition at line 50 of file LineHandler.h.


Public Member Functions

 LineHandler () throw ()
 constructor
virtual bool report (const std::string &result)=0 throw (ProcessError)
 Method that obatins a line read by the LineReader.
virtual ~LineHandler () throw ()
 (virtual) destructor

Constructor & Destructor Documentation

LineHandler::LineHandler (  )  throw () [inline]

constructor

Definition at line 53 of file LineHandler.h.

00053 { }

virtual LineHandler::~LineHandler (  )  throw () [inline, virtual]

(virtual) destructor

Definition at line 57 of file LineHandler.h.

00057 { }


Member Function Documentation

virtual bool LineHandler::report ( const std::string &  result  )  throw (ProcessError) [pure virtual]

Method that obatins a line read by the LineReader.

Real interface method, used by a LineReader, which retrieves lines from a file

Parameters:
[in] result The read line
Returns:
Whether the caller shall continue with reading

Implemented in NIImporter_DlrNavteq::NodesHandler, NIImporter_DlrNavteq::EdgesHandler, and NIImporter_DlrNavteq::TrafficlightsHandler.


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

Generated on Wed May 5 00:06:46 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6