Jpp  17.3.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
Interface for binary output.
then usage $script< detector file >< detectorfile > nIf the range of floors is the first detector file is aligned to the second before the comparison nIn this
do set_variable OUTPUT_DIRECTORY $WORKDIR T
Object(s) writing to binary file.
JBinaryFileWriter()
Default constructor.
Interface for object output with named access.
Implementation of object output using JIO::JWriter for single data type.
Binary output based on std::ostream.
Definition: JStreamIO.hh:81