Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomParsing/DicomModification.h @ 5495:4b3f5986eca1
Added a 'KeepLabels' option in /modify routes (default = false)
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 22 Jan 2024 17:14:11 +0100 |
parents | 48b8dae6dc77 |
children | f7adfb22e20e |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/DicomModification.h Wed Jan 10 07:21:50 2024 +0100 +++ b/OrthancFramework/Sources/DicomParsing/DicomModification.h Mon Jan 22 17:14:11 2024 +0100 @@ -131,6 +131,7 @@ SetOfTags keep_; Replacements replacements_; bool removePrivateTags_; + bool keepLabels_; ResourceType level_; UidMap uidMap_; SetOfTags privateTagsToKeep_; @@ -223,6 +224,10 @@ bool ArePrivateTagsRemoved() const; + void SetKeepLabels(bool keep); + + bool AreLabelsKept() const; + void SetLevel(ResourceType level); ResourceType GetLevel() const;