Jpp  15.0.5
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JBinaryFileReader.hh
Go to the documentation of this file.
1 #ifndef __JIO__JBINARYFILEREADER__
2 #define __JIO__JBINARYFILEREADER__
3 
4 #include <istream>
5 
8 
9 #include "JIO/JStreamIO.hh"
11 
12 
13 /**
14  * \author mdejong
15  */
16 
17 namespace JIO {}
18 namespace JPP { using namespace JIO; }
19 
20 namespace JIO {
21 
24 
25 
26  /**
27  * Object reading from binary file.
28  *
29  * This class implements the JLANG::JAccessibleObjectIterator interface.
30  */
31  template<class T>
34  protected JStreamReader,
35  public JReaderObjectIterator<T>,
37  {
38  public:
39  /**
40  * Default constructor.
41  */
44  JStreamReader (static_cast<std::istream&> (*this)),
45  JReaderObjectIterator<T>(static_cast<JStreamReader&>(*this))
46  {}
47  };
48 }
49 
50 #endif
Object reading from binary file.
JBinaryFileReader()
Default constructor.
Binary input based on std::istream.
Definition: JStreamIO.hh:24
do set_variable OUTPUT_DIRECTORY $WORKDIR T
Interface for object iteration with named access.
Accessible binary input stream.
JReader object iterator.