00001
00002
00014 #ifndef EFORMAT_OLD_ROSFRAGMENT_H
00015 #define EFORMAT_OLD_ROSFRAGMENT_H
00016
00017 #include "eformat/old/Header.h"
00018
00019 namespace eformat {
00020
00021 namespace old {
00022
00027 class ROSFragment : public eformat::old::Header {
00028
00029 public:
00030
00037 ROSFragment (const uint32_t* it);
00038
00042 virtual ~ROSFragment() {}
00043
00047 virtual bool check () const;
00048
00052 bool check_tree () const;
00053
00057 inline uint32_t lvl1_id() const { return m_start[0]; }
00058
00062 inline uint32_t bc_id() const { return m_start[1]; }
00063
00064 private:
00065
00066 const uint32_t* m_start;
00067
00068 };
00069
00070 }
00071
00072 }
00073
00074 #endif