comparison OrthancFramework/Sources/DicomParsing/ParsedDicomFile.h @ 4683:7182f5732480

use of DicomPath in ParsedDicomFile
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 08 Jun 2021 12:37:48 +0200
parents b4c58795f3a8
children 9f207131c7f4
comparison
equal deleted inserted replaced
4682:d38a7040474a 4683:7182f5732480
52 # error The macro ORTHANC_ENABLE_DCMTK must be set to 1 to use this file 52 # error The macro ORTHANC_ENABLE_DCMTK must be set to 1 to use this file
53 #endif 53 #endif
54 54
55 #include "ITagVisitor.h" 55 #include "ITagVisitor.h"
56 #include "../DicomFormat/DicomInstanceHasher.h" 56 #include "../DicomFormat/DicomInstanceHasher.h"
57 #include "../DicomFormat/DicomPath.h"
57 #include "../Images/ImageAccessor.h" 58 #include "../Images/ImageAccessor.h"
58 #include "../IDynamicObject.h" 59 #include "../IDynamicObject.h"
59 #include "../Toolbox.h" 60 #include "../Toolbox.h"
60 61
61 #if ORTHANC_ENABLE_CIVETWEB == 1 || ORTHANC_ENABLE_MONGOOSE == 1 62 #if ORTHANC_ENABLE_CIVETWEB == 1 || ORTHANC_ENABLE_MONGOOSE == 1
271 272
272 void Apply(ITagVisitor& visitor) const; 273 void Apply(ITagVisitor& visitor) const;
273 274
274 // Decode the given frame, using the built-in DICOM decoder of Orthanc 275 // Decode the given frame, using the built-in DICOM decoder of Orthanc
275 ImageAccessor* DecodeFrame(unsigned int frame) const; 276 ImageAccessor* DecodeFrame(unsigned int frame) const;
277
278 void ReplacePath(const DicomPath& path,
279 const Json::Value& value, // Assumed to be encoded with UTF-8
280 bool decodeDataUriScheme,
281 DicomReplaceMode mode,
282 const std::string& privateCreator /* used only for private tags */);
283
284 void RemovePath(const DicomPath& path);
285
286 void ClearPath(const DicomPath& path,
287 bool onlyIfExists);
276 }; 288 };
277 } 289 }