Jpp
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
software
JIO
JBinaryFileReader.hh
Go to the documentation of this file.
1
#ifndef __JIO__JBINARYFILEREADER__
2
#define __JIO__JBINARYFILEREADER__
3
4
#include <istream>
5
6
#include "
JLang/JAccessibleBinaryStream.hh
"
7
#include "
JLang/JObjectIterator.hh
"
8
9
#include "
JIO/JStreamIO.hh
"
10
#include "
JIO/JReaderObjectIterator.hh
"
11
12
13
/**
14
* \author mdejong
15
*/
16
17
namespace
JIO {}
18
namespace
JPP {
using namespace
JIO; }
19
20
namespace
JIO {
21
22
using
JLANG::JAccessibleBinaryInputStream
;
23
using
JLANG::JAccessibleObjectIterator
;
24
25
26
/**
27
* Object reading from binary file.
28
*
29
* This class implements the JLANG::JAccessibleObjectIterator interface.
30
*/
31
template
<
class
T>
32
class
JBinaryFileReader
:
33
public
JAccessibleBinaryInputStream
,
34
protected
JStreamReader
,
35
public
JReaderObjectIterator
<T>,
36
public
JAccessibleObjectIterator
<T>
37
{
38
public
:
39
/**
40
* Default constructor.
41
*/
42
JBinaryFileReader
() :
43
JAccessibleBinaryInputStream
(),
44
JStreamReader
(static_cast<std::istream&> (*this)),
45
JReaderObjectIterator
<T>(static_cast<
JStreamReader
&>(*this))
46
{}
47
};
48
}
49
50
#endif
JIO::JBinaryFileReader
Object reading from binary file.
Definition:
JBinaryFileReader.hh:32
JIO::JBinaryFileReader::JBinaryFileReader
JBinaryFileReader()
Default constructor.
Definition:
JBinaryFileReader.hh:42
JReaderObjectIterator.hh
JStreamIO.hh
JIO::JStreamReader
Binary input based on std::istream.
Definition:
JStreamIO.hh:24
JAccessibleBinaryStream.hh
JLANG::JAccessibleObjectIterator
Interface for object iteration with named access.
Definition:
JObjectIterator.hh:372
JObjectIterator.hh
JLANG::JAccessibleBinaryInputStream
Accessible binary input stream.
Definition:
JAccessibleBinaryStream.hh:25
JIO::JReaderObjectIterator
JReader object iterator.
Definition:
JReaderObjectIterator.hh:26
Generated by
1.8.5