// ----------------------------------------------------------------------------- // ----- ----- // ----- CbmFormatMsHeaderPrintout ----- // ----- Created 11.09.2019 by P.-A. Loizeau ----- // ----- ----- // ----------------------------------------------------------------------------- #ifndef CbmFormatMsHeaderPrintout_H #define CbmFormatMsHeaderPrintout_H #include "Timeslice.hpp" #include #include #include /** ** Replaces the following block of code which generate warnings depending on the OS LOG(info) << "hi hv eqid flag si sv idx/start crc size offset"; LOG(info) << Form( "%02x %02x %04x %04x %02x %02x %016llx %08x %08x %016llx", static_cast(msDescriptor.hdr_id), static_cast(msDescriptor.hdr_ver), msDescriptor.eq_id, msDescriptor.flags, static_cast(msDescriptor.sys_id), static_cast(msDescriptor.sys_ver), msDescriptor.idx, msDescriptor.crc, msDescriptor.size, msDescriptor.offset ); **/ std::string FormatMsHeaderPrintout( const fles::MicrosliceDescriptor & msDescriptor ); std::ostream& operator<<( std::ostream &os, const fles::MicrosliceDescriptor & msDescriptor ); #endif