comparison Core/DicomParsing/DicomModification.h @ 3691:4922bdd046dd

Fix issue #140 (Modifying private tags with REST API changes VR from LO to UN) - DANGEROUS COMMIT
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Feb 2020 21:44:09 +0100
parents 94f4a18a79cc
children 1f4910999fe7
comparison
equal deleted inserted replaced
3690:a9ce35d67c3c 3691:4922bdd046dd
84 bool keepStudyInstanceUid_; 84 bool keepStudyInstanceUid_;
85 bool keepSeriesInstanceUid_; 85 bool keepSeriesInstanceUid_;
86 bool updateReferencedRelationships_; 86 bool updateReferencedRelationships_;
87 bool isAnonymization_; 87 bool isAnonymization_;
88 DicomMap currentSource_; 88 DicomMap currentSource_;
89 std::string privateCreator_;
89 90
90 IDicomIdentifierGenerator* identifierGenerator_; 91 IDicomIdentifierGenerator* identifierGenerator_;
91 92
92 std::string MapDicomIdentifier(const std::string& original, 93 std::string MapDicomIdentifier(const std::string& original,
93 ResourceType level); 94 ResourceType level);
183 { 184 {
184 identifierGenerator_ = &generator; 185 identifierGenerator_ = &generator;
185 } 186 }
186 187
187 void Serialize(Json::Value& value) const; 188 void Serialize(Json::Value& value) const;
189
190 void SetPrivateCreator(std::string& privateCreator)
191 {
192 privateCreator_ = privateCreator;
193 }
194
195 const std::string& GetPrivateCreator()
196 {
197 return privateCreator_;
198 }
188 }; 199 };
189 } 200 }