14 #ifndef GDCMPRESENTATIONDATAVALUE_H
15 #define GDCMPRESENTATIONDATAVALUE_H
36 std::istream &Read(std::istream &is);
37 std::istream &ReadInto(std::istream &is, std::ostream &os);
39 const std::ostream &Write(std::ostream &os)
const;
46 void SetDataSet(
const DataSet & ds);
47 void SetBlob(
const std::string & partialblob);
48 const std::string &GetBlob()
const;
53 PresentationContextID = id;
56 assert( MessageHeader <= 0x3 );
62 MessageHeader = messageheader;
63 assert( MessageHeader <= 0x3 );
67 void SetCommand(
bool inCommand);
68 void SetLastFragment(
bool inLast);
70 bool GetIsCommand()
const;
71 bool GetIsLastFragment()
const;
73 void Print(std::ostream &os)
const;
78 static DataSet ConcatenatePDVBlobs(
const std::vector<PresentationDataValue>& inPDVs);
82 uint8_t PresentationContextID;
83 uint8_t MessageHeader;
90 #endif //GDCMPRESENTATIONDATAVALUE_H