Jpp  15.0.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JDAQRoot.hh
Go to the documentation of this file.
1 #ifndef __JDAQROOT__
2 #define __JDAQROOT__
3 
4 #include <TObject.h>
5 #include <TBuffer.h>
6 
8 
9 
10 /**
11  * \author mdejong
12  */
13 
14 namespace JIO {
15  class JReader; // forward declaration for friend
16  class JWriter; // forward declaration for friend
17 }
18 
19 namespace KM3NETDAQ {
20 
21  /**
22  * Definition of method to get size of data type.
23  *
24  * This method should be specialised for each desired data type with fixed length.
25  *
26  * \return number of bytes
27  */
28  template<class T>
29  inline size_t getSizeof();
30 
31 
32  using JIO::JReader;
33  using JIO::JWriter;
34 }
35 
36 namespace JPP {
37 }
38 
39 using namespace KM3NETDAQ;
40 
41 #endif
Interface for binary output.
Interface for binary input.
size_t getSizeof(const JDAQEvent &object)
Get size of object.
Definition: JDAQEventIO.hh:26