Jpp
JBinaryFileWriter.hh
Go to the documentation of this file.
1 #ifndef __JIO__JBINARYFILEWRITER__
2 #define __JIO__JBINARYFILEWRITER__
3 
4 #include <ostream>
5 
7 #include "JLang/JAccessibleObjectOutput.hh"
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(s) writing to binary file.
28  *
29  * This class implements the JLANG::JAccessibleObjectOutput interface.
30  */
31  template<class T>
34  protected JStreamWriter,
35  public JWriterObjectOutput <T>,
36  public JAccessibleObjectOutput<T>
37  {
38  public:
39  /**
40  * Default constructor.
41  */
44  JStreamWriter (static_cast<std::ostream&>(*this)),
45  JWriterObjectOutput<T>(static_cast<JWriter&> (*this))
46  {}
47  };
48 }
49 
50 #endif
JWriterObjectOutput.hh
JStreamIO.hh
JAccessibleBinaryStream.hh
JIO::JStreamWriter
Binary output based on std::ostream.
Definition: JStreamIO.hh:81
JIO::JBinaryFileWriter::JBinaryFileWriter
JBinaryFileWriter()
Default constructor.
Definition: JBinaryFileWriter.hh:42
JLANG::JAccessibleBinaryOutputStream
Accessible output stream.
Definition: JAccessibleBinaryStream.hh:65
JIO::JWriterObjectOutput
Implementation of object output using JIO::JWriter for single data type.
Definition: JWriterObjectOutput.hh:30
JPP
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Definition: JAAnetToolkit.hh:37
JIO::JWriter
Interface for binary output.
Definition: JSerialisable.hh:130
std
Definition: jaanetDictionary.h:36
JLANG::JAccessibleObjectOutput
Interface for object output with named access.
Definition: JObjectOutput.hh:132
JIO
Auxiliary classes and methods for binary I/O.
Definition: JBinaryFileReader.hh:17
JIO::JBinaryFileWriter
Object(s) writing to binary file.
Definition: JBinaryFileWriter.hh:32