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

#include <opentrep/bom/PORParserHelper.hpp>

Public Member Functions

 PORStringParser (const std::string &iString)
 
 ~PORStringParser ()
 
const LocationgenerateLocation ()
 

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 572 of file PORParserHelper.hpp.

Constructor & Destructor Documentation

OPENTREP::PORStringParser::PORStringParser ( const std::string &  iString)

Constructor.

Definition at line 1473 of file PORParserHelper.cpp.

OPENTREP::PORStringParser::~PORStringParser ( )

Destructor.

Definition at line 1485 of file PORParserHelper.cpp.

Member Function Documentation

const Location & OPENTREP::PORStringParser::generateLocation ( )

Parse the input string and generate the Location structures.

Definition at line 1489 of file PORParserHelper.cpp.

References OPENTREP_LOG_ERROR.

Referenced by OPENTREP::Result::retrieveLocation().


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