OpenTREP Logo  0.07.1
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
std::istream & getFileStreamRef() const
Utility class to ease the access to the POR (points of reference) file.