comparison OrthancServer/ServerContext.h @ 3911:0ef7f4528be2 transcoding

renamed option TranscodingEnabled to TranscodeDicomProtocol
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 08 May 2020 12:10:04 +0200
parents 1f71c2f20e16
children 7610af1532c3
comparison
equal deleted inserted replaced
3910:1f71c2f20e16 3911:0ef7f4528be2
224 bool isExecuteLuaEnabled_; 224 bool isExecuteLuaEnabled_;
225 bool overwriteInstances_; 225 bool overwriteInstances_;
226 226
227 std::unique_ptr<StorageCommitmentReports> storageCommitmentReports_; 227 std::unique_ptr<StorageCommitmentReports> storageCommitmentReports_;
228 228
229 bool transcodingEnabled_; 229 bool transcodeDicomProtocol_;
230 std::unique_ptr<IDicomTranscoder> dcmtkTranscoder_; 230 std::unique_ptr<IDicomTranscoder> dcmtkTranscoder_;
231 231
232 public: 232 public:
233 class DicomCacheLocker : public boost::noncopyable 233 class DicomCacheLocker : public boost::noncopyable
234 { 234 {
462 bool hasMoveOriginator, 462 bool hasMoveOriginator,
463 const std::string& moveOriginatorAet, 463 const std::string& moveOriginatorAet,
464 uint16_t moveOriginatorId); 464 uint16_t moveOriginatorId);
465 465
466 // This method can be used even if the global option 466 // This method can be used even if the global option
467 // "TranscodingEnabled" is set to "false" 467 // "TranscodeDicomProtocol" is set to "false"
468 bool Transcode(std::string& target /* out */, 468 bool Transcode(std::string& target /* out */,
469 DicomTransferSyntax& sourceSyntax /* out */, 469 DicomTransferSyntax& sourceSyntax /* out */,
470 bool& hasSopInstanceUidChanged /* out */, 470 bool& hasSopInstanceUidChanged /* out */,
471 ParsedDicomFile& dicom, // Possibly modified 471 ParsedDicomFile& dicom, // Possibly modified
472 DicomTransferSyntax targetSyntax, 472 DicomTransferSyntax targetSyntax,