comparison OrthancServer/ServerJobs/ResourceModificationJob.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 54dbebbcc032
comparison
equal deleted inserted replaced
3813:aaaa442bfe39 3814:023b2a9f3aa1
209 /** 209 /**
210 * Store the resulting DICOM instance into the Orthanc store. 210 * Store the resulting DICOM instance into the Orthanc store.
211 **/ 211 **/
212 212
213 std::string modifiedInstance; 213 std::string modifiedInstance;
214 if (context_.Store(modifiedInstance, toStore) != StoreStatus_Success) 214 if (context_.Store(modifiedInstance, toStore,
215 StoreInstanceMode_Default) != StoreStatus_Success)
215 { 216 {
216 throw OrthancException(ErrorCode_CannotStoreInstance, 217 throw OrthancException(ErrorCode_CannotStoreInstance,
217 "Error while storing a modified instance " + instance); 218 "Error while storing a modified instance " + instance);
218 } 219 }
219 220