OpenTREP Logo  0.6.0
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OPENTREP::PORFileParser Class Reference

#include <opentrep/bom/PORParserHelper.hpp>

Public Member Functions

 PORFileParser (const PORFilePath_T &iFilename)
 
void generateLocations ()
 

Detailed Description

Class wrapping the initialisation and entry point of the parser.

The seemingly redundancy is used to force the instantiation of the actual parser, which is a templatised Boost Spirit grammar. Hence, the actual parser is instantiated within that class object code.

Definition at line 621 of file PORParserHelper.hpp.

Constructor & Destructor Documentation

OPENTREP::PORFileParser::PORFileParser ( const PORFilePath_T iFilename)

Constructor.

Definition at line 1563 of file PORParserHelper.cpp.

Member Function Documentation

void OPENTREP::PORFileParser::generateLocations ( )

Parse the input file and generate the Location structures.

Definition at line 1573 of file PORParserHelper.cpp.

References OPENTREP_LOG_DEBUG, and OPENTREP_LOG_ERROR.

Referenced by OPENTREP::PORParser::PORGeneration().


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