OpenTREP Logo  0.07.1
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 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 633 of file PORParserHelper.hpp.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 1626 of file PORParserHelper.cpp.

OPENTREP::PORStringParser::~PORStringParser ( )

Destructor.

Definition at line 1638 of file PORParserHelper.cpp.

Member Function Documentation

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

Parse the input string and generate the Location structures.

Definition at line 1642 of file PORParserHelper.cpp.

References OPENTREP_LOG_ERROR.

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


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