14#ifndef EFORMAT_ROBFRAGMENT_H
15#define EFORMAT_ROBFRAGMENT_H
17#include "eformat/BadVersionIssue.h"
18#include "eformat/Header.h"
19#include "eformat/HeaderMarker.h"
20#include "eformat/SizeCheckIssue.h"
21#include "eformat/WrongMarkerIssue.h"
46 :
Header<TPointer>( other ), m_start( other.m_start ) {}
65 m_start = other.m_start;
79 virtual bool check()
const;
92 inline uint32_t
rod_marker()
const {
return m_start[0]; }
133 inline uint32_t
rod_bc_id()
const {
return m_start[6]; }
168 void rod_data( TPointer& it )
const;
180 static const uint32_t NSPECIFIC;
188template <
class TPo
inter>
const uint32_t eformat::ROBFragment<TPointer>::NSPECIFIC = 0;
190template <
class TPo
inter>
193 ERS_DEBUG_3(
"Building ROBFragment from pointer" );
195 ERS_DEBUG_1(
"Initialized header with source identifier = %s",
199 ERS_DEBUG_1(
"Initialized ROD header with source identifier = %s",
203template <
class TPo
inter>
205 ERS_DEBUG_3(
"Re-building ROBFragment from pointer" );
208 ERS_DEBUG_1(
"Initialized header with source identifier = %s",
210 ERS_DEBUG_3(
"Re-building underlying RODFragment" );
212 ERS_DEBUG_1(
"Reinitialized header with source identifier = %s",
219 ERS_DEBUG_2(
"Checking for consistency of ROBFragment [%s]",
226 ERS_DEBUG_2(
"Checking for consistency of RODFragment [%s]",
236template <
class TPo
inter>