comparison OrthancServer/Sources/OrthancConfiguration.cpp @ 4204:318c16cfccab

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Sep 2020 16:18:01 +0200
parents 1c9c2c41c015
children a20928107a90
comparison
equal deleted inserted replaced
4203:4d42408da117 4204:318c16cfccab
915 return GetStringParameter("DefaultPrivateCreator", ""); 915 return GetStringParameter("DefaultPrivateCreator", "");
916 } 916 }
917 917
918 918
919 void OrthancConfiguration::DefaultExtractDicomSummary(DicomMap& target, 919 void OrthancConfiguration::DefaultExtractDicomSummary(DicomMap& target,
920 ParsedDicomFile& dicom) 920 const ParsedDicomFile& dicom)
921 { 921 {
922 std::set<DicomTag> ignoreTagLength; 922 std::set<DicomTag> ignoreTagLength;
923 dicom.ExtractDicomSummary(target, ORTHANC_MAXIMUM_TAG_LENGTH, ignoreTagLength); 923 dicom.ExtractDicomSummary(target, ORTHANC_MAXIMUM_TAG_LENGTH, ignoreTagLength);
924 } 924 }
925 925
926 926
927 void OrthancConfiguration::DefaultDicomDatasetToJson(Json::Value& target, 927 void OrthancConfiguration::DefaultDicomDatasetToJson(Json::Value& target,
928 ParsedDicomFile& dicom) 928 const ParsedDicomFile& dicom)
929 { 929 {
930 std::set<DicomTag> ignoreTagLength; 930 std::set<DicomTag> ignoreTagLength;
931 DefaultDicomDatasetToJson(target, dicom, ignoreTagLength); 931 DefaultDicomDatasetToJson(target, dicom, ignoreTagLength);
932 } 932 }
933 933
934 934
935 void OrthancConfiguration::DefaultDicomDatasetToJson(Json::Value& target, 935 void OrthancConfiguration::DefaultDicomDatasetToJson(Json::Value& target,
936 ParsedDicomFile& dicom, 936 const ParsedDicomFile& dicom,
937 const std::set<DicomTag>& ignoreTagLength) 937 const std::set<DicomTag>& ignoreTagLength)
938 { 938 {
939 dicom.DatasetToJson(target, DicomToJsonFormat_Full, DicomToJsonFlags_Default, 939 dicom.DatasetToJson(target, DicomToJsonFormat_Full, DicomToJsonFlags_Default,
940 ORTHANC_MAXIMUM_TAG_LENGTH, ignoreTagLength); 940 ORTHANC_MAXIMUM_TAG_LENGTH, ignoreTagLength);
941 } 941 }
942 942
943 943
944 void OrthancConfiguration::DefaultDicomHeaderToJson(Json::Value& target, 944 void OrthancConfiguration::DefaultDicomHeaderToJson(Json::Value& target,
945 ParsedDicomFile& dicom) 945 const ParsedDicomFile& dicom)
946 { 946 {
947 std::set<DicomTag> ignoreTagLength;
948 dicom.HeaderToJson(target, DicomToJsonFormat_Full); 947 dicom.HeaderToJson(target, DicomToJsonFormat_Full);
949 } 948 }
950 } 949 }