Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomParsing/DicomModification.cpp @ 4313:91554aecff9a
removed a friend method for better abi
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 09 Nov 2020 16:09:05 +0100 |
parents | 785a2713323e |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4312:6d49e3b6ff77 | 4313:91554aecff9a |
---|---|
1184 | 1184 |
1185 switch (operation) | 1185 switch (operation) |
1186 { | 1186 { |
1187 case DicomModification::TagOperation_Keep: | 1187 case DicomModification::TagOperation_Keep: |
1188 target.Keep(tag); | 1188 target.Keep(tag); |
1189 LOG(TRACE) << "Keep: " << name << " " << tag; | 1189 LOG(TRACE) << "Keep: " << name << " (" << tag.Format() << ")"; |
1190 break; | 1190 break; |
1191 | 1191 |
1192 case DicomModification::TagOperation_Remove: | 1192 case DicomModification::TagOperation_Remove: |
1193 target.Remove(tag); | 1193 target.Remove(tag); |
1194 LOG(TRACE) << "Remove: " << name << " " << tag; | 1194 LOG(TRACE) << "Remove: " << name << " (" << tag.Format() << ")"; |
1195 break; | 1195 break; |
1196 | 1196 |
1197 default: | 1197 default: |
1198 throw OrthancException(ErrorCode_InternalError); | 1198 throw OrthancException(ErrorCode_InternalError); |
1199 } | 1199 } |
1225 "requires the \"Force\" option to be set to true"); | 1225 "requires the \"Force\" option to be set to true"); |
1226 } | 1226 } |
1227 | 1227 |
1228 target.Replace(tag, value, false); | 1228 target.Replace(tag, value, false); |
1229 | 1229 |
1230 LOG(TRACE) << "Replace: " << name << " " << tag | 1230 LOG(TRACE) << "Replace: " << name << " (" << tag.Format() |
1231 << " == " << value.toStyledString(); | 1231 << ") == " << value.toStyledString(); |
1232 } | 1232 } |
1233 } | 1233 } |
1234 | 1234 |
1235 | 1235 |
1236 static bool GetBooleanValue(const std::string& member, | 1236 static bool GetBooleanValue(const std::string& member, |