15 #ifndef GDCMBASICOFFSETTABLE_H
16 #define GDCMBASICOFFSETTABLE_H
43 template <
typename TSwap>
44 std::istream &
Read(std::istream &is) {
46 const Tag itemStart(0xfffe, 0xe000);
47 const Tag seqDelItem(0xfffe,0xe0dd);
48 if( !TagField.Read<TSwap>(is) )
50 assert(0 &&
"Should not happen");
54 if( TagField != itemStart )
58 throw "SIEMENS Icon thingy";
60 if( !ValueLengthField.Read<TSwap>(is) )
62 assert(0 &&
"Should not happen");
67 bv->SetLength(ValueLengthField);
68 if( !bv->Read<TSwap>(is) )
70 assert(0 &&
"Should not happen");
126 #endif //GDCMBASICOFFSETTABLE_H