Go to the documentation of this file. 1 #ifndef __JDAQPREAMBLE__
2 #define __JDAQPREAMBLE__
81 preamble.
type = KM3NETDAQ::getDataType<T>();
98 out << setw(8) << preamble.
length;
100 out << setw(6) << preamble.
type;
Interface for binary input.
JDAQPreamble()
Default constructor.
ClassDef(JDAQPreamble, 1)
virtual ~JDAQPreamble()
Virtual destructor.
friend JReader & operator>>(JReader &, JDAQPreamble &)
Read DAQ preamble from input.
friend std::ostream & operator<<(std::ostream &out, const JDAQPreamble &preamble)
Print DAQ preamble.
Interface for binary output.
JDAQPreamble(const JDAQType< T > &type)
Constructor.
friend JWriter & operator<<(JWriter &, const JDAQPreamble &)
Write DAQ preamble to output.
Simple data structure for the DAQ preamble required for a correct calculation of the object size for ...
Auxiliary class for a DAQ type holder.
KM3NeT DAQ data structures and auxiliaries.
size_t getSizeof< JDAQPreamble >()
Get size of type.
static JDAQPreamble getDAQPreamble(const T &object)
Get DAQ preamble.
friend size_t getSizeof()
Definition of method to get size of data type.