OpenTREP Logo  0.07.4
C++ Open Travel Request Parsing Library
PORFileHelper.hpp
Go to the documentation of this file.
1 #ifndef __OPENTREP_BOM_PORFILEHELPER_HPP
2 #define __OPENTREP_BOM_PORFILEHELPER_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <iosfwd>
9 // OpenTrep
11 
12 namespace OPENTREP {
13 
21  class PORFileHelper {
22  public:
28  std::istream& getFileStreamRef() const;
29 
30  public:
37 
42 
47 
48  private:
49  // ///////////////// Helper methods ////////////////
55  void init (const PORFilePath_T&);
56 
57 
58  private:
62  PORFileHelper();
63 
64  private:
65  // /////////////// Attributes ////////////////
71  std::istream* _iStreamPtr;
72  };
73 
74 }
75 #endif // __OPENTREP_BOM_PORFILEHELPER_HPP
OPENTREP::PORFileHelper::getFileStreamRef
std::istream & getFileStreamRef() const
Definition: PORFileHelper.cpp:44
OPENTREP::PORFilePath_T
Definition: OPENTREP_Types.hpp:37
OPENTREP
Definition: BasChronometer.cpp:10
OPENTREP::PORFileHelper::~PORFileHelper
~PORFileHelper()
Definition: PORFileHelper.cpp:39
OPENTREP::PORFileHelper
Utility class to ease the access to the POR (points of reference) file.
Definition: PORFileHelper.hpp:21
OPENTREP_Types.hpp