Mercurial > hg > orthanc
comparison OrthancFramework/Sources/Enumerations.cpp @ 5037:3444990cf295
cleanup
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 24 Jun 2022 16:16:43 +0200 |
parents | afa427f65444 |
children | 255b02c68908 |
comparison
equal
deleted
inserted
replaced
5036:877bc3b96476 | 5037:3444990cf295 |
---|---|
1309 s == "INSTANCES" || s == "IMAGES") | 1309 s == "INSTANCES" || s == "IMAGES") |
1310 { | 1310 { |
1311 return ResourceType_Instance; | 1311 return ResourceType_Instance; |
1312 } | 1312 } |
1313 | 1313 |
1314 throw OrthancException(ErrorCode_ParameterOutOfRange); | 1314 throw OrthancException(ErrorCode_ParameterOutOfRange, std::string("Invalid resource type '") + type + "'"); |
1315 } | 1315 } |
1316 | 1316 |
1317 const char* ResourceTypeToDicomQueryRetrieveLevel(ResourceType type) | 1317 const char* ResourceTypeToDicomQueryRetrieveLevel(ResourceType type) |
1318 { | 1318 { |
1319 if (type == ResourceType_Patient) | 1319 if (type == ResourceType_Patient) |