Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/ParsedDicomFile.h Mon Jun 07 18:35:46 2021 +0200 +++ b/OrthancFramework/Sources/DicomParsing/ParsedDicomFile.h Tue Jun 08 12:37:48 2021 +0200 @@ -54,6 +54,7 @@ #include "ITagVisitor.h" #include "../DicomFormat/DicomInstanceHasher.h" +#include "../DicomFormat/DicomPath.h" #include "../Images/ImageAccessor.h" #include "../IDynamicObject.h" #include "../Toolbox.h" @@ -273,5 +274,16 @@ // Decode the given frame, using the built-in DICOM decoder of Orthanc ImageAccessor* DecodeFrame(unsigned int frame) const; + + void ReplacePath(const DicomPath& path, + const Json::Value& value, // Assumed to be encoded with UTF-8 + bool decodeDataUriScheme, + DicomReplaceMode mode, + const std::string& privateCreator /* used only for private tags */); + + void RemovePath(const DicomPath& path); + + void ClearPath(const DicomPath& path, + bool onlyIfExists); }; }