comparison OrthancServer/ParsedDicomFile.h @ 2128:9329ba17a069

Possibility to DELETE "dicom-as-json" attachments to reconstruct them
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 07 Nov 2016 15:13:16 +0100
parents b5d4f9c156ad
children 5a8840920121
comparison
equal deleted inserted replaced
2127:bfa92c9328d7 2128:9329ba17a069
136 136
137 Encoding GetEncoding() const; 137 Encoding GetEncoding() const;
138 138
139 void SetEncoding(Encoding encoding); 139 void SetEncoding(Encoding encoding);
140 140
141 void ToJson(Json::Value& target, 141 void DatasetToJson(Json::Value& target,
142 DicomToJsonFormat format, 142 DicomToJsonFormat format,
143 DicomToJsonFlags flags, 143 DicomToJsonFlags flags,
144 unsigned int maxStringLength); 144 unsigned int maxStringLength);
145
146 // This version uses the default parameters for
147 // FileContentType_DicomAsJson
148 void DatasetToJson(Json::Value& target);
145 149
146 void HeaderToJson(Json::Value& target, 150 void HeaderToJson(Json::Value& target,
147 DicomToJsonFormat format); 151 DicomToJsonFormat format);
148 152
149 bool HasTag(const DicomTag& tag) const; 153 bool HasTag(const DicomTag& tag) const;