comparison OrthancServer/OrthancInitialization.cpp @ 2131:bb199bccdc45

reorganization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 08 Nov 2016 10:49:45 +0100
parents a657f7772e69
children dd609a99d39a
comparison
equal deleted inserted replaced
2130:72cb107a7346 2131:bb199bccdc45
1123 std::string a = writer.write(starting); 1123 std::string a = writer.write(starting);
1124 std::string b = writer.write(current); 1124 std::string b = writer.write(current);
1125 1125
1126 return a != b; 1126 return a != b;
1127 } 1127 }
1128
1129
1130 void Configuration::ExtractDicomSummary(DicomMap& target,
1131 DcmItem& dataset)
1132 {
1133 FromDcmtkBridge::ExtractDicomSummary(target, dataset,
1134 ORTHANC_MAXIMUM_TAG_LENGTH, GetDefaultEncoding());
1135 }
1136
1137
1138 void Configuration::ExtractDicomAsJson(Json::Value& target,
1139 DcmDataset& dataset)
1140 {
1141 FromDcmtkBridge::ExtractDicomAsJson(target, dataset,
1142 DicomToJsonFormat_Full, DicomToJsonFlags_Default,
1143 ORTHANC_MAXIMUM_TAG_LENGTH, GetDefaultEncoding());
1144 }
1128 } 1145 }