comparison Core/DicomParsing/DicomModification.cpp @ 2520:b94ed97508e6

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 29 Mar 2018 16:14:10 +0200
parents 2e6b7862ccf2
children 6db878376018
comparison
equal deleted inserted replaced
2519:2e6b7862ccf2 2520:b94ed97508e6
1041 1041
1042 switch (operation) 1042 switch (operation)
1043 { 1043 {
1044 case DicomModification::TagOperation_Keep: 1044 case DicomModification::TagOperation_Keep:
1045 target.Keep(tag); 1045 target.Keep(tag);
1046 VLOG(1) << "Keep: " << name << " " << tag << std::endl; 1046 VLOG(1) << "Keep: " << name << " " << tag;
1047 break; 1047 break;
1048 1048
1049 case DicomModification::TagOperation_Remove: 1049 case DicomModification::TagOperation_Remove:
1050 target.Remove(tag); 1050 target.Remove(tag);
1051 VLOG(1) << "Remove: " << name << " " << tag << std::endl; 1051 VLOG(1) << "Remove: " << name << " " << tag;
1052 break; 1052 break;
1053 1053
1054 default: 1054 default:
1055 throw OrthancException(ErrorCode_InternalError); 1055 throw OrthancException(ErrorCode_InternalError);
1056 } 1056 }
1083 } 1083 }
1084 1084
1085 target.Replace(tag, value, false); 1085 target.Replace(tag, value, false);
1086 1086
1087 VLOG(1) << "Replace: " << name << " " << tag 1087 VLOG(1) << "Replace: " << name << " " << tag
1088 << " == " << value.toStyledString() << std::endl; 1088 << " == " << value.toStyledString();
1089 } 1089 }
1090 } 1090 }
1091 1091
1092 1092
1093 static bool GetBooleanValue(const std::string& member, 1093 static bool GetBooleanValue(const std::string& member,