Mercurial > hg > orthanc-databases
annotate Framework/Plugins/GlobalProperties.h @ 360:1d57fac91104 OrthancOdbc-1.1
todo
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 28 Apr 2022 14:24:55 +0200 |
parents | e9ba888f371b |
children | 16aac0287485 |
rev | line source |
---|---|
0 | 1 /** |
2 * Orthanc - A Lightweight, RESTful DICOM Store | |
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | |
4 * Department, University Hospital of Liege, Belgium | |
193
3236894320d6
upgrade to year 2021
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
5 * Copyright (C) 2017-2021 Osimis S.A., Belgium |
0 | 6 * |
7 * This program is free software: you can redistribute it and/or | |
8 * modify it under the terms of the GNU Affero General Public License | |
9 * as published by the Free Software Foundation, either version 3 of | |
10 * the License, or (at your option) any later version. | |
11 * | |
12 * This program is distributed in the hope that it will be useful, but | |
13 * WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
15 * Affero General Public License for more details. | |
16 * | |
17 * You should have received a copy of the GNU Affero General Public License | |
18 * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
19 **/ | |
20 | |
21 | |
22 #pragma once | |
23 | |
221
73cc85f3d9c1
implementation of the "serverIdentifier" information for global properties
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
193
diff
changeset
|
24 #define MISSING_SERVER_IDENTIFIER "" |
73cc85f3d9c1
implementation of the "serverIdentifier" information for global properties
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
193
diff
changeset
|
25 |
152 | 26 |
27 namespace Orthanc | |
28 { | |
29 /** | |
239
e9ba888f371b
fix IndexBackend::SetGlobalProperty(), lighten GlobalProperty enum
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
237
diff
changeset
|
30 * The enum "GlobalProperty" is a subset of the "GlobalProperty_XXX" |
e9ba888f371b
fix IndexBackend::SetGlobalProperty(), lighten GlobalProperty enum
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
237
diff
changeset
|
31 * values from the Orthanc server that have a special meaning to the |
e9ba888f371b
fix IndexBackend::SetGlobalProperty(), lighten GlobalProperty enum
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
237
diff
changeset
|
32 * database plugins: |
152 | 33 * https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Sources/ServerEnumerations.h |
239
e9ba888f371b
fix IndexBackend::SetGlobalProperty(), lighten GlobalProperty enum
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
237
diff
changeset
|
34 * |
e9ba888f371b
fix IndexBackend::SetGlobalProperty(), lighten GlobalProperty enum
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
237
diff
changeset
|
35 * WARNING: The values must be the same between the Orthanc core and |
e9ba888f371b
fix IndexBackend::SetGlobalProperty(), lighten GlobalProperty enum
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
237
diff
changeset
|
36 * this enum! |
152 | 37 **/ |
38 | |
39 enum GlobalProperty | |
40 { | |
41 GlobalProperty_DatabaseSchemaVersion = 1, // Unused in the Orthanc core as of Orthanc 0.9.5 | |
42 GlobalProperty_GetTotalSizeIsFast = 6, // New in Orthanc 1.5.2 | |
43 | |
44 // Reserved values for internal use by the database plugins | |
45 GlobalProperty_DatabasePatchLevel = 4, | |
46 GlobalProperty_DatabaseInternal0 = 10, | |
47 GlobalProperty_DatabaseInternal1 = 11, | |
48 GlobalProperty_DatabaseInternal2 = 12, | |
49 GlobalProperty_DatabaseInternal3 = 13, | |
50 GlobalProperty_DatabaseInternal4 = 14, | |
51 GlobalProperty_DatabaseInternal5 = 15, | |
52 GlobalProperty_DatabaseInternal6 = 16, | |
53 GlobalProperty_DatabaseInternal7 = 17, | |
54 GlobalProperty_DatabaseInternal8 = 18, | |
239
e9ba888f371b
fix IndexBackend::SetGlobalProperty(), lighten GlobalProperty enum
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
237
diff
changeset
|
55 GlobalProperty_DatabaseInternal9 = 19 // Only used in unit tests |
152 | 56 }; |
57 } |