Mercurial > hg > orthanc
comparison Core/DicomParsing/ParsedDicomFile.h @ 2512:4dcafa8d6633
SystemToolbox::GenerateUuid moved to Toolbox::GenerateUuid
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 28 Mar 2018 15:20:50 +0200 |
parents | 83b8b6743531 |
children | 6db878376018 |
comparison
equal
deleted
inserted
replaced
2511:8a0d3044ef53 | 2512:4dcafa8d6633 |
---|---|
47 | 47 |
48 #if !defined(ORTHANC_ENABLE_MONGOOSE) | 48 #if !defined(ORTHANC_ENABLE_MONGOOSE) |
49 # error Macro ORTHANC_ENABLE_MONGOOSE must be defined to use this file | 49 # error Macro ORTHANC_ENABLE_MONGOOSE must be defined to use this file |
50 #endif | 50 #endif |
51 | 51 |
52 #if !defined(ORTHANC_SANDBOXED) | |
53 # error The macro ORTHANC_SANDBOXED must be defined | |
54 #endif | |
55 | |
52 #include "ITagVisitor.h" | 56 #include "ITagVisitor.h" |
53 #include "../DicomFormat/DicomInstanceHasher.h" | 57 #include "../DicomFormat/DicomInstanceHasher.h" |
54 #include "../Images/ImageAccessor.h" | 58 #include "../Images/ImageAccessor.h" |
55 #include "../IDynamicObject.h" | 59 #include "../IDynamicObject.h" |
56 #include "../Toolbox.h" | 60 #include "../Toolbox.h" |
158 | 162 |
159 DicomInstanceHasher GetHasher(); | 163 DicomInstanceHasher GetHasher(); |
160 | 164 |
161 void SaveToMemoryBuffer(std::string& buffer); | 165 void SaveToMemoryBuffer(std::string& buffer); |
162 | 166 |
167 #if ORTHANC_SANDBOXED == 0 | |
163 void SaveToFile(const std::string& path); | 168 void SaveToFile(const std::string& path); |
169 #endif | |
164 | 170 |
165 void EmbedContent(const std::string& dataUriScheme); | 171 void EmbedContent(const std::string& dataUriScheme); |
166 | 172 |
167 void EmbedImage(const ImageAccessor& accessor); | 173 void EmbedImage(const ImageAccessor& accessor); |
168 | 174 |