Mercurial > hg > orthanc
comparison OrthancFramework/Sources/Enumerations.cpp @ 5426:c65e036d649b
StorageCache is now storing transcoded instances + added ?transcode=... option to the /file route.
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 16 Nov 2023 16:09:04 +0100 |
parents | 3206537cbb56 |
children | 7a20ee948676 |
comparison
equal
deleted
inserted
replaced
5425:e2c9f9d9700e | 5426:c65e036d649b |
---|---|
2466 else | 2466 else |
2467 { | 2467 { |
2468 throw OrthancException(ErrorCode_InternalError); | 2468 throw OrthancException(ErrorCode_InternalError); |
2469 } | 2469 } |
2470 } | 2470 } |
2471 | |
2472 DicomTransferSyntax GetTransferSyntax(const std::string& value) | |
2473 { | |
2474 DicomTransferSyntax syntax; | |
2475 if (LookupTransferSyntax(syntax, value)) | |
2476 { | |
2477 return syntax; | |
2478 } | |
2479 else | |
2480 { | |
2481 throw OrthancException(ErrorCode_ParameterOutOfRange, | |
2482 "Unknown transfer syntax: " + value); | |
2483 } | |
2484 } | |
2485 | |
2471 } | 2486 } |
2472 | 2487 |
2473 | 2488 |
2474 #include "./Enumerations_TransferSyntaxes.impl.h" | 2489 #include "./Enumerations_TransferSyntaxes.impl.h" |