BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
ROSFragment24.cxx
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/**
4 * @file old/ROSFragment.cxx
5 * @author <a href="mailto:Andre.dos.Anjos@cern.ch">Andre DOS ANJOS</a>
6 * $Author: zhangy $
7 * $Revision: 1.1.1.1 $
8 * $Date: 2009/06/19 07:35:41 $
9 *
10 * Implements the old ROS fragment, as defined in eformat 2.4
11 */
12
13#include "eformat/HeaderMarker.h"
14#include "eformat/SizeCheckIssue.h"
15#include "eformat/old/ROBFragment.h"
16#include "eformat/old/ROSFragment.h"
17
19 : eformat::old::Header( it, eformat::ROS ), m_start( specific_header() ) {}
20
22 eformat::old::Header::check(); //< first do a generic check
23 if ( nspecific() != 2 ) { throw EFORMAT_SIZE_CHECK( 2, nspecific() ); }
24 return true;
25}
26
28 check(); // check myself
29 for ( size_t i = 0; i < noffset(); ++i )
30 {
32 rob.check_tree();
33 }
34 return true;
35}
#define EFORMAT_SIZE_CHECK(actual, informed)
virtual bool check() const
Definition Header24.cxx:27
Header(const uint32_t *it, uint32_t match)
Definition Header24.cxx:21
const uint32_t * child(size_t n) const
Definition Header24.cxx:36
virtual bool check() const
ROSFragment(const uint32_t *it)