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
std::vector< PresentationDataValue >::size_type SizeType
Definition: gdcmPDataTFPDU.h:49
void AddPresentationDataValue(PresentationDataValue const &pdv)
Definition: gdcmPDataTFPDU.h:43
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
BasePDU base class for PDUs.
Definition: gdcmBasePDU.h:50
SizeType GetNumberOfPresentationDataValues() const
Definition: gdcmPDataTFPDU.h:54
PresentationDataValue Table 9-23 PRESENTATION-DATA-VALUE ITEM FIELDS.
Definition: gdcmPresentationDataValue.h:32
Definition: gdcmASN1.h:20
PresentationDataValue const & GetPresentationDataValue(SizeType i) const
Definition: gdcmPDataTFPDU.h:50
PDataTFPDU Table 9-22 P-DATA-TF PDU FIELDS.
Definition: gdcmPDataTFPDU.h:33