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
Class to represent a Data Set (which contains Data Elements) A Data Set represents an instance of a r...
Definition: gdcmDataSet.h:55
void SetPresentationContextID(uint8_t id)
Definition: gdcmPresentationDataValue.h:51
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
void SetMessageHeader(uint8_t messageheader)
Definition: gdcmPresentationDataValue.h:61
uint8_t GetPresentationContextID() const
Definition: gdcmPresentationDataValue.h:50
PresentationDataValue Table 9-23 PRESENTATION-DATA-VALUE ITEM FIELDS.
Definition: gdcmPresentationDataValue.h:32
uint8_t GetMessageHeader() const
Definition: gdcmPresentationDataValue.h:55