Mercurial > hg > orthanc
comparison Core/DicomParsing/ParsedDicomFile.h @ 2908:9d277f8ad698
new enumeration: MimeType
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 30 Oct 2018 16:16:07 +0100 |
parents | ae20fccdd867 |
children | 4e43e67f8ecf |
comparison
equal
deleted
inserted
replaced
2907:0204af4ece6a | 2908:9d277f8ad698 |
---|---|
181 | 181 |
182 void EmbedContent(const std::string& dataUriScheme); | 182 void EmbedContent(const std::string& dataUriScheme); |
183 | 183 |
184 void EmbedImage(const ImageAccessor& accessor); | 184 void EmbedImage(const ImageAccessor& accessor); |
185 | 185 |
186 void EmbedImage(const std::string& mime, | 186 void EmbedImage(MimeType mime, |
187 const std::string& content); | 187 const std::string& content); |
188 | 188 |
189 Encoding GetEncoding() const; | 189 Encoding GetEncoding() const; |
190 | 190 |
191 // WARNING: This function only sets the encoding, it will not | 191 // WARNING: This function only sets the encoding, it will not |
218 void EmbedPdf(const std::string& pdf); | 218 void EmbedPdf(const std::string& pdf); |
219 | 219 |
220 bool ExtractPdf(std::string& pdf); | 220 bool ExtractPdf(std::string& pdf); |
221 | 221 |
222 void GetRawFrame(std::string& target, // OUT | 222 void GetRawFrame(std::string& target, // OUT |
223 std::string& mime, // OUT | 223 MimeType& mime, // OUT |
224 unsigned int frameId); // IN | 224 unsigned int frameId); // IN |
225 | 225 |
226 unsigned int GetFramesCount() const; | 226 unsigned int GetFramesCount() const; |
227 | 227 |
228 static ParsedDicomFile* CreateFromJson(const Json::Value& value, | 228 static ParsedDicomFile* CreateFromJson(const Json::Value& value, |