Mercurial > hg > orthanc-python
annotate Sources/Autogenerated/sdk.cpp @ 149:0705e324fcc8
fix build by regenerating the code model
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 22 Nov 2023 09:33:06 +0100 |
parents | c55b0583084b |
children | 71d305c29cfa |
rev | line source |
---|---|
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 /** |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
2 * Python plugin for Orthanc |
114
65ec5597ec70
upgrade to year 2023
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
3 * Copyright (C) 2020-2023 Osimis S.A., Belgium |
65ec5597ec70
upgrade to year 2023
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
4 * Copyright (C) 2021-2023 Sebastien Jodogne, ICTEAM UCLouvain, Belgium |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
5 * |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
6 * This program is free software: you can redistribute it and/or |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
7 * modify it under the terms of the GNU Affero General Public License |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
8 * as published by the Free Software Foundation, either version 3 of |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
9 * the License, or (at your option) any later version. |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
10 * |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
11 * This program is distributed in the hope that it will be useful, but |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
12 * WITHOUT ANY WARRANTY; without even the implied warranty of |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
14 * Affero General Public License for more details. |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
15 * |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
16 * You should have received a copy of the GNU Affero General Public License |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
17 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
18 **/ |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
19 |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
20 |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
21 #include "sdk.h" |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
22 |
28
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1
diff
changeset
|
23 #include "../PythonLock.h" |
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1
diff
changeset
|
24 |
36
fd58eb5749ed
CMake simplification using DownloadOrthancFramework.cmake
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
28
diff
changeset
|
25 #include "../../Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h" |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
26 |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
27 #include "./sdk_OrthancPluginChangeType.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
28 #include "./sdk_OrthancPluginCompressionType.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
29 #include "./sdk_OrthancPluginConstraintType.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
30 #include "./sdk_OrthancPluginContentType.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
31 #include "./sdk_OrthancPluginCreateDicomFlags.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
32 #include "./sdk_OrthancPluginDicomToJsonFlags.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
33 #include "./sdk_OrthancPluginDicomToJsonFormat.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
34 #include "./sdk_OrthancPluginDicomWebBinaryMode.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
35 #include "./sdk_OrthancPluginErrorCode.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
36 #include "./sdk_OrthancPluginHttpMethod.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
37 #include "./sdk_OrthancPluginIdentifierConstraint.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
38 #include "./sdk_OrthancPluginImageFormat.impl.h" |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
39 #include "./sdk_OrthancPluginInstanceOrigin.impl.h" |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
40 #include "./sdk_OrthancPluginJobStepStatus.impl.h" |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
41 #include "./sdk_OrthancPluginJobStopReason.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
42 #include "./sdk_OrthancPluginMetricsType.impl.h" |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
43 #include "./sdk_OrthancPluginPixelFormat.impl.h" |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
44 #include "./sdk_OrthancPluginReceivedInstanceAction.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
45 #include "./sdk_OrthancPluginResourceType.impl.h" |
41
393d2da0722a
upgrade to Orthanc SDK 1.7.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
36
diff
changeset
|
46 #include "./sdk_OrthancPluginStorageCommitmentFailureReason.impl.h" |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
47 #include "./sdk_OrthancPluginValueRepresentation.impl.h" |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
48 |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
49 #include "./sdk_OrthancPluginDicomInstance.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
50 #include "./sdk_OrthancPluginDicomWebNode.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
51 #include "./sdk_OrthancPluginFindAnswers.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
52 #include "./sdk_OrthancPluginFindMatcher.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
53 #include "./sdk_OrthancPluginFindQuery.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
54 #include "./sdk_OrthancPluginImage.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
55 #include "./sdk_OrthancPluginJob.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
56 #include "./sdk_OrthancPluginPeers.impl.h" |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
57 #include "./sdk_OrthancPluginRestOutput.impl.h" |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
58 #include "./sdk_OrthancPluginServerChunkedRequestReader.impl.h" |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
59 #include "./sdk_OrthancPluginStorageArea.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
60 #include "./sdk_OrthancPluginWorklistAnswers.impl.h" |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
61 #include "./sdk_OrthancPluginWorklistQuery.impl.h" |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
62 |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
63 #include "./sdk_GlobalFunctions.impl.h" |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
64 |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
65 #include "./sdk_OrthancPluginDicomInstance.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
66 #include "./sdk_OrthancPluginDicomWebNode.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
67 #include "./sdk_OrthancPluginFindAnswers.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
68 #include "./sdk_OrthancPluginFindMatcher.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
69 #include "./sdk_OrthancPluginFindQuery.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
70 #include "./sdk_OrthancPluginImage.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
71 #include "./sdk_OrthancPluginJob.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
72 #include "./sdk_OrthancPluginPeers.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
73 #include "./sdk_OrthancPluginRestOutput.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
74 #include "./sdk_OrthancPluginServerChunkedRequestReader.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
75 #include "./sdk_OrthancPluginStorageArea.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
76 #include "./sdk_OrthancPluginWorklistAnswers.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
77 #include "./sdk_OrthancPluginWorklistQuery.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
78 |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
79 void RegisterOrthancSdk(PyObject* module) |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
80 { |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
81 RegisterOrthancPluginChangeTypeEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
82 RegisterOrthancPluginCompressionTypeEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
83 RegisterOrthancPluginConstraintTypeEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
84 RegisterOrthancPluginContentTypeEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
85 RegisterOrthancPluginCreateDicomFlagsEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
86 RegisterOrthancPluginDicomToJsonFlagsEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
87 RegisterOrthancPluginDicomToJsonFormatEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
88 RegisterOrthancPluginDicomWebBinaryModeEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
89 RegisterOrthancPluginErrorCodeEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
90 RegisterOrthancPluginHttpMethodEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
91 RegisterOrthancPluginIdentifierConstraintEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
92 RegisterOrthancPluginImageFormatEnumeration(module); |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
93 RegisterOrthancPluginInstanceOriginEnumeration(module); |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
94 RegisterOrthancPluginJobStepStatusEnumeration(module); |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
95 RegisterOrthancPluginJobStopReasonEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
96 RegisterOrthancPluginMetricsTypeEnumeration(module); |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
97 RegisterOrthancPluginPixelFormatEnumeration(module); |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
98 RegisterOrthancPluginReceivedInstanceActionEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
99 RegisterOrthancPluginResourceTypeEnumeration(module); |
41
393d2da0722a
upgrade to Orthanc SDK 1.7.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
36
diff
changeset
|
100 RegisterOrthancPluginStorageCommitmentFailureReasonEnumeration(module); |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
101 RegisterOrthancPluginValueRepresentationEnumeration(module); |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
102 |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
103 RegisterOrthancPluginDicomInstanceClass(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
104 RegisterOrthancPluginDicomWebNodeClass(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
105 RegisterOrthancPluginFindAnswersClass(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
106 RegisterOrthancPluginFindMatcherClass(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
107 RegisterOrthancPluginFindQueryClass(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
108 RegisterOrthancPluginImageClass(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
109 RegisterOrthancPluginJobClass(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
110 RegisterOrthancPluginPeersClass(module); |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
111 RegisterOrthancPluginRestOutputClass(module); |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
112 RegisterOrthancPluginServerChunkedRequestReaderClass(module); |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
113 RegisterOrthancPluginStorageAreaClass(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
114 RegisterOrthancPluginWorklistAnswersClass(module); |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
115 RegisterOrthancPluginWorklistQueryClass(module); |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
116 } |