14 #ifndef GDCMPDATATFPDU_H
15 #define GDCMPDATATFPDU_H
37 std::istream &Read(std::istream &is);
38 const std::ostream &Write(std::ostream &os)
const;
45 assert(Size() < std::numeric_limits<uint32_t>::max());
46 ItemLength = (uint32_t)Size() - 6;
49 typedef std::vector<PresentationDataValue>::size_type
SizeType;
51 assert( !V.empty() && i < V.size() );
58 void Print(std::ostream &os)
const;
59 bool IsLastFragment()
const;
62 std::istream &ReadInto(std::istream &is, std::ostream &os);
64 static const uint8_t ItemType;
65 static const uint8_t Reserved2;
67 std::vector<PresentationDataValue> V;
74 #endif //GDCMPDATATFPDU_H