Jpp
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
externals
km3net-dataformat
online
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
7
#include "
JDAQException.hh
"
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
JIO::JWriter
Interface for binary output.
Definition:
JSerialisable.hh:133
JIO::JReader
Interface for binary input.
Definition:
JSerialisable.hh:63
JDAQException.hh
KM3NETDAQ::getSizeof
size_t getSizeof(const JDAQEvent &object)
Get size of object.
Definition:
JDAQEventIO.hh:26
Generated by
1.8.5