Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
990:7cbcd580cd21 | 991:2f76b92addd4 |
---|---|
44 * (2) Remove tags specified by the user | 44 * (2) Remove tags specified by the user |
45 * (3) Replace tags | 45 * (3) Replace tags |
46 **/ | 46 **/ |
47 | 47 |
48 private: | 48 private: |
49 typedef std::set<DicomTag> Removals; | 49 typedef std::set<DicomTag> SetOfTags; |
50 typedef std::map<DicomTag, std::string> Replacements; | 50 typedef std::map<DicomTag, std::string> Replacements; |
51 typedef std::map< std::pair<ResourceType, std::string>, std::string> UidMap; | 51 typedef std::map< std::pair<ResourceType, std::string>, std::string> UidMap; |
52 | 52 |
53 Removals removals_; | 53 SetOfTags removals_; |
54 Replacements replacements_; | 54 Replacements replacements_; |
55 bool removePrivateTags_; | 55 bool removePrivateTags_; |
56 ResourceType level_; | 56 ResourceType level_; |
57 UidMap uidMap_; | 57 UidMap uidMap_; |
58 SetOfTags privateTagsToKeep_; | |
58 | 59 |
59 void MapDicomIdentifier(ParsedDicomFile& dicom, | 60 void MapDicomIdentifier(ParsedDicomFile& dicom, |
60 ResourceType level); | 61 ResourceType level); |
61 | 62 |
62 public: | 63 public: |