Mercurial > hg > orthanc
comparison OrthancServer/ServerContext.h @ 3813:aaaa442bfe39 transcoding
moving SetOverwriteInstances from ServerIndex to ServerContext
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 07 Apr 2020 14:03:33 +0200 |
parents | 1a346a4dc1b4 |
children | 023b2a9f3aa1 |
comparison
equal
deleted
inserted
replaced
3812:abd3a1d114c0 | 3813:aaaa442bfe39 |
---|---|
219 unsigned int limitFindResults_; | 219 unsigned int limitFindResults_; |
220 | 220 |
221 std::unique_ptr<MetricsRegistry> metricsRegistry_; | 221 std::unique_ptr<MetricsRegistry> metricsRegistry_; |
222 bool isHttpServerSecure_; | 222 bool isHttpServerSecure_; |
223 bool isExecuteLuaEnabled_; | 223 bool isExecuteLuaEnabled_; |
224 bool overwriteInstances_; | |
224 | 225 |
225 std::unique_ptr<StorageCommitmentReports> storageCommitmentReports_; | 226 std::unique_ptr<StorageCommitmentReports> storageCommitmentReports_; |
226 | 227 |
227 public: | 228 public: |
228 class DicomCacheLocker : public boost::noncopyable | 229 class DicomCacheLocker : public boost::noncopyable |
424 bool IsExecuteLuaEnabled() const | 425 bool IsExecuteLuaEnabled() const |
425 { | 426 { |
426 return isExecuteLuaEnabled_; | 427 return isExecuteLuaEnabled_; |
427 } | 428 } |
428 | 429 |
430 void SetOverwriteInstances(bool overwrite) | |
431 { | |
432 overwriteInstances_ = overwrite; | |
433 } | |
434 | |
435 bool IsOverwriteInstances() const | |
436 { | |
437 return overwriteInstances_; | |
438 } | |
439 | |
429 virtual IStorageCommitmentFactory::ILookupHandler* | 440 virtual IStorageCommitmentFactory::ILookupHandler* |
430 CreateStorageCommitment(const std::string& jobId, | 441 CreateStorageCommitment(const std::string& jobId, |
431 const std::string& transactionUid, | 442 const std::string& transactionUid, |
432 const std::vector<std::string>& sopClassUids, | 443 const std::vector<std::string>& sopClassUids, |
433 const std::vector<std::string>& sopInstanceUids, | 444 const std::vector<std::string>& sopInstanceUids, |