0.07.4
C++ Open Travel Request Parsing Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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
10
#include <
opentrep/OPENTREP_Types.hpp
>
11
12
namespace
OPENTREP {
13
21
class
PORFileHelper
{
22
public
:
28
std::istream&
getFileStreamRef
()
const
;
29
30
public
:
36
PORFileHelper
(
const
PORFilePath_T
&);
37
41
PORFileHelper
(
const
PORFileHelper
&);
42
46
~PORFileHelper
();
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_Types.hpp
OPENTREP::PORFileHelper::getFileStreamRef
std::istream & getFileStreamRef() const
Definition:
PORFileHelper.cpp:44
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::PORFilePath_T
Definition:
OPENTREP_Types.hpp:37
Generated on Sun Nov 24 2019 14:44:25 for OpenTREP by
1.8.5