#ifndef __JDAQSUMMARYSLICEHEADER_IO__ #define __JDAQSUMMARYSLICEHEADER_IO__ #include "km3net-dataformat/online/JDAQSummarysliceHeader.hh" #include "JIO/JSerialisable.hh" #include "JDAQ/JDAQHeaderIO.hh" /** * \author mdejong */ namespace KM3NETDAQ { /** * Get size of type. * * \return number of bytes */ template<> inline size_t getSizeof() { return getSizeof(); } /** * Read JDAQ summary slice header from input. * * \param in reader * \param header DAQ summary slice header * \return reader */ inline JReader& operator>>(JReader& in, JDAQSummarysliceHeader& header) { in >> static_cast(header); return in; } /** * Write JDAQ summary slice header to output. * * \param out writer * \param header DAQ summary slice header * \return writer */ inline JWriter& operator<<(JWriter& out, const JDAQSummarysliceHeader& header) { out << static_cast(header); return out; } } #endif