comparison OrthancServer/Sources/ServerEnumerations.h @ 5061:e95fadefeb72

new MaximumStorageMode configuration
author Alain Mazy <am@osimis.io>
date Tue, 09 Aug 2022 17:57:38 +0200
parents d4e5ca0c9307
children 9770d537880d 0ea402b4d901
comparison
equal deleted inserted replaced
5060:e69a3ff39bc5 5061:e95fadefeb72
47 enum StoreStatus 47 enum StoreStatus
48 { 48 {
49 StoreStatus_Success, 49 StoreStatus_Success,
50 StoreStatus_AlreadyStored, 50 StoreStatus_AlreadyStored,
51 StoreStatus_Failure, 51 StoreStatus_Failure,
52 StoreStatus_FilteredOut // Removed by NewInstanceFilter or ReceivedInstanceCallback 52 StoreStatus_FilteredOut, // Removed by NewInstanceFilter or ReceivedInstanceCallback
53 StoreStatus_StorageFull // new in Orthanc 1.11.2
54 };
55
56 enum MaxStorageMode
57 {
58 MaxStorageMode_Recycle,
59 MaxStorageMode_Reject
53 }; 60 };
54 61
55 enum DicomTagType 62 enum DicomTagType
56 { 63 {
57 DicomTagType_Identifier, // Tag that whose value is stored and indexed in the DB 64 DicomTagType_Identifier, // Tag that whose value is stored and indexed in the DB
215 222
216 FileContentType StringToContentType(const std::string& str); 223 FileContentType StringToContentType(const std::string& str);
217 224
218 FindStorageAccessMode StringToFindStorageAccessMode(const std::string& str); 225 FindStorageAccessMode StringToFindStorageAccessMode(const std::string& str);
219 226
227 MaxStorageMode StringToMaxStorageMode(const std::string& str);
228
220 bool IsStorageAccessAllowedForAnswers(FindStorageAccessMode mode); 229 bool IsStorageAccessAllowedForAnswers(FindStorageAccessMode mode);
221 230
222 bool IsStorageAccessAllowedForLookup(FindStorageAccessMode mode); 231 bool IsStorageAccessAllowedForLookup(FindStorageAccessMode mode);
223 232
224 BuiltinDecoderTranscoderOrder StringToBuiltinDecoderTranscoderOrder(const std::string& str); 233 BuiltinDecoderTranscoderOrder StringToBuiltinDecoderTranscoderOrder(const std::string& str);