Mercurial > hg > orthanc
comparison OrthancServer/ServerJobs/MergeStudyJob.cpp @ 3814:023b2a9f3aa1 transcoding
new enum: StoreInstanceMode
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 07 Apr 2020 17:35:44 +0200 |
parents | 2a170a8f1faf |
children | 3661e2a72482 |
comparison
equal
deleted
inserted
replaced
3813:aaaa442bfe39 | 3814:023b2a9f3aa1 |
---|---|
143 DicomInstanceToStore toStore; | 143 DicomInstanceToStore toStore; |
144 toStore.SetOrigin(origin_); | 144 toStore.SetOrigin(origin_); |
145 toStore.SetParsedDicomFile(*modified); | 145 toStore.SetParsedDicomFile(*modified); |
146 | 146 |
147 std::string modifiedInstance; | 147 std::string modifiedInstance; |
148 if (context_.Store(modifiedInstance, toStore) != StoreStatus_Success) | 148 if (context_.Store(modifiedInstance, toStore, |
149 StoreInstanceMode_Default) != StoreStatus_Success) | |
149 { | 150 { |
150 LOG(ERROR) << "Error while storing a modified instance " << instance; | 151 LOG(ERROR) << "Error while storing a modified instance " << instance; |
151 return false; | 152 return false; |
152 } | 153 } |
153 | 154 |