Mercurial > hg > orthanc
diff OrthancServer/DicomModification.h @ 991:2f76b92addd4
keep private tags during anonymization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 02 Jul 2014 11:56:08 +0200 |
parents | 331eaf9d9d69 |
children | 7f3a65e84d4b |
line wrap: on
line diff
--- a/OrthancServer/DicomModification.h Tue Jul 01 17:17:45 2014 +0200 +++ b/OrthancServer/DicomModification.h Wed Jul 02 11:56:08 2014 +0200 @@ -46,15 +46,16 @@ **/ private: - typedef std::set<DicomTag> Removals; + typedef std::set<DicomTag> SetOfTags; typedef std::map<DicomTag, std::string> Replacements; typedef std::map< std::pair<ResourceType, std::string>, std::string> UidMap; - Removals removals_; + SetOfTags removals_; Replacements replacements_; bool removePrivateTags_; ResourceType level_; UidMap uidMap_; + SetOfTags privateTagsToKeep_; void MapDicomIdentifier(ParsedDicomFile& dicom, ResourceType level);