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

Utility class to ease the access to the POR (points of reference) file. More...

#include <opentrep/bom/PORFileHelper.hpp>

Public Member Functions

std::istream & getFileStreamRef () const
 
 PORFileHelper (const PORFilePath_T &)
 
 PORFileHelper (const PORFileHelper &)
 
 ~PORFileHelper ()
 

Detailed Description

Utility class to ease the access to the POR (points of reference) file.

See also
The POR file is optd_por_public.csv, located in the http://github.com/opentraveldata/opentraveldata directory.

Definition at line 21 of file PORFileHelper.hpp.

Constructor & Destructor Documentation

◆ PORFileHelper() [1/2]

OPENTREP::PORFileHelper::PORFileHelper ( const PORFilePath_T & iPORFilePath)

Constructor.

Parameters
constPORFilePath_T&

Definition at line 33 of file PORFileHelper.cpp.

References PORFileHelper().

Referenced by PORFileHelper(), and PORFileHelper().

◆ PORFileHelper() [2/2]

OPENTREP::PORFileHelper::PORFileHelper ( const PORFileHelper & iPORFileHelper)

Copy constructor.

Definition at line 28 of file PORFileHelper.cpp.

References PORFileHelper().

◆ ~PORFileHelper()

OPENTREP::PORFileHelper::~PORFileHelper ( )

Destructor.

Definition at line 39 of file PORFileHelper.cpp.

Member Function Documentation

◆ getFileStreamRef()

std::istream & OPENTREP::PORFileHelper::getFileStreamRef ( ) const

Get the underlying input file stream.

An "uncompressor" filter (gzip, bzip2) may be used, if needed.

Definition at line 44 of file PORFileHelper.cpp.


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