Mercurial > hg > orthanc
comparison OrthancServer/ServerEnumerations.h @ 3140:977158ab0623
making db-changes the new mainline
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Jan 2019 18:32:42 +0100 |
parents | aae1d6d31fef |
children | 94f4a18a79cc |
comparison
equal
deleted
inserted
replaced
3138:ab46e537f92e | 3140:977158ab0623 |
---|---|
54 StoreStatus_AlreadyStored, | 54 StoreStatus_AlreadyStored, |
55 StoreStatus_Failure, | 55 StoreStatus_Failure, |
56 StoreStatus_FilteredOut // Removed by NewInstanceFilter | 56 StoreStatus_FilteredOut // Removed by NewInstanceFilter |
57 }; | 57 }; |
58 | 58 |
59 enum IdentifierConstraintType | |
60 { | |
61 IdentifierConstraintType_Equal, | |
62 IdentifierConstraintType_SmallerOrEqual, | |
63 IdentifierConstraintType_GreaterOrEqual, | |
64 IdentifierConstraintType_Wildcard /* Case sensitive, "*" or "?" are the only allowed wildcards */ | |
65 }; | |
66 | |
67 enum DicomTagType | 59 enum DicomTagType |
68 { | 60 { |
69 DicomTagType_Identifier, // Tag that whose value is stored and indexed in the DB | 61 DicomTagType_Identifier, // Tag that whose value is stored and indexed in the DB |
70 DicomTagType_Main, // Tag that is stored in the DB (but not indexed) | 62 DicomTagType_Main, // Tag that is stored in the DB (but not indexed) |
71 DicomTagType_Generic // Tag that is only stored in the JSON files | 63 DicomTagType_Generic // Tag that is only stored in the JSON files |
78 ConstraintType_GreaterOrEqual, | 70 ConstraintType_GreaterOrEqual, |
79 ConstraintType_Wildcard, | 71 ConstraintType_Wildcard, |
80 ConstraintType_List | 72 ConstraintType_List |
81 }; | 73 }; |
82 | 74 |
75 namespace Compatibility | |
76 { | |
77 enum IdentifierConstraintType | |
78 { | |
79 IdentifierConstraintType_Equal, | |
80 IdentifierConstraintType_SmallerOrEqual, | |
81 IdentifierConstraintType_GreaterOrEqual, | |
82 IdentifierConstraintType_Wildcard /* Case sensitive, "*" or "?" are the only allowed wildcards */ | |
83 }; | |
84 } | |
85 | |
83 | 86 |
84 /** | 87 /** |
85 * WARNING: Do not change the explicit values in the enumerations | 88 * WARNING: Do not change the explicit values in the enumerations |
86 * below this point. This would result in incompatible databases | 89 * below this point. This would result in incompatible databases |
87 * between versions of Orthanc! | 90 * between versions of Orthanc! |
91 { | 94 { |
92 GlobalProperty_DatabaseSchemaVersion = 1, // Unused in the Orthanc core as of Orthanc 0.9.5 | 95 GlobalProperty_DatabaseSchemaVersion = 1, // Unused in the Orthanc core as of Orthanc 0.9.5 |
93 GlobalProperty_FlushSleep = 2, | 96 GlobalProperty_FlushSleep = 2, |
94 GlobalProperty_AnonymizationSequence = 3, | 97 GlobalProperty_AnonymizationSequence = 3, |
95 GlobalProperty_JobsRegistry = 5, | 98 GlobalProperty_JobsRegistry = 5, |
96 GlobalProperty_TotalCompressedSize = 6, // Reserved for Orthanc > 1.5.0 | 99 GlobalProperty_GetTotalSizeIsFast = 6, // New in Orthanc 1.5.2 |
97 GlobalProperty_TotalUncompressedSize = 7, // Reserved for Orthanc > 1.5.0 | |
98 GlobalProperty_Modalities = 20, // New in Orthanc 1.5.0 | 100 GlobalProperty_Modalities = 20, // New in Orthanc 1.5.0 |
99 GlobalProperty_Peers = 21, // New in Orthanc 1.5.0 | 101 GlobalProperty_Peers = 21, // New in Orthanc 1.5.0 |
100 | 102 |
101 // Reserved values for internal use by the database plugins | 103 // Reserved values for internal use by the database plugins |
102 GlobalProperty_DatabasePatchLevel = 4, | 104 GlobalProperty_DatabasePatchLevel = 4, |