OpenTREP Logo  0.08.02
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
OPENTREP::PORStringParser Class Reference

#include <opentrep/bom/PORParserHelper.hpp>

Public Member Functions

 PORStringParser (const std::string &iString)
 
 ~PORStringParser ()
 
const Location & generateLocation ()
 

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

Constructor & Destructor Documentation

◆ PORStringParser()

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

Constructor.

Definition at line 1716 of file PORParserHelper.cpp.

◆ ~PORStringParser()

OPENTREP::PORStringParser::~PORStringParser ( )

Destructor.

Definition at line 1728 of file PORParserHelper.cpp.

Member Function Documentation

◆ generateLocation()

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

Parse the input string and generate the Location structures.

Definition at line 1732 of file PORParserHelper.cpp.

References OPENTREP_LOG_ERROR.

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


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