20#include "eformat/HeaderMarker.h"
22#include "eformat/Status.h"
23#include "eformat/Issue.h"
24#include "eformat/checksum.h"
43 eformat::helper::Version version(0, eformat::MAJOR_V40_VERSION);
104 status(1, &eformat::DEFAULT_STATUS);
129 status(1, &eformat::DEFAULT_STATUS);
148 status(1, &eformat::DEFAULT_STATUS);
169 if (
read.check_rod_noex()) {
173 else if (
read.payload_size_word() >= 9) {
191 rod_data(other.rod_ndata(), other.rod_data());
197 if (!
read.check_rob_noex()) {
198 throw EFORMAT_UNSUPPORTED_OPERATION(
"operate on corrupted", eformat::ROB);
200 eformat::helper::Version robver(
read.version());
208 uint32_t rod_size =
read.payload_size_word();
215 uint32_t size_diff = 9 - rod_size;
223 if (
read.check_rod_noex()) {
225 read.rod_status(tmp);
233 const uint32_t size_diff = 3;
247 reinterpret_cast<const void*
>(other.m_rod_header), 9*
sizeof(uint32_t));
249 if (other.m_node[
ROD_HEADER].size_word != 9) {
252 uint32_t size_diff = 9 - other.m_node[
ROD_HEADER].size_word;
259 status(other.nstatus(), other.status());
261 rod_status(other.rod_nstatus(), other.rod_status());
265 uint32_t size_diff = 3 - other.m_node[
ROD_TRAILER].size_word;
343 s == eformat::NO_CHECKSUM) {
char data[hepevt_bytes_allocation_ATLAS]
Define macros for attributes used to control the static checker.
#define ATLAS_THREAD_SAFE
IovVectorMap_t read(const Folder &theFolder, const SelectionCriterion &choice, const unsigned int limit=10)
static const unsigned int ROB_HEADER
static const unsigned int ROD_DATA
static const unsigned int ROB_CHECKSUM
static const unsigned int ROB_CHECKSUM_TYPE
static const unsigned int ROD_TRAILER
static const unsigned int ROB_STATUS
static const unsigned int ROD_HEADER
static const unsigned int ROD_STATUS