Mercurial > hg > orthanc-python
comparison Sources/Autogenerated/CodeModel.json @ 145:8b310d571e5b
sync orthanc folder
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 13 Nov 2023 21:12:54 +0100 |
parents | 6288b8132659 |
children | 0705e324fcc8 |
comparison
equal
deleted
inserted
replaced
144:93c6f12bf339 | 145:8b310d571e5b |
---|---|
1 { | 1 { |
2 "classes": [ | 2 "classes": [ |
3 { | 3 { |
4 "class_name": "OrthancPluginDicomInstance", | 4 "class_name": "OrthancPluginDicomInstance", |
5 "custom_methods": [ | 5 "custom_methods": [ |
6 { | 6 { |
7 "class_name": "OrthancPluginDicomInstance", | 7 "class_name": "OrthancPluginDicomInstance", |
8 "implementation": "GetInstanceData", | 8 "implementation": "GetInstanceData", |
9 "method_name": "GetInstanceData", | 9 "method_name": "GetInstanceData", |
10 "sdk_function": "OrthancPluginGetInstanceData" | 10 "sdk_function": "OrthancPluginGetInstanceData" |
11 } | 11 } |
12 ], | 12 ], |
13 "destructor": "OrthancPluginFreeDicomInstance", | 13 "destructor": "OrthancPluginFreeDicomInstance", |
14 "methods": [ | 14 "methods": [ |
15 { | 15 { |
16 "args": [], | 16 "args": [], |
17 "c_function": "OrthancPluginGetInstanceRemoteAet", | 17 "c_function": "OrthancPluginGetInstanceRemoteAet", |
18 "return_sdk_type": "const char *", | 18 "return_sdk_type": "const char *", |
19 "return_static_string": true, | 19 "return_static_string": true, |
20 "self": ", self->object_", | 20 "self": ", self->object_", |
21 "short_name": "GetInstanceRemoteAet", | 21 "short_name": "GetInstanceRemoteAet", |
22 "tuple_format": "\"\", " | 22 "tuple_format": "\"\", " |
23 }, | 23 }, |
24 { | 24 { |
25 "args": [], | 25 "args": [], |
26 "c_function": "OrthancPluginGetInstanceSize", | 26 "c_function": "OrthancPluginGetInstanceSize", |
27 "return_long": true, | 27 "return_long": true, |
28 "return_sdk_type": "int64_t", | 28 "return_sdk_type": "int64_t", |
29 "self": ", self->object_", | 29 "self": ", self->object_", |
30 "short_name": "GetInstanceSize", | 30 "short_name": "GetInstanceSize", |
31 "tuple_format": "\"\", " | 31 "tuple_format": "\"\", " |
32 }, | 32 }, |
33 { | 33 { |
34 "args": [], | 34 "args": [], |
35 "c_function": "OrthancPluginGetInstanceJson", | 35 "c_function": "OrthancPluginGetInstanceJson", |
36 "return_dynamic_string": true, | 36 "return_dynamic_string": true, |
37 "return_sdk_type": "char *", | 37 "return_sdk_type": "char *", |
38 "self": ", self->object_", | 38 "self": ", self->object_", |
39 "short_name": "GetInstanceJson", | 39 "short_name": "GetInstanceJson", |
40 "tuple_format": "\"\", " | 40 "tuple_format": "\"\", " |
41 }, | 41 }, |
42 { | 42 { |
43 "args": [], | 43 "args": [], |
44 "c_function": "OrthancPluginGetInstanceSimplifiedJson", | 44 "c_function": "OrthancPluginGetInstanceSimplifiedJson", |
45 "return_dynamic_string": true, | 45 "return_dynamic_string": true, |
46 "return_sdk_type": "char *", | 46 "return_sdk_type": "char *", |
47 "self": ", self->object_", | 47 "self": ", self->object_", |
48 "short_name": "GetInstanceSimplifiedJson", | 48 "short_name": "GetInstanceSimplifiedJson", |
49 "tuple_format": "\"\", " | 49 "tuple_format": "\"\", " |
50 }, | 50 }, |
51 { | 51 { |
52 "args": [ | 52 "args": [ |
53 { | 53 { |
54 "initialization": " = NULL", | 54 "initialization": " = NULL", |
55 "name": "arg0", | 55 "name": "arg0", |
56 "orthanc_cast": "arg0", | 56 "orthanc_cast": "arg0", |
57 "python_format": "s", | 57 "python_format": "s", |
58 "python_type": "const char*", | 58 "python_type": "const char*", |
59 "sdk_name": "metadata", | 59 "sdk_name": "metadata", |
60 "sdk_type": "const char *" | 60 "sdk_type": "const char *" |
61 } | 61 } |
62 ], | 62 ], |
63 "c_function": "OrthancPluginHasInstanceMetadata", | 63 "c_function": "OrthancPluginHasInstanceMetadata", |
64 "call_args": ", arg0", | 64 "call_args": ", arg0", |
65 "count_args": 1, | 65 "count_args": 1, |
66 "has_args": true, | 66 "has_args": true, |
67 "return_long": true, | 67 "return_long": true, |
68 "return_sdk_type": "int32_t", | 68 "return_sdk_type": "int32_t", |
69 "self": ", self->object_", | 69 "self": ", self->object_", |
70 "short_name": "HasInstanceMetadata", | 70 "short_name": "HasInstanceMetadata", |
71 "tuple_format": "\"s\", &arg0" | 71 "tuple_format": "\"s\", &arg0" |
72 }, | 72 }, |
73 { | 73 { |
74 "args": [ | 74 "args": [ |
75 { | 75 { |
76 "initialization": " = NULL", | 76 "initialization": " = NULL", |
77 "name": "arg0", | 77 "name": "arg0", |
78 "orthanc_cast": "arg0", | 78 "orthanc_cast": "arg0", |
79 "python_format": "s", | 79 "python_format": "s", |
80 "python_type": "const char*", | 80 "python_type": "const char*", |
81 "sdk_name": "metadata", | 81 "sdk_name": "metadata", |
82 "sdk_type": "const char *" | 82 "sdk_type": "const char *" |
83 } | 83 } |
84 ], | 84 ], |
85 "c_function": "OrthancPluginGetInstanceMetadata", | 85 "c_function": "OrthancPluginGetInstanceMetadata", |
86 "call_args": ", arg0", | 86 "call_args": ", arg0", |
87 "count_args": 1, | 87 "count_args": 1, |
88 "has_args": true, | 88 "has_args": true, |
89 "return_sdk_type": "const char *", | 89 "return_sdk_type": "const char *", |
90 "return_static_string": true, | 90 "return_static_string": true, |
91 "self": ", self->object_", | 91 "self": ", self->object_", |
92 "short_name": "GetInstanceMetadata", | 92 "short_name": "GetInstanceMetadata", |
93 "tuple_format": "\"s\", &arg0" | 93 "tuple_format": "\"s\", &arg0" |
94 }, | 94 }, |
95 { | 95 { |
96 "args": [], | 96 "args": [], |
97 "c_function": "OrthancPluginGetInstanceOrigin", | 97 "c_function": "OrthancPluginGetInstanceOrigin", |
98 "return_enumeration": "OrthancPluginInstanceOrigin", | 98 "return_enumeration": "OrthancPluginInstanceOrigin", |
99 "return_sdk_enumeration": "OrthancPluginInstanceOrigin", | 99 "return_sdk_enumeration": "OrthancPluginInstanceOrigin", |
100 "return_sdk_type": "enumeration", | 100 "return_sdk_type": "enumeration", |
101 "self": ", self->object_", | 101 "self": ", self->object_", |
102 "short_name": "GetInstanceOrigin", | 102 "short_name": "GetInstanceOrigin", |
103 "tuple_format": "\"\", " | 103 "tuple_format": "\"\", " |
104 }, | 104 }, |
105 { | 105 { |
106 "args": [], | 106 "args": [], |
107 "c_function": "OrthancPluginGetInstanceTransferSyntaxUid", | 107 "c_function": "OrthancPluginGetInstanceTransferSyntaxUid", |
108 "return_dynamic_string": true, | 108 "return_dynamic_string": true, |
109 "return_sdk_type": "char *", | 109 "return_sdk_type": "char *", |
110 "self": ", self->object_", | 110 "self": ", self->object_", |
111 "short_name": "GetInstanceTransferSyntaxUid", | 111 "short_name": "GetInstanceTransferSyntaxUid", |
112 "tuple_format": "\"\", " | 112 "tuple_format": "\"\", " |
113 }, | 113 }, |
114 { | 114 { |
115 "args": [], | 115 "args": [], |
116 "c_function": "OrthancPluginHasInstancePixelData", | 116 "c_function": "OrthancPluginHasInstancePixelData", |
117 "return_long": true, | 117 "return_long": true, |
118 "return_sdk_type": "int32_t", | 118 "return_sdk_type": "int32_t", |
119 "self": ", self->object_", | 119 "self": ", self->object_", |
120 "short_name": "HasInstancePixelData", | 120 "short_name": "HasInstancePixelData", |
121 "tuple_format": "\"\", " | 121 "tuple_format": "\"\", " |
122 }, | 122 }, |
123 { | 123 { |
124 "args": [], | 124 "args": [], |
125 "c_function": "OrthancPluginGetInstanceFramesCount", | 125 "c_function": "OrthancPluginGetInstanceFramesCount", |
126 "return_long": true, | 126 "return_long": true, |
127 "return_sdk_type": "uint32_t", | 127 "return_sdk_type": "uint32_t", |
128 "self": ", self->object_", | 128 "self": ", self->object_", |
129 "short_name": "GetInstanceFramesCount", | 129 "short_name": "GetInstanceFramesCount", |
130 "tuple_format": "\"\", " | 130 "tuple_format": "\"\", " |
131 }, | 131 }, |
132 { | 132 { |
133 "args": [ | 133 "args": [ |
134 { | 134 { |
135 "initialization": " = 0", | 135 "initialization": " = 0", |
136 "name": "arg0", | 136 "name": "arg0", |
137 "orthanc_cast": "arg0", | 137 "orthanc_cast": "arg0", |
138 "python_format": "k", | 138 "python_format": "k", |
139 "python_type": "unsigned long", | 139 "python_type": "unsigned long", |
140 "sdk_name": "frameIndex", | 140 "sdk_name": "frameIndex", |
141 "sdk_type": "uint32_t" | 141 "sdk_type": "uint32_t" |
142 } | 142 } |
143 ], | 143 ], |
144 "c_function": "OrthancPluginGetInstanceRawFrame", | 144 "c_function": "OrthancPluginGetInstanceRawFrame", |
145 "call_args": ", arg0", | 145 "call_args": ", arg0", |
146 "count_args": 1, | 146 "count_args": 1, |
147 "has_args": true, | 147 "has_args": true, |
148 "return_bytes": true, | 148 "return_bytes": true, |
149 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 149 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
150 "self": ", self->object_", | 150 "self": ", self->object_", |
151 "short_name": "GetInstanceRawFrame", | 151 "short_name": "GetInstanceRawFrame", |
152 "tuple_format": "\"k\", &arg0" | 152 "tuple_format": "\"k\", &arg0" |
153 }, | 153 }, |
154 { | 154 { |
155 "args": [ | 155 "args": [ |
156 { | 156 { |
157 "initialization": " = 0", | 157 "initialization": " = 0", |
158 "name": "arg0", | 158 "name": "arg0", |
159 "orthanc_cast": "arg0", | 159 "orthanc_cast": "arg0", |
160 "python_format": "k", | 160 "python_format": "k", |
161 "python_type": "unsigned long", | 161 "python_type": "unsigned long", |
162 "sdk_name": "frameIndex", | 162 "sdk_name": "frameIndex", |
163 "sdk_type": "uint32_t" | 163 "sdk_type": "uint32_t" |
164 } | 164 } |
165 ], | 165 ], |
166 "c_function": "OrthancPluginGetInstanceDecodedFrame", | 166 "c_function": "OrthancPluginGetInstanceDecodedFrame", |
167 "call_args": ", arg0", | 167 "call_args": ", arg0", |
168 "count_args": 1, | 168 "count_args": 1, |
169 "has_args": true, | 169 "has_args": true, |
170 "return_object": "OrthancPluginImage", | 170 "return_object": "OrthancPluginImage", |
171 "return_sdk_class": "OrthancPluginImage", | 171 "return_sdk_class": "OrthancPluginImage", |
172 "return_sdk_type": "object", | 172 "return_sdk_type": "object", |
173 "self": ", self->object_", | 173 "self": ", self->object_", |
174 "short_name": "GetInstanceDecodedFrame", | 174 "short_name": "GetInstanceDecodedFrame", |
175 "tuple_format": "\"k\", &arg0" | 175 "tuple_format": "\"k\", &arg0" |
176 }, | 176 }, |
177 { | 177 { |
178 "args": [], | 178 "args": [], |
179 "c_function": "OrthancPluginSerializeDicomInstance", | 179 "c_function": "OrthancPluginSerializeDicomInstance", |
180 "return_bytes": true, | 180 "return_bytes": true, |
181 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 181 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
182 "self": ", self->object_", | 182 "self": ", self->object_", |
183 "short_name": "SerializeDicomInstance", | 183 "short_name": "SerializeDicomInstance", |
184 "tuple_format": "\"\", " | 184 "tuple_format": "\"\", " |
185 }, | 185 }, |
186 { | 186 { |
187 "args": [ | 187 "args": [ |
188 { | 188 { |
189 "initialization": " = 0", | 189 "initialization": " = 0", |
190 "name": "arg0", | 190 "name": "arg0", |
191 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFormat>(arg0)", | 191 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFormat>(arg0)", |
192 "python_format": "l", | 192 "python_format": "l", |
193 "python_type": "long int", | 193 "python_type": "long int", |
194 "sdk_enumeration": "OrthancPluginDicomToJsonFormat", | 194 "sdk_enumeration": "OrthancPluginDicomToJsonFormat", |
195 "sdk_name": "format", | 195 "sdk_name": "format", |
196 "sdk_type": "enumeration" | 196 "sdk_type": "enumeration" |
197 }, | 197 }, |
198 { | 198 { |
199 "initialization": " = 0", | 199 "initialization": " = 0", |
200 "name": "arg1", | 200 "name": "arg1", |
201 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFlags>(arg1)", | 201 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFlags>(arg1)", |
202 "python_format": "l", | 202 "python_format": "l", |
203 "python_type": "long int", | 203 "python_type": "long int", |
204 "sdk_enumeration": "OrthancPluginDicomToJsonFlags", | 204 "sdk_enumeration": "OrthancPluginDicomToJsonFlags", |
205 "sdk_name": "flags", | 205 "sdk_name": "flags", |
206 "sdk_type": "enumeration" | 206 "sdk_type": "enumeration" |
207 }, | 207 }, |
208 { | 208 { |
209 "initialization": " = 0", | 209 "initialization": " = 0", |
210 "name": "arg2", | 210 "name": "arg2", |
211 "orthanc_cast": "arg2", | 211 "orthanc_cast": "arg2", |
212 "python_format": "k", | 212 "python_format": "k", |
213 "python_type": "unsigned long", | 213 "python_type": "unsigned long", |
214 "sdk_name": "maxStringLength", | 214 "sdk_name": "maxStringLength", |
215 "sdk_type": "uint32_t" | 215 "sdk_type": "uint32_t" |
216 } | 216 } |
217 ], | 217 ], |
218 "c_function": "OrthancPluginGetInstanceAdvancedJson", | 218 "c_function": "OrthancPluginGetInstanceAdvancedJson", |
219 "call_args": ", static_cast<OrthancPluginDicomToJsonFormat>(arg0), static_cast<OrthancPluginDicomToJsonFlags>(arg1), arg2", | 219 "call_args": ", static_cast<OrthancPluginDicomToJsonFormat>(arg0), static_cast<OrthancPluginDicomToJsonFlags>(arg1), arg2", |
220 "count_args": 3, | 220 "count_args": 3, |
221 "has_args": true, | 221 "has_args": true, |
222 "return_dynamic_string": true, | 222 "return_dynamic_string": true, |
223 "return_sdk_type": "char *", | 223 "return_sdk_type": "char *", |
224 "self": ", self->object_", | 224 "self": ", self->object_", |
225 "short_name": "GetInstanceAdvancedJson", | 225 "short_name": "GetInstanceAdvancedJson", |
226 "tuple_format": "\"llk\", &arg0, &arg1, &arg2" | 226 "tuple_format": "\"llk\", &arg0, &arg1, &arg2" |
227 } | 227 } |
228 ], | 228 ], |
229 "short_name": "DicomInstance" | 229 "short_name": "DicomInstance" |
230 }, | 230 }, |
231 { | 231 { |
232 "class_name": "OrthancPluginDicomWebNode", | 232 "class_name": "OrthancPluginDicomWebNode", |
233 "custom_methods": [], | 233 "custom_methods": [], |
234 "methods": [], | 234 "methods": [], |
235 "short_name": "DicomWebNode" | 235 "short_name": "DicomWebNode" |
236 }, | 236 }, |
237 { | 237 { |
238 "class_name": "OrthancPluginFindAnswers", | 238 "class_name": "OrthancPluginFindAnswers", |
239 "custom_methods": [], | 239 "custom_methods": [], |
240 "methods": [ | 240 "methods": [ |
241 { | 241 { |
242 "args": [ | 242 "args": [ |
243 { | 243 { |
244 "name": "arg0", | 244 "name": "arg0", |
245 "orthanc_cast": "arg0.buf, arg0.len", | 245 "orthanc_cast": "arg0.buf, arg0.len", |
246 "python_format": "s*", | 246 "python_format": "s*", |
247 "python_type": "Py_buffer", | 247 "python_type": "Py_buffer", |
248 "release": "PyBuffer_Release(&arg0);", | 248 "release": "PyBuffer_Release(&arg0);", |
249 "sdk_name": "dicom", | 249 "sdk_name": "dicom", |
250 "sdk_type": "const_void_pointer_with_size" | 250 "sdk_type": "const_void_pointer_with_size" |
251 } | 251 } |
252 ], | 252 ], |
253 "c_function": "OrthancPluginFindAddAnswer", | 253 "c_function": "OrthancPluginFindAddAnswer", |
254 "call_args": ", arg0.buf, arg0.len", | 254 "call_args": ", arg0.buf, arg0.len", |
255 "count_args": 1, | 255 "count_args": 1, |
256 "has_args": true, | 256 "has_args": true, |
257 "return_error": true, | 257 "return_error": true, |
258 "return_sdk_enumeration": "OrthancPluginErrorCode", | 258 "return_sdk_enumeration": "OrthancPluginErrorCode", |
259 "return_sdk_type": "enumeration", | 259 "return_sdk_type": "enumeration", |
260 "self": ", self->object_", | 260 "self": ", self->object_", |
261 "short_name": "FindAddAnswer", | 261 "short_name": "FindAddAnswer", |
262 "tuple_format": "\"s*\", &arg0" | 262 "tuple_format": "\"s*\", &arg0" |
263 }, | 263 }, |
264 { | 264 { |
265 "args": [], | 265 "args": [], |
266 "c_function": "OrthancPluginFindMarkIncomplete", | 266 "c_function": "OrthancPluginFindMarkIncomplete", |
267 "return_error": true, | 267 "return_error": true, |
268 "return_sdk_enumeration": "OrthancPluginErrorCode", | 268 "return_sdk_enumeration": "OrthancPluginErrorCode", |
269 "return_sdk_type": "enumeration", | 269 "return_sdk_type": "enumeration", |
270 "self": ", self->object_", | 270 "self": ", self->object_", |
271 "short_name": "FindMarkIncomplete", | 271 "short_name": "FindMarkIncomplete", |
272 "tuple_format": "\"\", " | 272 "tuple_format": "\"\", " |
273 } | 273 } |
274 ], | 274 ], |
275 "short_name": "FindAnswers" | 275 "short_name": "FindAnswers" |
276 }, | 276 }, |
277 { | 277 { |
278 "class_name": "OrthancPluginFindMatcher", | 278 "class_name": "OrthancPluginFindMatcher", |
279 "custom_methods": [], | 279 "custom_methods": [], |
280 "destructor": "OrthancPluginFreeFindMatcher", | 280 "destructor": "OrthancPluginFreeFindMatcher", |
281 "methods": [ | 281 "methods": [ |
282 { | 282 { |
283 "args": [ | 283 "args": [ |
284 { | 284 { |
285 "name": "arg0", | 285 "name": "arg0", |
286 "orthanc_cast": "arg0.buf, arg0.len", | 286 "orthanc_cast": "arg0.buf, arg0.len", |
287 "python_format": "s*", | 287 "python_format": "s*", |
288 "python_type": "Py_buffer", | 288 "python_type": "Py_buffer", |
289 "release": "PyBuffer_Release(&arg0);", | 289 "release": "PyBuffer_Release(&arg0);", |
290 "sdk_name": "dicom", | 290 "sdk_name": "dicom", |
291 "sdk_type": "const_void_pointer_with_size" | 291 "sdk_type": "const_void_pointer_with_size" |
292 } | 292 } |
293 ], | 293 ], |
294 "c_function": "OrthancPluginFindMatcherIsMatch", | 294 "c_function": "OrthancPluginFindMatcherIsMatch", |
295 "call_args": ", arg0.buf, arg0.len", | 295 "call_args": ", arg0.buf, arg0.len", |
296 "count_args": 1, | 296 "count_args": 1, |
297 "has_args": true, | 297 "has_args": true, |
298 "return_long": true, | 298 "return_long": true, |
299 "return_sdk_type": "int32_t", | 299 "return_sdk_type": "int32_t", |
300 "self": ", self->object_", | 300 "self": ", self->object_", |
301 "short_name": "FindMatcherIsMatch", | 301 "short_name": "FindMatcherIsMatch", |
302 "tuple_format": "\"s*\", &arg0" | 302 "tuple_format": "\"s*\", &arg0" |
303 } | 303 } |
304 ], | 304 ], |
305 "short_name": "FindMatcher" | 305 "short_name": "FindMatcher" |
306 }, | 306 }, |
307 { | 307 { |
308 "class_name": "OrthancPluginFindQuery", | 308 "class_name": "OrthancPluginFindQuery", |
309 "custom_methods": [ | 309 "custom_methods": [ |
310 { | 310 { |
311 "class_name": "OrthancPluginFindQuery", | 311 "class_name": "OrthancPluginFindQuery", |
312 "implementation": "GetFindQueryTagGroup", | 312 "implementation": "GetFindQueryTagGroup", |
313 "method_name": "GetFindQueryTagGroup", | 313 "method_name": "GetFindQueryTagGroup", |
314 "sdk_function": "OrthancPluginGetFindQueryTag" | 314 "sdk_function": "OrthancPluginGetFindQueryTag" |
315 }, | 315 }, |
316 { | 316 { |
317 "class_name": "OrthancPluginFindQuery", | 317 "class_name": "OrthancPluginFindQuery", |
318 "implementation": "GetFindQueryTagElement", | 318 "implementation": "GetFindQueryTagElement", |
319 "method_name": "GetFindQueryTagElement", | 319 "method_name": "GetFindQueryTagElement", |
320 "sdk_function": "OrthancPluginGetFindQueryTag" | 320 "sdk_function": "OrthancPluginGetFindQueryTag" |
321 } | 321 } |
322 ], | 322 ], |
323 "methods": [ | 323 "methods": [ |
324 { | 324 { |
325 "args": [], | 325 "args": [], |
326 "c_function": "OrthancPluginGetFindQuerySize", | 326 "c_function": "OrthancPluginGetFindQuerySize", |
327 "return_long": true, | 327 "return_long": true, |
328 "return_sdk_type": "uint32_t", | 328 "return_sdk_type": "uint32_t", |
329 "self": ", self->object_", | 329 "self": ", self->object_", |
330 "short_name": "GetFindQuerySize", | 330 "short_name": "GetFindQuerySize", |
331 "tuple_format": "\"\", " | 331 "tuple_format": "\"\", " |
332 }, | 332 }, |
333 { | 333 { |
334 "args": [ | 334 "args": [ |
335 { | 335 { |
336 "initialization": " = 0", | 336 "initialization": " = 0", |
337 "name": "arg0", | 337 "name": "arg0", |
338 "orthanc_cast": "arg0", | 338 "orthanc_cast": "arg0", |
339 "python_format": "k", | 339 "python_format": "k", |
340 "python_type": "unsigned long", | 340 "python_type": "unsigned long", |
341 "sdk_name": "index", | 341 "sdk_name": "index", |
342 "sdk_type": "uint32_t" | 342 "sdk_type": "uint32_t" |
343 } | 343 } |
344 ], | 344 ], |
345 "c_function": "OrthancPluginGetFindQueryTagName", | 345 "c_function": "OrthancPluginGetFindQueryTagName", |
346 "call_args": ", arg0", | 346 "call_args": ", arg0", |
347 "count_args": 1, | 347 "count_args": 1, |
348 "has_args": true, | 348 "has_args": true, |
349 "return_dynamic_string": true, | 349 "return_dynamic_string": true, |
350 "return_sdk_type": "char *", | 350 "return_sdk_type": "char *", |
351 "self": ", self->object_", | 351 "self": ", self->object_", |
352 "short_name": "GetFindQueryTagName", | 352 "short_name": "GetFindQueryTagName", |
353 "tuple_format": "\"k\", &arg0" | 353 "tuple_format": "\"k\", &arg0" |
354 }, | 354 }, |
355 { | 355 { |
356 "args": [ | 356 "args": [ |
357 { | 357 { |
358 "initialization": " = 0", | 358 "initialization": " = 0", |
359 "name": "arg0", | 359 "name": "arg0", |
360 "orthanc_cast": "arg0", | 360 "orthanc_cast": "arg0", |
361 "python_format": "k", | 361 "python_format": "k", |
362 "python_type": "unsigned long", | 362 "python_type": "unsigned long", |
363 "sdk_name": "index", | 363 "sdk_name": "index", |
364 "sdk_type": "uint32_t" | 364 "sdk_type": "uint32_t" |
365 } | 365 } |
366 ], | 366 ], |
367 "c_function": "OrthancPluginGetFindQueryValue", | 367 "c_function": "OrthancPluginGetFindQueryValue", |
368 "call_args": ", arg0", | 368 "call_args": ", arg0", |
369 "count_args": 1, | 369 "count_args": 1, |
370 "has_args": true, | 370 "has_args": true, |
371 "return_dynamic_string": true, | 371 "return_dynamic_string": true, |
372 "return_sdk_type": "char *", | 372 "return_sdk_type": "char *", |
373 "self": ", self->object_", | 373 "self": ", self->object_", |
374 "short_name": "GetFindQueryValue", | 374 "short_name": "GetFindQueryValue", |
375 "tuple_format": "\"k\", &arg0" | 375 "tuple_format": "\"k\", &arg0" |
376 } | 376 } |
377 ], | 377 ], |
378 "short_name": "FindQuery" | 378 "short_name": "FindQuery" |
379 }, | 379 }, |
380 { | 380 { |
381 "class_name": "OrthancPluginImage", | 381 "class_name": "OrthancPluginImage", |
382 "custom_methods": [ | 382 "custom_methods": [ |
383 { | 383 { |
384 "class_name": "OrthancPluginImage", | 384 "class_name": "OrthancPluginImage", |
385 "implementation": "GetImageBuffer", | 385 "implementation": "GetImageBuffer", |
386 "method_name": "GetImageBuffer", | 386 "method_name": "GetImageBuffer", |
387 "sdk_function": "OrthancPluginGetImageBuffer" | 387 "sdk_function": "OrthancPluginGetImageBuffer" |
388 } | 388 } |
389 ], | 389 ], |
390 "destructor": "OrthancPluginFreeImage", | 390 "destructor": "OrthancPluginFreeImage", |
391 "methods": [ | 391 "methods": [ |
392 { | 392 { |
393 "args": [], | 393 "args": [], |
394 "c_function": "OrthancPluginGetImagePixelFormat", | 394 "c_function": "OrthancPluginGetImagePixelFormat", |
395 "return_enumeration": "OrthancPluginPixelFormat", | 395 "return_enumeration": "OrthancPluginPixelFormat", |
396 "return_sdk_enumeration": "OrthancPluginPixelFormat", | 396 "return_sdk_enumeration": "OrthancPluginPixelFormat", |
397 "return_sdk_type": "enumeration", | 397 "return_sdk_type": "enumeration", |
398 "self": ", self->object_", | 398 "self": ", self->object_", |
399 "short_name": "GetImagePixelFormat", | 399 "short_name": "GetImagePixelFormat", |
400 "tuple_format": "\"\", " | 400 "tuple_format": "\"\", " |
401 }, | 401 }, |
402 { | 402 { |
403 "args": [], | 403 "args": [], |
404 "c_function": "OrthancPluginGetImageWidth", | 404 "c_function": "OrthancPluginGetImageWidth", |
405 "return_long": true, | 405 "return_long": true, |
406 "return_sdk_type": "uint32_t", | 406 "return_sdk_type": "uint32_t", |
407 "self": ", self->object_", | 407 "self": ", self->object_", |
408 "short_name": "GetImageWidth", | 408 "short_name": "GetImageWidth", |
409 "tuple_format": "\"\", " | 409 "tuple_format": "\"\", " |
410 }, | 410 }, |
411 { | 411 { |
412 "args": [], | 412 "args": [], |
413 "c_function": "OrthancPluginGetImageHeight", | 413 "c_function": "OrthancPluginGetImageHeight", |
414 "return_long": true, | 414 "return_long": true, |
415 "return_sdk_type": "uint32_t", | 415 "return_sdk_type": "uint32_t", |
416 "self": ", self->object_", | 416 "self": ", self->object_", |
417 "short_name": "GetImageHeight", | 417 "short_name": "GetImageHeight", |
418 "tuple_format": "\"\", " | 418 "tuple_format": "\"\", " |
419 }, | 419 }, |
420 { | 420 { |
421 "args": [], | 421 "args": [], |
422 "c_function": "OrthancPluginGetImagePitch", | 422 "c_function": "OrthancPluginGetImagePitch", |
423 "return_long": true, | 423 "return_long": true, |
424 "return_sdk_type": "uint32_t", | 424 "return_sdk_type": "uint32_t", |
425 "self": ", self->object_", | 425 "self": ", self->object_", |
426 "short_name": "GetImagePitch", | 426 "short_name": "GetImagePitch", |
427 "tuple_format": "\"\", " | 427 "tuple_format": "\"\", " |
428 }, | 428 }, |
429 { | 429 { |
430 "args": [ | 430 "args": [ |
431 { | 431 { |
432 "initialization": " = 0", | 432 "initialization": " = 0", |
433 "name": "arg0", | 433 "name": "arg0", |
434 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", | 434 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", |
435 "python_format": "l", | 435 "python_format": "l", |
436 "python_type": "long int", | 436 "python_type": "long int", |
437 "sdk_enumeration": "OrthancPluginPixelFormat", | 437 "sdk_enumeration": "OrthancPluginPixelFormat", |
438 "sdk_name": "targetFormat", | 438 "sdk_name": "targetFormat", |
439 "sdk_type": "enumeration" | 439 "sdk_type": "enumeration" |
440 } | 440 } |
441 ], | 441 ], |
442 "c_function": "OrthancPluginConvertPixelFormat", | 442 "c_function": "OrthancPluginConvertPixelFormat", |
443 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0)", | 443 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0)", |
444 "count_args": 1, | 444 "count_args": 1, |
445 "has_args": true, | 445 "has_args": true, |
446 "return_object": "OrthancPluginImage", | 446 "return_object": "OrthancPluginImage", |
447 "return_sdk_class": "OrthancPluginImage", | 447 "return_sdk_class": "OrthancPluginImage", |
448 "return_sdk_type": "object", | 448 "return_sdk_type": "object", |
449 "self": ", self->object_", | 449 "self": ", self->object_", |
450 "short_name": "ConvertPixelFormat", | 450 "short_name": "ConvertPixelFormat", |
451 "tuple_format": "\"l\", &arg0" | 451 "tuple_format": "\"l\", &arg0" |
452 }, | 452 }, |
453 { | 453 { |
454 "args": [ | 454 "args": [ |
455 { | 455 { |
456 "initialization": " = 0", | 456 "initialization": " = 0", |
457 "name": "arg0", | 457 "name": "arg0", |
458 "orthanc_cast": "arg0", | 458 "orthanc_cast": "arg0", |
459 "python_format": "k", | 459 "python_format": "k", |
460 "python_type": "unsigned long", | 460 "python_type": "unsigned long", |
461 "sdk_name": "fontIndex", | 461 "sdk_name": "fontIndex", |
462 "sdk_type": "uint32_t" | 462 "sdk_type": "uint32_t" |
463 }, | 463 }, |
464 { | 464 { |
465 "initialization": " = NULL", | 465 "initialization": " = NULL", |
466 "name": "arg1", | 466 "name": "arg1", |
467 "orthanc_cast": "arg1", | 467 "orthanc_cast": "arg1", |
468 "python_format": "s", | 468 "python_format": "s", |
469 "python_type": "const char*", | 469 "python_type": "const char*", |
470 "sdk_name": "utf8Text", | 470 "sdk_name": "utf8Text", |
471 "sdk_type": "const char *" | 471 "sdk_type": "const char *" |
472 }, | 472 }, |
473 { | 473 { |
474 "initialization": " = 0", | 474 "initialization": " = 0", |
475 "name": "arg2", | 475 "name": "arg2", |
476 "orthanc_cast": "arg2", | 476 "orthanc_cast": "arg2", |
477 "python_format": "l", | 477 "python_format": "l", |
478 "python_type": "long int", | 478 "python_type": "long int", |
479 "sdk_name": "x", | 479 "sdk_name": "x", |
480 "sdk_type": "int32_t" | 480 "sdk_type": "int32_t" |
481 }, | 481 }, |
482 { | 482 { |
483 "initialization": " = 0", | 483 "initialization": " = 0", |
484 "name": "arg3", | 484 "name": "arg3", |
485 "orthanc_cast": "arg3", | 485 "orthanc_cast": "arg3", |
486 "python_format": "l", | 486 "python_format": "l", |
487 "python_type": "long int", | 487 "python_type": "long int", |
488 "sdk_name": "y", | 488 "sdk_name": "y", |
489 "sdk_type": "int32_t" | 489 "sdk_type": "int32_t" |
490 }, | 490 }, |
491 { | 491 { |
492 "initialization": " = 0", | 492 "initialization": " = 0", |
493 "name": "arg4", | 493 "name": "arg4", |
494 "orthanc_cast": "arg4", | 494 "orthanc_cast": "arg4", |
495 "python_format": "b", | 495 "python_format": "b", |
496 "python_type": "unsigned char", | 496 "python_type": "unsigned char", |
497 "sdk_name": "r", | 497 "sdk_name": "r", |
498 "sdk_type": "uint8_t" | 498 "sdk_type": "uint8_t" |
499 }, | 499 }, |
500 { | 500 { |
501 "initialization": " = 0", | 501 "initialization": " = 0", |
502 "name": "arg5", | 502 "name": "arg5", |
503 "orthanc_cast": "arg5", | 503 "orthanc_cast": "arg5", |
504 "python_format": "b", | 504 "python_format": "b", |
505 "python_type": "unsigned char", | 505 "python_type": "unsigned char", |
506 "sdk_name": "g", | 506 "sdk_name": "g", |
507 "sdk_type": "uint8_t" | 507 "sdk_type": "uint8_t" |
508 }, | 508 }, |
509 { | 509 { |
510 "initialization": " = 0", | 510 "initialization": " = 0", |
511 "name": "arg6", | 511 "name": "arg6", |
512 "orthanc_cast": "arg6", | 512 "orthanc_cast": "arg6", |
513 "python_format": "b", | 513 "python_format": "b", |
514 "python_type": "unsigned char", | 514 "python_type": "unsigned char", |
515 "sdk_name": "b", | 515 "sdk_name": "b", |
516 "sdk_type": "uint8_t" | 516 "sdk_type": "uint8_t" |
517 } | 517 } |
518 ], | 518 ], |
519 "c_function": "OrthancPluginDrawText", | 519 "c_function": "OrthancPluginDrawText", |
520 "call_args": ", arg0, arg1, arg2, arg3, arg4, arg5, arg6", | 520 "call_args": ", arg0, arg1, arg2, arg3, arg4, arg5, arg6", |
521 "count_args": 7, | 521 "count_args": 7, |
522 "has_args": true, | 522 "has_args": true, |
523 "return_error": true, | 523 "return_error": true, |
524 "return_sdk_enumeration": "OrthancPluginErrorCode", | 524 "return_sdk_enumeration": "OrthancPluginErrorCode", |
525 "return_sdk_type": "enumeration", | 525 "return_sdk_type": "enumeration", |
526 "self": ", self->object_", | 526 "self": ", self->object_", |
527 "short_name": "DrawText", | 527 "short_name": "DrawText", |
528 "tuple_format": "\"ksllbbb\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5, &arg6" | 528 "tuple_format": "\"ksllbbb\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5, &arg6" |
529 } | 529 } |
530 ], | 530 ], |
531 "short_name": "Image" | 531 "short_name": "Image" |
532 }, | 532 }, |
533 { | 533 { |
534 "class_name": "OrthancPluginJob", | 534 "class_name": "OrthancPluginJob", |
535 "custom_methods": [], | 535 "custom_methods": [], |
536 "destructor": "OrthancPluginFreeJob", | 536 "destructor": "OrthancPluginFreeJob", |
537 "methods": [ | 537 "methods": [ |
538 { | 538 { |
539 "args": [ | 539 "args": [ |
540 { | 540 { |
541 "initialization": " = 0", | 541 "initialization": " = 0", |
542 "name": "arg0", | 542 "name": "arg0", |
543 "orthanc_cast": "arg0", | 543 "orthanc_cast": "arg0", |
544 "python_format": "l", | 544 "python_format": "l", |
545 "python_type": "long int", | 545 "python_type": "long int", |
546 "sdk_name": "priority", | 546 "sdk_name": "priority", |
547 "sdk_type": "int32_t" | 547 "sdk_type": "int32_t" |
548 } | 548 } |
549 ], | 549 ], |
550 "c_function": "OrthancPluginSubmitJob", | 550 "c_function": "OrthancPluginSubmitJob", |
551 "call_args": ", arg0", | 551 "call_args": ", arg0", |
552 "count_args": 1, | 552 "count_args": 1, |
553 "has_args": true, | 553 "has_args": true, |
554 "return_dynamic_string": true, | 554 "return_dynamic_string": true, |
555 "return_sdk_type": "char *", | 555 "return_sdk_type": "char *", |
556 "self": ", self->object_", | 556 "self": ", self->object_", |
557 "short_name": "SubmitJob", | 557 "short_name": "SubmitJob", |
558 "tuple_format": "\"l\", &arg0" | 558 "tuple_format": "\"l\", &arg0" |
559 } | 559 } |
560 ], | 560 ], |
561 "short_name": "Job" | 561 "short_name": "Job" |
562 }, | 562 }, |
563 { | 563 { |
564 "class_name": "OrthancPluginPeers", | 564 "class_name": "OrthancPluginPeers", |
565 "custom_methods": [], | 565 "custom_methods": [], |
566 "destructor": "OrthancPluginFreePeers", | 566 "destructor": "OrthancPluginFreePeers", |
567 "methods": [ | 567 "methods": [ |
568 { | 568 { |
569 "args": [], | 569 "args": [], |
570 "c_function": "OrthancPluginGetPeersCount", | 570 "c_function": "OrthancPluginGetPeersCount", |
571 "return_long": true, | 571 "return_long": true, |
572 "return_sdk_type": "uint32_t", | 572 "return_sdk_type": "uint32_t", |
573 "self": ", self->object_", | 573 "self": ", self->object_", |
574 "short_name": "GetPeersCount", | 574 "short_name": "GetPeersCount", |
575 "tuple_format": "\"\", " | 575 "tuple_format": "\"\", " |
576 }, | 576 }, |
577 { | 577 { |
578 "args": [ | 578 "args": [ |
579 { | 579 { |
580 "initialization": " = 0", | 580 "initialization": " = 0", |
581 "name": "arg0", | 581 "name": "arg0", |
582 "orthanc_cast": "arg0", | 582 "orthanc_cast": "arg0", |
583 "python_format": "k", | 583 "python_format": "k", |
584 "python_type": "unsigned long", | 584 "python_type": "unsigned long", |
585 "sdk_name": "peerIndex", | 585 "sdk_name": "peerIndex", |
586 "sdk_type": "uint32_t" | 586 "sdk_type": "uint32_t" |
587 } | 587 } |
588 ], | 588 ], |
589 "c_function": "OrthancPluginGetPeerName", | 589 "c_function": "OrthancPluginGetPeerName", |
590 "call_args": ", arg0", | 590 "call_args": ", arg0", |
591 "count_args": 1, | 591 "count_args": 1, |
592 "has_args": true, | 592 "has_args": true, |
593 "return_sdk_type": "const char *", | 593 "return_sdk_type": "const char *", |
594 "return_static_string": true, | 594 "return_static_string": true, |
595 "self": ", self->object_", | 595 "self": ", self->object_", |
596 "short_name": "GetPeerName", | 596 "short_name": "GetPeerName", |
597 "tuple_format": "\"k\", &arg0" | 597 "tuple_format": "\"k\", &arg0" |
598 }, | 598 }, |
599 { | 599 { |
600 "args": [ | 600 "args": [ |
601 { | 601 { |
602 "initialization": " = 0", | 602 "initialization": " = 0", |
603 "name": "arg0", | 603 "name": "arg0", |
604 "orthanc_cast": "arg0", | 604 "orthanc_cast": "arg0", |
605 "python_format": "k", | 605 "python_format": "k", |
606 "python_type": "unsigned long", | 606 "python_type": "unsigned long", |
607 "sdk_name": "peerIndex", | 607 "sdk_name": "peerIndex", |
608 "sdk_type": "uint32_t" | 608 "sdk_type": "uint32_t" |
609 } | 609 } |
610 ], | 610 ], |
611 "c_function": "OrthancPluginGetPeerUrl", | 611 "c_function": "OrthancPluginGetPeerUrl", |
612 "call_args": ", arg0", | 612 "call_args": ", arg0", |
613 "count_args": 1, | 613 "count_args": 1, |
614 "has_args": true, | 614 "has_args": true, |
615 "return_sdk_type": "const char *", | 615 "return_sdk_type": "const char *", |
616 "return_static_string": true, | 616 "return_static_string": true, |
617 "self": ", self->object_", | 617 "self": ", self->object_", |
618 "short_name": "GetPeerUrl", | 618 "short_name": "GetPeerUrl", |
619 "tuple_format": "\"k\", &arg0" | 619 "tuple_format": "\"k\", &arg0" |
620 }, | 620 }, |
621 { | 621 { |
622 "args": [ | 622 "args": [ |
623 { | 623 { |
624 "initialization": " = 0", | 624 "initialization": " = 0", |
625 "name": "arg0", | 625 "name": "arg0", |
626 "orthanc_cast": "arg0", | 626 "orthanc_cast": "arg0", |
627 "python_format": "k", | 627 "python_format": "k", |
628 "python_type": "unsigned long", | 628 "python_type": "unsigned long", |
629 "sdk_name": "peerIndex", | 629 "sdk_name": "peerIndex", |
630 "sdk_type": "uint32_t" | 630 "sdk_type": "uint32_t" |
631 }, | 631 }, |
632 { | 632 { |
633 "initialization": " = NULL", | 633 "initialization": " = NULL", |
634 "name": "arg1", | 634 "name": "arg1", |
635 "orthanc_cast": "arg1", | 635 "orthanc_cast": "arg1", |
636 "python_format": "s", | 636 "python_format": "s", |
637 "python_type": "const char*", | 637 "python_type": "const char*", |
638 "sdk_name": "userProperty", | 638 "sdk_name": "userProperty", |
639 "sdk_type": "const char *" | 639 "sdk_type": "const char *" |
640 } | 640 } |
641 ], | 641 ], |
642 "c_function": "OrthancPluginGetPeerUserProperty", | 642 "c_function": "OrthancPluginGetPeerUserProperty", |
643 "call_args": ", arg0, arg1", | 643 "call_args": ", arg0, arg1", |
644 "count_args": 2, | 644 "count_args": 2, |
645 "has_args": true, | 645 "has_args": true, |
646 "return_sdk_type": "const char *", | 646 "return_sdk_type": "const char *", |
647 "return_static_string": true, | 647 "return_static_string": true, |
648 "self": ", self->object_", | 648 "self": ", self->object_", |
649 "short_name": "GetPeerUserProperty", | 649 "short_name": "GetPeerUserProperty", |
650 "tuple_format": "\"ks\", &arg0, &arg1" | 650 "tuple_format": "\"ks\", &arg0, &arg1" |
651 } | 651 } |
652 ], | 652 ], |
653 "short_name": "Peers" | 653 "short_name": "Peers" |
654 }, | 654 }, |
655 { | 655 { |
656 "class_name": "OrthancPluginRestOutput", | 656 "class_name": "OrthancPluginRestOutput", |
657 "custom_methods": [], | 657 "custom_methods": [], |
658 "methods": [ | 658 "methods": [ |
659 { | 659 { |
660 "args": [ | 660 "args": [ |
661 { | 661 { |
662 "name": "arg0", | 662 "name": "arg0", |
663 "orthanc_cast": "arg0.buf, arg0.len", | 663 "orthanc_cast": "arg0.buf, arg0.len", |
664 "python_format": "s*", | 664 "python_format": "s*", |
665 "python_type": "Py_buffer", | 665 "python_type": "Py_buffer", |
666 "release": "PyBuffer_Release(&arg0);", | 666 "release": "PyBuffer_Release(&arg0);", |
667 "sdk_name": "answer", | 667 "sdk_name": "answer", |
668 "sdk_type": "const_void_pointer_with_size" | 668 "sdk_type": "const_void_pointer_with_size" |
669 }, | 669 }, |
670 { | 670 { |
671 "initialization": " = NULL", | 671 "initialization": " = NULL", |
672 "name": "arg2", | 672 "name": "arg2", |
673 "orthanc_cast": "arg2", | 673 "orthanc_cast": "arg2", |
674 "python_format": "s", | 674 "python_format": "s", |
675 "python_type": "const char*", | 675 "python_type": "const char*", |
676 "sdk_name": "mimeType", | 676 "sdk_name": "mimeType", |
677 "sdk_type": "const char *" | 677 "sdk_type": "const char *" |
678 } | 678 } |
679 ], | 679 ], |
680 "c_function": "OrthancPluginAnswerBuffer", | 680 "c_function": "OrthancPluginAnswerBuffer", |
681 "call_args": ", arg0.buf, arg0.len, arg2", | 681 "call_args": ", arg0.buf, arg0.len, arg2", |
682 "count_args": 2, | 682 "count_args": 2, |
683 "has_args": true, | 683 "has_args": true, |
684 "return_sdk_type": "void", | 684 "return_sdk_type": "void", |
685 "return_void": true, | 685 "return_void": true, |
686 "self": ", self->object_", | 686 "self": ", self->object_", |
687 "short_name": "AnswerBuffer", | 687 "short_name": "AnswerBuffer", |
688 "tuple_format": "\"s*s\", &arg0, &arg2" | 688 "tuple_format": "\"s*s\", &arg0, &arg2" |
689 }, | 689 }, |
690 { | 690 { |
691 "args": [ | 691 "args": [ |
692 { | 692 { |
693 "initialization": " = 0", | 693 "initialization": " = 0", |
694 "name": "arg0", | 694 "name": "arg0", |
695 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", | 695 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", |
696 "python_format": "l", | 696 "python_format": "l", |
697 "python_type": "long int", | 697 "python_type": "long int", |
698 "sdk_enumeration": "OrthancPluginPixelFormat", | 698 "sdk_enumeration": "OrthancPluginPixelFormat", |
699 "sdk_name": "format", | 699 "sdk_name": "format", |
700 "sdk_type": "enumeration" | 700 "sdk_type": "enumeration" |
701 }, | 701 }, |
702 { | 702 { |
703 "initialization": " = 0", | 703 "initialization": " = 0", |
704 "name": "arg1", | 704 "name": "arg1", |
705 "orthanc_cast": "arg1", | 705 "orthanc_cast": "arg1", |
706 "python_format": "k", | 706 "python_format": "k", |
707 "python_type": "unsigned long", | 707 "python_type": "unsigned long", |
708 "sdk_name": "width", | 708 "sdk_name": "width", |
709 "sdk_type": "uint32_t" | 709 "sdk_type": "uint32_t" |
710 }, | 710 }, |
711 { | 711 { |
712 "initialization": " = 0", | 712 "initialization": " = 0", |
713 "name": "arg2", | 713 "name": "arg2", |
714 "orthanc_cast": "arg2", | 714 "orthanc_cast": "arg2", |
715 "python_format": "k", | 715 "python_format": "k", |
716 "python_type": "unsigned long", | 716 "python_type": "unsigned long", |
717 "sdk_name": "height", | 717 "sdk_name": "height", |
718 "sdk_type": "uint32_t" | 718 "sdk_type": "uint32_t" |
719 }, | 719 }, |
720 { | 720 { |
721 "initialization": " = 0", | 721 "initialization": " = 0", |
722 "name": "arg3", | 722 "name": "arg3", |
723 "orthanc_cast": "arg3", | 723 "orthanc_cast": "arg3", |
724 "python_format": "k", | 724 "python_format": "k", |
725 "python_type": "unsigned long", | 725 "python_type": "unsigned long", |
726 "sdk_name": "pitch", | 726 "sdk_name": "pitch", |
727 "sdk_type": "uint32_t" | 727 "sdk_type": "uint32_t" |
728 }, | 728 }, |
729 { | 729 { |
730 "name": "arg4", | 730 "name": "arg4", |
731 "orthanc_cast": "arg4.buf", | 731 "orthanc_cast": "arg4.buf", |
732 "python_format": "s*", | 732 "python_format": "s*", |
733 "python_type": "Py_buffer", | 733 "python_type": "Py_buffer", |
734 "release": "PyBuffer_Release(&arg4);", | 734 "release": "PyBuffer_Release(&arg4);", |
735 "sdk_name": "buffer", | 735 "sdk_name": "buffer", |
736 "sdk_type": "const void *" | 736 "sdk_type": "const void *" |
737 } | 737 } |
738 ], | 738 ], |
739 "c_function": "OrthancPluginCompressAndAnswerPngImage", | 739 "c_function": "OrthancPluginCompressAndAnswerPngImage", |
740 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf", | 740 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf", |
741 "count_args": 5, | 741 "count_args": 5, |
742 "has_args": true, | 742 "has_args": true, |
743 "return_sdk_type": "void", | 743 "return_sdk_type": "void", |
744 "return_void": true, | 744 "return_void": true, |
745 "self": ", self->object_", | 745 "self": ", self->object_", |
746 "short_name": "CompressAndAnswerPngImage", | 746 "short_name": "CompressAndAnswerPngImage", |
747 "tuple_format": "\"lkkks*\", &arg0, &arg1, &arg2, &arg3, &arg4" | 747 "tuple_format": "\"lkkks*\", &arg0, &arg1, &arg2, &arg3, &arg4" |
748 }, | 748 }, |
749 { | 749 { |
750 "args": [ | 750 "args": [ |
751 { | 751 { |
752 "initialization": " = NULL", | 752 "initialization": " = NULL", |
753 "name": "arg0", | 753 "name": "arg0", |
754 "orthanc_cast": "arg0", | 754 "orthanc_cast": "arg0", |
755 "python_format": "s", | 755 "python_format": "s", |
756 "python_type": "const char*", | 756 "python_type": "const char*", |
757 "sdk_name": "redirection", | 757 "sdk_name": "redirection", |
758 "sdk_type": "const char *" | 758 "sdk_type": "const char *" |
759 } | 759 } |
760 ], | 760 ], |
761 "c_function": "OrthancPluginRedirect", | 761 "c_function": "OrthancPluginRedirect", |
762 "call_args": ", arg0", | 762 "call_args": ", arg0", |
763 "count_args": 1, | 763 "count_args": 1, |
764 "has_args": true, | 764 "has_args": true, |
765 "return_sdk_type": "void", | 765 "return_sdk_type": "void", |
766 "return_void": true, | 766 "return_void": true, |
767 "self": ", self->object_", | 767 "self": ", self->object_", |
768 "short_name": "Redirect", | 768 "short_name": "Redirect", |
769 "tuple_format": "\"s\", &arg0" | 769 "tuple_format": "\"s\", &arg0" |
770 }, | 770 }, |
771 { | 771 { |
772 "args": [ | 772 "args": [ |
773 { | 773 { |
774 "initialization": " = 0", | 774 "initialization": " = 0", |
775 "name": "arg0", | 775 "name": "arg0", |
776 "orthanc_cast": "arg0", | 776 "orthanc_cast": "arg0", |
777 "python_format": "H", | 777 "python_format": "H", |
778 "python_type": "unsigned short", | 778 "python_type": "unsigned short", |
779 "sdk_name": "status", | 779 "sdk_name": "status", |
780 "sdk_type": "uint16_t" | 780 "sdk_type": "uint16_t" |
781 } | 781 } |
782 ], | 782 ], |
783 "c_function": "OrthancPluginSendHttpStatusCode", | 783 "c_function": "OrthancPluginSendHttpStatusCode", |
784 "call_args": ", arg0", | 784 "call_args": ", arg0", |
785 "count_args": 1, | 785 "count_args": 1, |
786 "has_args": true, | 786 "has_args": true, |
787 "return_sdk_type": "void", | 787 "return_sdk_type": "void", |
788 "return_void": true, | 788 "return_void": true, |
789 "self": ", self->object_", | 789 "self": ", self->object_", |
790 "short_name": "SendHttpStatusCode", | 790 "short_name": "SendHttpStatusCode", |
791 "tuple_format": "\"H\", &arg0" | 791 "tuple_format": "\"H\", &arg0" |
792 }, | 792 }, |
793 { | 793 { |
794 "args": [ | 794 "args": [ |
795 { | 795 { |
796 "initialization": " = NULL", | 796 "initialization": " = NULL", |
797 "name": "arg0", | 797 "name": "arg0", |
798 "orthanc_cast": "arg0", | 798 "orthanc_cast": "arg0", |
799 "python_format": "s", | 799 "python_format": "s", |
800 "python_type": "const char*", | 800 "python_type": "const char*", |
801 "sdk_name": "realm", | 801 "sdk_name": "realm", |
802 "sdk_type": "const char *" | 802 "sdk_type": "const char *" |
803 } | 803 } |
804 ], | 804 ], |
805 "c_function": "OrthancPluginSendUnauthorized", | 805 "c_function": "OrthancPluginSendUnauthorized", |
806 "call_args": ", arg0", | 806 "call_args": ", arg0", |
807 "count_args": 1, | 807 "count_args": 1, |
808 "has_args": true, | 808 "has_args": true, |
809 "return_sdk_type": "void", | 809 "return_sdk_type": "void", |
810 "return_void": true, | 810 "return_void": true, |
811 "self": ", self->object_", | 811 "self": ", self->object_", |
812 "short_name": "SendUnauthorized", | 812 "short_name": "SendUnauthorized", |
813 "tuple_format": "\"s\", &arg0" | 813 "tuple_format": "\"s\", &arg0" |
814 }, | 814 }, |
815 { | 815 { |
816 "args": [ | 816 "args": [ |
817 { | 817 { |
818 "initialization": " = NULL", | 818 "initialization": " = NULL", |
819 "name": "arg0", | 819 "name": "arg0", |
820 "orthanc_cast": "arg0", | 820 "orthanc_cast": "arg0", |
821 "python_format": "s", | 821 "python_format": "s", |
822 "python_type": "const char*", | 822 "python_type": "const char*", |
823 "sdk_name": "allowedMethods", | 823 "sdk_name": "allowedMethods", |
824 "sdk_type": "const char *" | 824 "sdk_type": "const char *" |
825 } | 825 } |
826 ], | 826 ], |
827 "c_function": "OrthancPluginSendMethodNotAllowed", | 827 "c_function": "OrthancPluginSendMethodNotAllowed", |
828 "call_args": ", arg0", | 828 "call_args": ", arg0", |
829 "count_args": 1, | 829 "count_args": 1, |
830 "has_args": true, | 830 "has_args": true, |
831 "return_sdk_type": "void", | 831 "return_sdk_type": "void", |
832 "return_void": true, | 832 "return_void": true, |
833 "self": ", self->object_", | 833 "self": ", self->object_", |
834 "short_name": "SendMethodNotAllowed", | 834 "short_name": "SendMethodNotAllowed", |
835 "tuple_format": "\"s\", &arg0" | 835 "tuple_format": "\"s\", &arg0" |
836 }, | 836 }, |
837 { | 837 { |
838 "args": [ | 838 "args": [ |
839 { | 839 { |
840 "initialization": " = NULL", | 840 "initialization": " = NULL", |
841 "name": "arg0", | 841 "name": "arg0", |
842 "orthanc_cast": "arg0", | 842 "orthanc_cast": "arg0", |
843 "python_format": "s", | 843 "python_format": "s", |
844 "python_type": "const char*", | 844 "python_type": "const char*", |
845 "sdk_name": "cookie", | 845 "sdk_name": "cookie", |
846 "sdk_type": "const char *" | 846 "sdk_type": "const char *" |
847 }, | 847 }, |
848 { | 848 { |
849 "initialization": " = NULL", | 849 "initialization": " = NULL", |
850 "name": "arg1", | 850 "name": "arg1", |
851 "orthanc_cast": "arg1", | 851 "orthanc_cast": "arg1", |
852 "python_format": "s", | 852 "python_format": "s", |
853 "python_type": "const char*", | 853 "python_type": "const char*", |
854 "sdk_name": "value", | 854 "sdk_name": "value", |
855 "sdk_type": "const char *" | 855 "sdk_type": "const char *" |
856 } | 856 } |
857 ], | 857 ], |
858 "c_function": "OrthancPluginSetCookie", | 858 "c_function": "OrthancPluginSetCookie", |
859 "call_args": ", arg0, arg1", | 859 "call_args": ", arg0, arg1", |
860 "count_args": 2, | 860 "count_args": 2, |
861 "has_args": true, | 861 "has_args": true, |
862 "return_sdk_type": "void", | 862 "return_sdk_type": "void", |
863 "return_void": true, | 863 "return_void": true, |
864 "self": ", self->object_", | 864 "self": ", self->object_", |
865 "short_name": "SetCookie", | 865 "short_name": "SetCookie", |
866 "tuple_format": "\"ss\", &arg0, &arg1" | 866 "tuple_format": "\"ss\", &arg0, &arg1" |
867 }, | 867 }, |
868 { | 868 { |
869 "args": [ | 869 "args": [ |
870 { | 870 { |
871 "initialization": " = NULL", | 871 "initialization": " = NULL", |
872 "name": "arg0", | 872 "name": "arg0", |
873 "orthanc_cast": "arg0", | 873 "orthanc_cast": "arg0", |
874 "python_format": "s", | 874 "python_format": "s", |
875 "python_type": "const char*", | 875 "python_type": "const char*", |
876 "sdk_name": "key", | 876 "sdk_name": "key", |
877 "sdk_type": "const char *" | 877 "sdk_type": "const char *" |
878 }, | 878 }, |
879 { | 879 { |
880 "initialization": " = NULL", | 880 "initialization": " = NULL", |
881 "name": "arg1", | 881 "name": "arg1", |
882 "orthanc_cast": "arg1", | 882 "orthanc_cast": "arg1", |
883 "python_format": "s", | 883 "python_format": "s", |
884 "python_type": "const char*", | 884 "python_type": "const char*", |
885 "sdk_name": "value", | 885 "sdk_name": "value", |
886 "sdk_type": "const char *" | 886 "sdk_type": "const char *" |
887 } | 887 } |
888 ], | 888 ], |
889 "c_function": "OrthancPluginSetHttpHeader", | 889 "c_function": "OrthancPluginSetHttpHeader", |
890 "call_args": ", arg0, arg1", | 890 "call_args": ", arg0, arg1", |
891 "count_args": 2, | 891 "count_args": 2, |
892 "has_args": true, | 892 "has_args": true, |
893 "return_sdk_type": "void", | 893 "return_sdk_type": "void", |
894 "return_void": true, | 894 "return_void": true, |
895 "self": ", self->object_", | 895 "self": ", self->object_", |
896 "short_name": "SetHttpHeader", | 896 "short_name": "SetHttpHeader", |
897 "tuple_format": "\"ss\", &arg0, &arg1" | 897 "tuple_format": "\"ss\", &arg0, &arg1" |
898 }, | 898 }, |
899 { | 899 { |
900 "args": [ | 900 "args": [ |
901 { | 901 { |
902 "initialization": " = NULL", | 902 "initialization": " = NULL", |
903 "name": "arg0", | 903 "name": "arg0", |
904 "orthanc_cast": "arg0", | 904 "orthanc_cast": "arg0", |
905 "python_format": "s", | 905 "python_format": "s", |
906 "python_type": "const char*", | 906 "python_type": "const char*", |
907 "sdk_name": "subType", | 907 "sdk_name": "subType", |
908 "sdk_type": "const char *" | 908 "sdk_type": "const char *" |
909 }, | 909 }, |
910 { | 910 { |
911 "initialization": " = NULL", | 911 "initialization": " = NULL", |
912 "name": "arg1", | 912 "name": "arg1", |
913 "orthanc_cast": "arg1", | 913 "orthanc_cast": "arg1", |
914 "python_format": "s", | 914 "python_format": "s", |
915 "python_type": "const char*", | 915 "python_type": "const char*", |
916 "sdk_name": "contentType", | 916 "sdk_name": "contentType", |
917 "sdk_type": "const char *" | 917 "sdk_type": "const char *" |
918 } | 918 } |
919 ], | 919 ], |
920 "c_function": "OrthancPluginStartMultipartAnswer", | 920 "c_function": "OrthancPluginStartMultipartAnswer", |
921 "call_args": ", arg0, arg1", | 921 "call_args": ", arg0, arg1", |
922 "count_args": 2, | 922 "count_args": 2, |
923 "has_args": true, | 923 "has_args": true, |
924 "return_error": true, | 924 "return_error": true, |
925 "return_sdk_enumeration": "OrthancPluginErrorCode", | 925 "return_sdk_enumeration": "OrthancPluginErrorCode", |
926 "return_sdk_type": "enumeration", | 926 "return_sdk_type": "enumeration", |
927 "self": ", self->object_", | 927 "self": ", self->object_", |
928 "short_name": "StartMultipartAnswer", | 928 "short_name": "StartMultipartAnswer", |
929 "tuple_format": "\"ss\", &arg0, &arg1" | 929 "tuple_format": "\"ss\", &arg0, &arg1" |
930 }, | 930 }, |
931 { | 931 { |
932 "args": [ | 932 "args": [ |
933 { | 933 { |
934 "name": "arg0", | 934 "name": "arg0", |
935 "orthanc_cast": "arg0.buf, arg0.len", | 935 "orthanc_cast": "arg0.buf, arg0.len", |
936 "python_format": "s*", | 936 "python_format": "s*", |
937 "python_type": "Py_buffer", | 937 "python_type": "Py_buffer", |
938 "release": "PyBuffer_Release(&arg0);", | 938 "release": "PyBuffer_Release(&arg0);", |
939 "sdk_name": "answer", | 939 "sdk_name": "answer", |
940 "sdk_type": "const_void_pointer_with_size" | 940 "sdk_type": "const_void_pointer_with_size" |
941 } | 941 } |
942 ], | 942 ], |
943 "c_function": "OrthancPluginSendMultipartItem", | 943 "c_function": "OrthancPluginSendMultipartItem", |
944 "call_args": ", arg0.buf, arg0.len", | 944 "call_args": ", arg0.buf, arg0.len", |
945 "count_args": 1, | 945 "count_args": 1, |
946 "has_args": true, | 946 "has_args": true, |
947 "return_error": true, | 947 "return_error": true, |
948 "return_sdk_enumeration": "OrthancPluginErrorCode", | 948 "return_sdk_enumeration": "OrthancPluginErrorCode", |
949 "return_sdk_type": "enumeration", | 949 "return_sdk_type": "enumeration", |
950 "self": ", self->object_", | 950 "self": ", self->object_", |
951 "short_name": "SendMultipartItem", | 951 "short_name": "SendMultipartItem", |
952 "tuple_format": "\"s*\", &arg0" | 952 "tuple_format": "\"s*\", &arg0" |
953 }, | 953 }, |
954 { | 954 { |
955 "args": [ | 955 "args": [ |
956 { | 956 { |
957 "initialization": " = 0", | 957 "initialization": " = 0", |
958 "name": "arg0", | 958 "name": "arg0", |
959 "orthanc_cast": "arg0", | 959 "orthanc_cast": "arg0", |
960 "python_format": "H", | 960 "python_format": "H", |
961 "python_type": "unsigned short", | 961 "python_type": "unsigned short", |
962 "sdk_name": "status", | 962 "sdk_name": "status", |
963 "sdk_type": "uint16_t" | 963 "sdk_type": "uint16_t" |
964 }, | 964 }, |
965 { | 965 { |
966 "name": "arg1", | 966 "name": "arg1", |
967 "orthanc_cast": "arg1.buf, arg1.len", | 967 "orthanc_cast": "arg1.buf, arg1.len", |
968 "python_format": "s*", | 968 "python_format": "s*", |
969 "python_type": "Py_buffer", | 969 "python_type": "Py_buffer", |
970 "release": "PyBuffer_Release(&arg1);", | 970 "release": "PyBuffer_Release(&arg1);", |
971 "sdk_name": "body", | 971 "sdk_name": "body", |
972 "sdk_type": "const_void_pointer_with_size" | 972 "sdk_type": "const_void_pointer_with_size" |
973 } | 973 } |
974 ], | 974 ], |
975 "c_function": "OrthancPluginSendHttpStatus", | 975 "c_function": "OrthancPluginSendHttpStatus", |
976 "call_args": ", arg0, arg1.buf, arg1.len", | 976 "call_args": ", arg0, arg1.buf, arg1.len", |
977 "count_args": 2, | 977 "count_args": 2, |
978 "has_args": true, | 978 "has_args": true, |
979 "return_sdk_type": "void", | 979 "return_sdk_type": "void", |
980 "return_void": true, | 980 "return_void": true, |
981 "self": ", self->object_", | 981 "self": ", self->object_", |
982 "short_name": "SendHttpStatus", | 982 "short_name": "SendHttpStatus", |
983 "tuple_format": "\"Hs*\", &arg0, &arg1" | 983 "tuple_format": "\"Hs*\", &arg0, &arg1" |
984 }, | 984 }, |
985 { | 985 { |
986 "args": [ | 986 "args": [ |
987 { | 987 { |
988 "initialization": " = 0", | 988 "initialization": " = 0", |
989 "name": "arg0", | 989 "name": "arg0", |
990 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", | 990 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", |
991 "python_format": "l", | 991 "python_format": "l", |
992 "python_type": "long int", | 992 "python_type": "long int", |
993 "sdk_enumeration": "OrthancPluginPixelFormat", | 993 "sdk_enumeration": "OrthancPluginPixelFormat", |
994 "sdk_name": "format", | 994 "sdk_name": "format", |
995 "sdk_type": "enumeration" | 995 "sdk_type": "enumeration" |
996 }, | 996 }, |
997 { | 997 { |
998 "initialization": " = 0", | 998 "initialization": " = 0", |
999 "name": "arg1", | 999 "name": "arg1", |
1000 "orthanc_cast": "arg1", | 1000 "orthanc_cast": "arg1", |
1001 "python_format": "k", | 1001 "python_format": "k", |
1002 "python_type": "unsigned long", | 1002 "python_type": "unsigned long", |
1003 "sdk_name": "width", | 1003 "sdk_name": "width", |
1004 "sdk_type": "uint32_t" | 1004 "sdk_type": "uint32_t" |
1005 }, | 1005 }, |
1006 { | 1006 { |
1007 "initialization": " = 0", | 1007 "initialization": " = 0", |
1008 "name": "arg2", | 1008 "name": "arg2", |
1009 "orthanc_cast": "arg2", | 1009 "orthanc_cast": "arg2", |
1010 "python_format": "k", | 1010 "python_format": "k", |
1011 "python_type": "unsigned long", | 1011 "python_type": "unsigned long", |
1012 "sdk_name": "height", | 1012 "sdk_name": "height", |
1013 "sdk_type": "uint32_t" | 1013 "sdk_type": "uint32_t" |
1014 }, | 1014 }, |
1015 { | 1015 { |
1016 "initialization": " = 0", | 1016 "initialization": " = 0", |
1017 "name": "arg3", | 1017 "name": "arg3", |
1018 "orthanc_cast": "arg3", | 1018 "orthanc_cast": "arg3", |
1019 "python_format": "k", | 1019 "python_format": "k", |
1020 "python_type": "unsigned long", | 1020 "python_type": "unsigned long", |
1021 "sdk_name": "pitch", | 1021 "sdk_name": "pitch", |
1022 "sdk_type": "uint32_t" | 1022 "sdk_type": "uint32_t" |
1023 }, | 1023 }, |
1024 { | 1024 { |
1025 "name": "arg4", | 1025 "name": "arg4", |
1026 "orthanc_cast": "arg4.buf", | 1026 "orthanc_cast": "arg4.buf", |
1027 "python_format": "s*", | 1027 "python_format": "s*", |
1028 "python_type": "Py_buffer", | 1028 "python_type": "Py_buffer", |
1029 "release": "PyBuffer_Release(&arg4);", | 1029 "release": "PyBuffer_Release(&arg4);", |
1030 "sdk_name": "buffer", | 1030 "sdk_name": "buffer", |
1031 "sdk_type": "const void *" | 1031 "sdk_type": "const void *" |
1032 }, | 1032 }, |
1033 { | 1033 { |
1034 "initialization": " = 0", | 1034 "initialization": " = 0", |
1035 "name": "arg5", | 1035 "name": "arg5", |
1036 "orthanc_cast": "arg5", | 1036 "orthanc_cast": "arg5", |
1037 "python_format": "b", | 1037 "python_format": "b", |
1038 "python_type": "unsigned char", | 1038 "python_type": "unsigned char", |
1039 "sdk_name": "quality", | 1039 "sdk_name": "quality", |
1040 "sdk_type": "uint8_t" | 1040 "sdk_type": "uint8_t" |
1041 } | 1041 } |
1042 ], | 1042 ], |
1043 "c_function": "OrthancPluginCompressAndAnswerJpegImage", | 1043 "c_function": "OrthancPluginCompressAndAnswerJpegImage", |
1044 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf, arg5", | 1044 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf, arg5", |
1045 "count_args": 6, | 1045 "count_args": 6, |
1046 "has_args": true, | 1046 "has_args": true, |
1047 "return_sdk_type": "void", | 1047 "return_sdk_type": "void", |
1048 "return_void": true, | 1048 "return_void": true, |
1049 "self": ", self->object_", | 1049 "self": ", self->object_", |
1050 "short_name": "CompressAndAnswerJpegImage", | 1050 "short_name": "CompressAndAnswerJpegImage", |
1051 "tuple_format": "\"lkkks*b\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5" | 1051 "tuple_format": "\"lkkks*b\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5" |
1052 }, | 1052 }, |
1053 { | 1053 { |
1054 "args": [ | 1054 "args": [ |
1055 { | 1055 { |
1056 "initialization": " = NULL", | 1056 "initialization": " = NULL", |
1057 "name": "arg0", | 1057 "name": "arg0", |
1058 "orthanc_cast": "arg0", | 1058 "orthanc_cast": "arg0", |
1059 "python_format": "s", | 1059 "python_format": "s", |
1060 "python_type": "const char*", | 1060 "python_type": "const char*", |
1061 "sdk_name": "details", | 1061 "sdk_name": "details", |
1062 "sdk_type": "const char *" | 1062 "sdk_type": "const char *" |
1063 }, | 1063 }, |
1064 { | 1064 { |
1065 "initialization": " = 0", | 1065 "initialization": " = 0", |
1066 "name": "arg1", | 1066 "name": "arg1", |
1067 "orthanc_cast": "arg1", | 1067 "orthanc_cast": "arg1", |
1068 "python_format": "b", | 1068 "python_format": "b", |
1069 "python_type": "unsigned char", | 1069 "python_type": "unsigned char", |
1070 "sdk_name": "log", | 1070 "sdk_name": "log", |
1071 "sdk_type": "uint8_t" | 1071 "sdk_type": "uint8_t" |
1072 } | 1072 } |
1073 ], | 1073 ], |
1074 "c_function": "OrthancPluginSetHttpErrorDetails", | 1074 "c_function": "OrthancPluginSetHttpErrorDetails", |
1075 "call_args": ", arg0, arg1", | 1075 "call_args": ", arg0, arg1", |
1076 "count_args": 2, | 1076 "count_args": 2, |
1077 "has_args": true, | 1077 "has_args": true, |
1078 "return_sdk_type": "void", | 1078 "return_sdk_type": "void", |
1079 "return_void": true, | 1079 "return_void": true, |
1080 "self": ", self->object_", | 1080 "self": ", self->object_", |
1081 "short_name": "SetHttpErrorDetails", | 1081 "short_name": "SetHttpErrorDetails", |
1082 "tuple_format": "\"sb\", &arg0, &arg1" | 1082 "tuple_format": "\"sb\", &arg0, &arg1" |
1083 } | 1083 } |
1084 ], | 1084 ], |
1085 "short_name": "RestOutput" | 1085 "short_name": "RestOutput" |
1086 }, | 1086 }, |
1087 { | 1087 { |
1088 "class_name": "OrthancPluginServerChunkedRequestReader", | 1088 "class_name": "OrthancPluginServerChunkedRequestReader", |
1089 "custom_methods": [], | 1089 "custom_methods": [], |
1090 "methods": [], | 1090 "methods": [], |
1091 "short_name": "ServerChunkedRequestReader" | 1091 "short_name": "ServerChunkedRequestReader" |
1092 }, | 1092 }, |
1093 { | 1093 { |
1094 "class_name": "OrthancPluginStorageArea", | 1094 "class_name": "OrthancPluginStorageArea", |
1095 "custom_methods": [], | 1095 "custom_methods": [], |
1096 "methods": [ | 1096 "methods": [ |
1097 { | 1097 { |
1098 "args": [ | 1098 "args": [ |
1099 { | 1099 { |
1100 "initialization": " = NULL", | 1100 "initialization": " = NULL", |
1101 "name": "arg0", | 1101 "name": "arg0", |
1102 "orthanc_cast": "arg0", | 1102 "orthanc_cast": "arg0", |
1103 "python_format": "s", | 1103 "python_format": "s", |
1104 "python_type": "const char*", | 1104 "python_type": "const char*", |
1105 "sdk_name": "uuid", | 1105 "sdk_name": "uuid", |
1106 "sdk_type": "const char *" | 1106 "sdk_type": "const char *" |
1107 }, | 1107 }, |
1108 { | 1108 { |
1109 "name": "arg1", | 1109 "name": "arg1", |
1110 "orthanc_cast": "arg1.buf", | 1110 "orthanc_cast": "arg1.buf", |
1111 "python_format": "s*", | 1111 "python_format": "s*", |
1112 "python_type": "Py_buffer", | 1112 "python_type": "Py_buffer", |
1113 "release": "PyBuffer_Release(&arg1);", | 1113 "release": "PyBuffer_Release(&arg1);", |
1114 "sdk_name": "content", | 1114 "sdk_name": "content", |
1115 "sdk_type": "const void *" | 1115 "sdk_type": "const void *" |
1116 }, | 1116 }, |
1117 { | 1117 { |
1118 "initialization": " = 0", | 1118 "initialization": " = 0", |
1119 "name": "arg2", | 1119 "name": "arg2", |
1120 "orthanc_cast": "arg2", | 1120 "orthanc_cast": "arg2", |
1121 "python_format": "K", | 1121 "python_format": "K", |
1122 "python_type": "unsigned long long", | 1122 "python_type": "unsigned long long", |
1123 "sdk_name": "size", | 1123 "sdk_name": "size", |
1124 "sdk_type": "uint64_t" | 1124 "sdk_type": "uint64_t" |
1125 }, | 1125 }, |
1126 { | 1126 { |
1127 "initialization": " = 0", | 1127 "initialization": " = 0", |
1128 "name": "arg3", | 1128 "name": "arg3", |
1129 "orthanc_cast": "static_cast<OrthancPluginContentType>(arg3)", | 1129 "orthanc_cast": "static_cast<OrthancPluginContentType>(arg3)", |
1130 "python_format": "l", | 1130 "python_format": "l", |
1131 "python_type": "long int", | 1131 "python_type": "long int", |
1132 "sdk_enumeration": "OrthancPluginContentType", | 1132 "sdk_enumeration": "OrthancPluginContentType", |
1133 "sdk_name": "type", | 1133 "sdk_name": "type", |
1134 "sdk_type": "enumeration" | 1134 "sdk_type": "enumeration" |
1135 } | 1135 } |
1136 ], | 1136 ], |
1137 "c_function": "OrthancPluginStorageAreaCreate", | 1137 "c_function": "OrthancPluginStorageAreaCreate", |
1138 "call_args": ", arg0, arg1.buf, arg2, static_cast<OrthancPluginContentType>(arg3)", | 1138 "call_args": ", arg0, arg1.buf, arg2, static_cast<OrthancPluginContentType>(arg3)", |
1139 "count_args": 4, | 1139 "count_args": 4, |
1140 "has_args": true, | 1140 "has_args": true, |
1141 "return_error": true, | 1141 "return_error": true, |
1142 "return_sdk_enumeration": "OrthancPluginErrorCode", | 1142 "return_sdk_enumeration": "OrthancPluginErrorCode", |
1143 "return_sdk_type": "enumeration", | 1143 "return_sdk_type": "enumeration", |
1144 "self": ", self->object_", | 1144 "self": ", self->object_", |
1145 "short_name": "StorageAreaCreate", | 1145 "short_name": "StorageAreaCreate", |
1146 "tuple_format": "\"ss*Kl\", &arg0, &arg1, &arg2, &arg3" | 1146 "tuple_format": "\"ss*Kl\", &arg0, &arg1, &arg2, &arg3" |
1147 }, | 1147 }, |
1148 { | 1148 { |
1149 "args": [ | 1149 "args": [ |
1150 { | 1150 { |
1151 "initialization": " = NULL", | 1151 "initialization": " = NULL", |
1152 "name": "arg0", | 1152 "name": "arg0", |
1153 "orthanc_cast": "arg0", | 1153 "orthanc_cast": "arg0", |
1154 "python_format": "s", | 1154 "python_format": "s", |
1155 "python_type": "const char*", | 1155 "python_type": "const char*", |
1156 "sdk_name": "uuid", | 1156 "sdk_name": "uuid", |
1157 "sdk_type": "const char *" | 1157 "sdk_type": "const char *" |
1158 }, | 1158 }, |
1159 { | 1159 { |
1160 "initialization": " = 0", | 1160 "initialization": " = 0", |
1161 "name": "arg1", | 1161 "name": "arg1", |
1162 "orthanc_cast": "static_cast<OrthancPluginContentType>(arg1)", | 1162 "orthanc_cast": "static_cast<OrthancPluginContentType>(arg1)", |
1163 "python_format": "l", | 1163 "python_format": "l", |
1164 "python_type": "long int", | 1164 "python_type": "long int", |
1165 "sdk_enumeration": "OrthancPluginContentType", | 1165 "sdk_enumeration": "OrthancPluginContentType", |
1166 "sdk_name": "type", | 1166 "sdk_name": "type", |
1167 "sdk_type": "enumeration" | 1167 "sdk_type": "enumeration" |
1168 } | 1168 } |
1169 ], | 1169 ], |
1170 "c_function": "OrthancPluginStorageAreaRead", | 1170 "c_function": "OrthancPluginStorageAreaRead", |
1171 "call_args": ", arg0, static_cast<OrthancPluginContentType>(arg1)", | 1171 "call_args": ", arg0, static_cast<OrthancPluginContentType>(arg1)", |
1172 "count_args": 2, | 1172 "count_args": 2, |
1173 "has_args": true, | 1173 "has_args": true, |
1174 "return_bytes": true, | 1174 "return_bytes": true, |
1175 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 1175 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
1176 "self": ", self->object_", | 1176 "self": ", self->object_", |
1177 "short_name": "StorageAreaRead", | 1177 "short_name": "StorageAreaRead", |
1178 "tuple_format": "\"sl\", &arg0, &arg1" | 1178 "tuple_format": "\"sl\", &arg0, &arg1" |
1179 }, | 1179 }, |
1180 { | 1180 { |
1181 "args": [ | 1181 "args": [ |
1182 { | 1182 { |
1183 "initialization": " = NULL", | 1183 "initialization": " = NULL", |
1184 "name": "arg0", | 1184 "name": "arg0", |
1185 "orthanc_cast": "arg0", | 1185 "orthanc_cast": "arg0", |
1186 "python_format": "s", | 1186 "python_format": "s", |
1187 "python_type": "const char*", | 1187 "python_type": "const char*", |
1188 "sdk_name": "uuid", | 1188 "sdk_name": "uuid", |
1189 "sdk_type": "const char *" | 1189 "sdk_type": "const char *" |
1190 }, | 1190 }, |
1191 { | 1191 { |
1192 "initialization": " = 0", | 1192 "initialization": " = 0", |
1193 "name": "arg1", | 1193 "name": "arg1", |
1194 "orthanc_cast": "static_cast<OrthancPluginContentType>(arg1)", | 1194 "orthanc_cast": "static_cast<OrthancPluginContentType>(arg1)", |
1195 "python_format": "l", | 1195 "python_format": "l", |
1196 "python_type": "long int", | 1196 "python_type": "long int", |
1197 "sdk_enumeration": "OrthancPluginContentType", | 1197 "sdk_enumeration": "OrthancPluginContentType", |
1198 "sdk_name": "type", | 1198 "sdk_name": "type", |
1199 "sdk_type": "enumeration" | 1199 "sdk_type": "enumeration" |
1200 } | 1200 } |
1201 ], | 1201 ], |
1202 "c_function": "OrthancPluginStorageAreaRemove", | 1202 "c_function": "OrthancPluginStorageAreaRemove", |
1203 "call_args": ", arg0, static_cast<OrthancPluginContentType>(arg1)", | 1203 "call_args": ", arg0, static_cast<OrthancPluginContentType>(arg1)", |
1204 "count_args": 2, | 1204 "count_args": 2, |
1205 "has_args": true, | 1205 "has_args": true, |
1206 "return_error": true, | 1206 "return_error": true, |
1207 "return_sdk_enumeration": "OrthancPluginErrorCode", | 1207 "return_sdk_enumeration": "OrthancPluginErrorCode", |
1208 "return_sdk_type": "enumeration", | 1208 "return_sdk_type": "enumeration", |
1209 "self": ", self->object_", | 1209 "self": ", self->object_", |
1210 "short_name": "StorageAreaRemove", | 1210 "short_name": "StorageAreaRemove", |
1211 "tuple_format": "\"sl\", &arg0, &arg1" | 1211 "tuple_format": "\"sl\", &arg0, &arg1" |
1212 }, | 1212 }, |
1213 { | 1213 { |
1214 "args": [ | 1214 "args": [ |
1215 { | 1215 { |
1216 "initialization": " = 0", | 1216 "initialization": " = 0", |
1217 "name": "arg0", | 1217 "name": "arg0", |
1218 "orthanc_cast": "static_cast<OrthancPluginResourceType>(arg0)", | 1218 "orthanc_cast": "static_cast<OrthancPluginResourceType>(arg0)", |
1219 "python_format": "l", | 1219 "python_format": "l", |
1220 "python_type": "long int", | 1220 "python_type": "long int", |
1221 "sdk_enumeration": "OrthancPluginResourceType", | 1221 "sdk_enumeration": "OrthancPluginResourceType", |
1222 "sdk_name": "level", | 1222 "sdk_name": "level", |
1223 "sdk_type": "enumeration" | 1223 "sdk_type": "enumeration" |
1224 } | 1224 } |
1225 ], | 1225 ], |
1226 "c_function": "OrthancPluginReconstructMainDicomTags", | 1226 "c_function": "OrthancPluginReconstructMainDicomTags", |
1227 "call_args": ", static_cast<OrthancPluginResourceType>(arg0)", | 1227 "call_args": ", static_cast<OrthancPluginResourceType>(arg0)", |
1228 "count_args": 1, | 1228 "count_args": 1, |
1229 "has_args": true, | 1229 "has_args": true, |
1230 "return_error": true, | 1230 "return_error": true, |
1231 "return_sdk_enumeration": "OrthancPluginErrorCode", | 1231 "return_sdk_enumeration": "OrthancPluginErrorCode", |
1232 "return_sdk_type": "enumeration", | 1232 "return_sdk_type": "enumeration", |
1233 "self": ", self->object_", | 1233 "self": ", self->object_", |
1234 "short_name": "ReconstructMainDicomTags", | 1234 "short_name": "ReconstructMainDicomTags", |
1235 "tuple_format": "\"l\", &arg0" | 1235 "tuple_format": "\"l\", &arg0" |
1236 } | 1236 } |
1237 ], | 1237 ], |
1238 "short_name": "StorageArea" | 1238 "short_name": "StorageArea" |
1239 }, | 1239 }, |
1240 { | 1240 { |
1241 "class_name": "OrthancPluginWorklistAnswers", | 1241 "class_name": "OrthancPluginWorklistAnswers", |
1242 "custom_methods": [ | 1242 "custom_methods": [ |
1243 { | 1243 { |
1244 "class_name": "OrthancPluginWorklistAnswers", | 1244 "class_name": "OrthancPluginWorklistAnswers", |
1245 "implementation": "WorklistAddAnswer", | 1245 "implementation": "WorklistAddAnswer", |
1246 "method_name": "WorklistAddAnswer", | 1246 "method_name": "WorklistAddAnswer", |
1247 "sdk_function": "OrthancPluginWorklistAddAnswer" | 1247 "sdk_function": "OrthancPluginWorklistAddAnswer" |
1248 } | 1248 } |
1249 ], | 1249 ], |
1250 "methods": [ | 1250 "methods": [ |
1251 { | 1251 { |
1252 "args": [], | 1252 "args": [], |
1253 "c_function": "OrthancPluginWorklistMarkIncomplete", | 1253 "c_function": "OrthancPluginWorklistMarkIncomplete", |
1254 "return_error": true, | 1254 "return_error": true, |
1255 "return_sdk_enumeration": "OrthancPluginErrorCode", | 1255 "return_sdk_enumeration": "OrthancPluginErrorCode", |
1256 "return_sdk_type": "enumeration", | 1256 "return_sdk_type": "enumeration", |
1257 "self": ", self->object_", | 1257 "self": ", self->object_", |
1258 "short_name": "WorklistMarkIncomplete", | 1258 "short_name": "WorklistMarkIncomplete", |
1259 "tuple_format": "\"\", " | 1259 "tuple_format": "\"\", " |
1260 } | 1260 } |
1261 ], | 1261 ], |
1262 "short_name": "WorklistAnswers" | 1262 "short_name": "WorklistAnswers" |
1263 }, | 1263 }, |
1264 { | 1264 { |
1265 "class_name": "OrthancPluginWorklistQuery", | 1265 "class_name": "OrthancPluginWorklistQuery", |
1266 "custom_methods": [], | 1266 "custom_methods": [], |
1267 "methods": [ | 1267 "methods": [ |
1268 { | 1268 { |
1269 "args": [ | 1269 "args": [ |
1270 { | 1270 { |
1271 "name": "arg0", | 1271 "name": "arg0", |
1272 "orthanc_cast": "arg0.buf, arg0.len", | 1272 "orthanc_cast": "arg0.buf, arg0.len", |
1273 "python_format": "s*", | 1273 "python_format": "s*", |
1274 "python_type": "Py_buffer", | 1274 "python_type": "Py_buffer", |
1275 "release": "PyBuffer_Release(&arg0);", | 1275 "release": "PyBuffer_Release(&arg0);", |
1276 "sdk_name": "dicom", | 1276 "sdk_name": "dicom", |
1277 "sdk_type": "const_void_pointer_with_size" | 1277 "sdk_type": "const_void_pointer_with_size" |
1278 } | 1278 } |
1279 ], | 1279 ], |
1280 "c_function": "OrthancPluginWorklistIsMatch", | 1280 "c_function": "OrthancPluginWorklistIsMatch", |
1281 "call_args": ", arg0.buf, arg0.len", | 1281 "call_args": ", arg0.buf, arg0.len", |
1282 "count_args": 1, | 1282 "count_args": 1, |
1283 "has_args": true, | 1283 "has_args": true, |
1284 "return_long": true, | 1284 "return_long": true, |
1285 "return_sdk_type": "int32_t", | 1285 "return_sdk_type": "int32_t", |
1286 "self": ", self->object_", | 1286 "self": ", self->object_", |
1287 "short_name": "WorklistIsMatch", | 1287 "short_name": "WorklistIsMatch", |
1288 "tuple_format": "\"s*\", &arg0" | 1288 "tuple_format": "\"s*\", &arg0" |
1289 }, | 1289 }, |
1290 { | 1290 { |
1291 "args": [], | 1291 "args": [], |
1292 "c_function": "OrthancPluginWorklistGetDicomQuery", | 1292 "c_function": "OrthancPluginWorklistGetDicomQuery", |
1293 "return_bytes": true, | 1293 "return_bytes": true, |
1294 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 1294 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
1295 "self": ", self->object_", | 1295 "self": ", self->object_", |
1296 "short_name": "WorklistGetDicomQuery", | 1296 "short_name": "WorklistGetDicomQuery", |
1297 "tuple_format": "\"\", " | 1297 "tuple_format": "\"\", " |
1298 } | 1298 } |
1299 ], | 1299 ], |
1300 "short_name": "WorklistQuery" | 1300 "short_name": "WorklistQuery" |
1301 } | 1301 } |
1302 ], | 1302 ], |
1303 "enumerations": [ | 1303 "enumerations": [ |
1304 { | 1304 { |
1305 "name": "OrthancPluginChangeType", | 1305 "name": "OrthancPluginChangeType", |
1306 "path": "sdk_OrthancPluginChangeType.impl.h", | 1306 "path": "sdk_OrthancPluginChangeType.impl.h", |
1307 "values": [ | 1307 "values": [ |
1308 { | 1308 { |
1309 "key": "COMPLETED_SERIES", | 1309 "key": "COMPLETED_SERIES", |
1310 "value": 0 | 1310 "value": 0 |
1311 }, | 1311 }, |
1312 { | 1312 { |
1313 "key": "DELETED", | 1313 "key": "DELETED", |
1314 "value": 1 | 1314 "value": 1 |
1315 }, | 1315 }, |
1316 { | 1316 { |
1317 "key": "NEW_CHILD_INSTANCE", | 1317 "key": "NEW_CHILD_INSTANCE", |
1318 "value": 2 | 1318 "value": 2 |
1319 }, | 1319 }, |
1320 { | 1320 { |
1321 "key": "NEW_INSTANCE", | 1321 "key": "NEW_INSTANCE", |
1322 "value": 3 | 1322 "value": 3 |
1323 }, | 1323 }, |
1324 { | 1324 { |
1325 "key": "NEW_PATIENT", | 1325 "key": "NEW_PATIENT", |
1326 "value": 4 | 1326 "value": 4 |
1327 }, | 1327 }, |
1328 { | 1328 { |
1329 "key": "NEW_SERIES", | 1329 "key": "NEW_SERIES", |
1330 "value": 5 | 1330 "value": 5 |
1331 }, | 1331 }, |
1332 { | 1332 { |
1333 "key": "NEW_STUDY", | 1333 "key": "NEW_STUDY", |
1334 "value": 6 | 1334 "value": 6 |
1335 }, | 1335 }, |
1336 { | 1336 { |
1337 "key": "STABLE_PATIENT", | 1337 "key": "STABLE_PATIENT", |
1338 "value": 7 | 1338 "value": 7 |
1339 }, | 1339 }, |
1340 { | 1340 { |
1341 "key": "STABLE_SERIES", | 1341 "key": "STABLE_SERIES", |
1342 "value": 8 | 1342 "value": 8 |
1343 }, | 1343 }, |
1344 { | 1344 { |
1345 "key": "STABLE_STUDY", | 1345 "key": "STABLE_STUDY", |
1346 "value": 9 | 1346 "value": 9 |
1347 }, | 1347 }, |
1348 { | 1348 { |
1349 "key": "ORTHANC_STARTED", | 1349 "key": "ORTHANC_STARTED", |
1350 "value": 10 | 1350 "value": 10 |
1351 }, | 1351 }, |
1352 { | 1352 { |
1353 "key": "ORTHANC_STOPPED", | 1353 "key": "ORTHANC_STOPPED", |
1354 "value": 11 | 1354 "value": 11 |
1355 }, | 1355 }, |
1356 { | 1356 { |
1357 "key": "UPDATED_ATTACHMENT", | 1357 "key": "UPDATED_ATTACHMENT", |
1358 "value": 12 | 1358 "value": 12 |
1359 }, | 1359 }, |
1360 { | 1360 { |
1361 "key": "UPDATED_METADATA", | 1361 "key": "UPDATED_METADATA", |
1362 "value": 13 | 1362 "value": 13 |
1363 }, | 1363 }, |
1364 { | 1364 { |
1365 "key": "UPDATED_PEERS", | 1365 "key": "UPDATED_PEERS", |
1366 "value": 14 | 1366 "value": 14 |
1367 }, | 1367 }, |
1368 { | 1368 { |
1369 "key": "UPDATED_MODALITIES", | 1369 "key": "UPDATED_MODALITIES", |
1370 "value": 15 | 1370 "value": 15 |
1371 }, | 1371 }, |
1372 { | 1372 { |
1373 "key": "JOB_SUBMITTED", | 1373 "key": "JOB_SUBMITTED", |
1374 "value": 16 | 1374 "value": 16 |
1375 }, | 1375 }, |
1376 { | 1376 { |
1377 "key": "JOB_SUCCESS", | 1377 "key": "JOB_SUCCESS", |
1378 "value": 17 | 1378 "value": 17 |
1379 }, | 1379 }, |
1380 { | 1380 { |
1381 "key": "JOB_FAILURE", | 1381 "key": "JOB_FAILURE", |
1382 "value": 18 | 1382 "value": 18 |
1383 } | 1383 } |
1384 ] | 1384 ] |
1385 }, | 1385 }, |
1386 { | 1386 { |
1387 "name": "OrthancPluginCompressionType", | 1387 "name": "OrthancPluginCompressionType", |
1388 "path": "sdk_OrthancPluginCompressionType.impl.h", | 1388 "path": "sdk_OrthancPluginCompressionType.impl.h", |
1389 "values": [ | 1389 "values": [ |
1390 { | 1390 { |
1391 "key": "ZLIB", | 1391 "key": "ZLIB", |
1392 "value": 0 | 1392 "value": 0 |
1393 }, | 1393 }, |
1394 { | 1394 { |
1395 "key": "ZLIB_WITH_SIZE", | 1395 "key": "ZLIB_WITH_SIZE", |
1396 "value": 1 | 1396 "value": 1 |
1397 }, | 1397 }, |
1398 { | 1398 { |
1399 "key": "GZIP", | 1399 "key": "GZIP", |
1400 "value": 2 | 1400 "value": 2 |
1401 }, | 1401 }, |
1402 { | 1402 { |
1403 "key": "GZIP_WITH_SIZE", | 1403 "key": "GZIP_WITH_SIZE", |
1404 "value": 3 | 1404 "value": 3 |
1405 } | 1405 } |
1406 ] | 1406 ] |
1407 }, | 1407 }, |
1408 { | 1408 { |
1409 "name": "OrthancPluginConstraintType", | 1409 "name": "OrthancPluginConstraintType", |
1410 "path": "sdk_OrthancPluginConstraintType.impl.h", | 1410 "path": "sdk_OrthancPluginConstraintType.impl.h", |
1411 "values": [ | 1411 "values": [ |
1412 { | 1412 { |
1413 "key": "EQUAL", | 1413 "key": "EQUAL", |
1414 "value": 1 | 1414 "value": 1 |
1415 }, | 1415 }, |
1416 { | 1416 { |
1417 "key": "SMALLER_OR_EQUAL", | 1417 "key": "SMALLER_OR_EQUAL", |
1418 "value": 2 | 1418 "value": 2 |
1419 }, | 1419 }, |
1420 { | 1420 { |
1421 "key": "GREATER_OR_EQUAL", | 1421 "key": "GREATER_OR_EQUAL", |
1422 "value": 3 | 1422 "value": 3 |
1423 }, | 1423 }, |
1424 { | 1424 { |
1425 "key": "WILDCARD", | 1425 "key": "WILDCARD", |
1426 "value": 4 | 1426 "value": 4 |
1427 }, | 1427 }, |
1428 { | 1428 { |
1429 "key": "LIST", | 1429 "key": "LIST", |
1430 "value": 5 | 1430 "value": 5 |
1431 } | 1431 } |
1432 ] | 1432 ] |
1433 }, | 1433 }, |
1434 { | 1434 { |
1435 "name": "OrthancPluginContentType", | 1435 "name": "OrthancPluginContentType", |
1436 "path": "sdk_OrthancPluginContentType.impl.h", | 1436 "path": "sdk_OrthancPluginContentType.impl.h", |
1437 "values": [ | 1437 "values": [ |
1438 { | 1438 { |
1439 "key": "UNKNOWN", | 1439 "key": "UNKNOWN", |
1440 "value": 0 | 1440 "value": 0 |
1441 }, | 1441 }, |
1442 { | 1442 { |
1443 "key": "DICOM", | 1443 "key": "DICOM", |
1444 "value": 1 | 1444 "value": 1 |
1445 }, | 1445 }, |
1446 { | 1446 { |
1447 "key": "DICOM_AS_JSON", | 1447 "key": "DICOM_AS_JSON", |
1448 "value": 2 | 1448 "value": 2 |
1449 }, | 1449 }, |
1450 { | 1450 { |
1451 "key": "DICOM_UNTIL_PIXEL_DATA", | 1451 "key": "DICOM_UNTIL_PIXEL_DATA", |
1452 "value": 3 | 1452 "value": 3 |
1453 } | 1453 } |
1454 ] | 1454 ] |
1455 }, | 1455 }, |
1456 { | 1456 { |
1457 "name": "OrthancPluginCreateDicomFlags", | 1457 "name": "OrthancPluginCreateDicomFlags", |
1458 "path": "sdk_OrthancPluginCreateDicomFlags.impl.h", | 1458 "path": "sdk_OrthancPluginCreateDicomFlags.impl.h", |
1459 "values": [ | 1459 "values": [ |
1460 { | 1460 { |
1461 "key": "NONE", | 1461 "key": "NONE", |
1462 "value": 0 | 1462 "value": 0 |
1463 }, | 1463 }, |
1464 { | 1464 { |
1465 "key": "DECODE_DATA_URI_SCHEME", | 1465 "key": "DECODE_DATA_URI_SCHEME", |
1466 "value": 1 | 1466 "value": 1 |
1467 }, | 1467 }, |
1468 { | 1468 { |
1469 "key": "GENERATE_IDENTIFIERS", | 1469 "key": "GENERATE_IDENTIFIERS", |
1470 "value": 2 | 1470 "value": 2 |
1471 } | 1471 } |
1472 ] | 1472 ] |
1473 }, | 1473 }, |
1474 { | 1474 { |
1475 "name": "OrthancPluginDicomToJsonFlags", | 1475 "name": "OrthancPluginDicomToJsonFlags", |
1476 "path": "sdk_OrthancPluginDicomToJsonFlags.impl.h", | 1476 "path": "sdk_OrthancPluginDicomToJsonFlags.impl.h", |
1477 "values": [ | 1477 "values": [ |
1478 { | 1478 { |
1479 "key": "NONE", | 1479 "key": "NONE", |
1480 "value": 0 | 1480 "value": 0 |
1481 }, | 1481 }, |
1482 { | 1482 { |
1483 "key": "INCLUDE_BINARY", | 1483 "key": "INCLUDE_BINARY", |
1484 "value": 1 | 1484 "value": 1 |
1485 }, | 1485 }, |
1486 { | 1486 { |
1487 "key": "INCLUDE_PRIVATE_TAGS", | 1487 "key": "INCLUDE_PRIVATE_TAGS", |
1488 "value": 2 | 1488 "value": 2 |
1489 }, | 1489 }, |
1490 { | 1490 { |
1491 "key": "INCLUDE_UNKNOWN_TAGS", | 1491 "key": "INCLUDE_UNKNOWN_TAGS", |
1492 "value": 4 | 1492 "value": 4 |
1493 }, | 1493 }, |
1494 { | 1494 { |
1495 "key": "INCLUDE_PIXEL_DATA", | 1495 "key": "INCLUDE_PIXEL_DATA", |
1496 "value": 8 | 1496 "value": 8 |
1497 }, | 1497 }, |
1498 { | 1498 { |
1499 "key": "CONVERT_BINARY_TO_ASCII", | 1499 "key": "CONVERT_BINARY_TO_ASCII", |
1500 "value": 16 | 1500 "value": 16 |
1501 }, | 1501 }, |
1502 { | 1502 { |
1503 "key": "CONVERT_BINARY_TO_NULL", | 1503 "key": "CONVERT_BINARY_TO_NULL", |
1504 "value": 32 | 1504 "value": 32 |
1505 }, | 1505 }, |
1506 { | 1506 { |
1507 "key": "STOP_AFTER_PIXEL_DATA", | 1507 "key": "STOP_AFTER_PIXEL_DATA", |
1508 "value": 64 | 1508 "value": 64 |
1509 }, | 1509 }, |
1510 { | 1510 { |
1511 "key": "SKIP_GROUP_LENGTHS", | 1511 "key": "SKIP_GROUP_LENGTHS", |
1512 "value": 128 | 1512 "value": 128 |
1513 } | 1513 } |
1514 ] | 1514 ] |
1515 }, | 1515 }, |
1516 { | 1516 { |
1517 "name": "OrthancPluginDicomToJsonFormat", | 1517 "name": "OrthancPluginDicomToJsonFormat", |
1518 "path": "sdk_OrthancPluginDicomToJsonFormat.impl.h", | 1518 "path": "sdk_OrthancPluginDicomToJsonFormat.impl.h", |
1519 "values": [ | 1519 "values": [ |
1520 { | 1520 { |
1521 "key": "FULL", | 1521 "key": "FULL", |
1522 "value": 1 | 1522 "value": 1 |
1523 }, | 1523 }, |
1524 { | 1524 { |
1525 "key": "SHORT", | 1525 "key": "SHORT", |
1526 "value": 2 | 1526 "value": 2 |
1527 }, | 1527 }, |
1528 { | 1528 { |
1529 "key": "HUMAN", | 1529 "key": "HUMAN", |
1530 "value": 3 | 1530 "value": 3 |
1531 } | 1531 } |
1532 ] | 1532 ] |
1533 }, | 1533 }, |
1534 { | 1534 { |
1535 "name": "OrthancPluginDicomWebBinaryMode", | 1535 "name": "OrthancPluginDicomWebBinaryMode", |
1536 "path": "sdk_OrthancPluginDicomWebBinaryMode.impl.h", | 1536 "path": "sdk_OrthancPluginDicomWebBinaryMode.impl.h", |
1537 "values": [ | 1537 "values": [ |
1538 { | 1538 { |
1539 "key": "IGNORE", | 1539 "key": "IGNORE", |
1540 "value": 0 | 1540 "value": 0 |
1541 }, | 1541 }, |
1542 { | 1542 { |
1543 "key": "INLINE_BINARY", | 1543 "key": "INLINE_BINARY", |
1544 "value": 1 | 1544 "value": 1 |
1545 }, | 1545 }, |
1546 { | 1546 { |
1547 "key": "BULK_DATA_URI", | 1547 "key": "BULK_DATA_URI", |
1548 "value": 2 | 1548 "value": 2 |
1549 } | 1549 } |
1550 ] | 1550 ] |
1551 }, | 1551 }, |
1552 { | 1552 { |
1553 "name": "OrthancPluginErrorCode", | 1553 "name": "OrthancPluginErrorCode", |
1554 "path": "sdk_OrthancPluginErrorCode.impl.h", | 1554 "path": "sdk_OrthancPluginErrorCode.impl.h", |
1555 "values": [ | 1555 "values": [ |
1556 { | 1556 { |
1557 "key": "INTERNAL_ERROR", | 1557 "key": "INTERNAL_ERROR", |
1558 "value": -1 | 1558 "value": -1 |
1559 }, | 1559 }, |
1560 { | 1560 { |
1561 "key": "SUCCESS", | 1561 "key": "SUCCESS", |
1562 "value": 0 | 1562 "value": 0 |
1563 }, | 1563 }, |
1564 { | 1564 { |
1565 "key": "PLUGIN", | 1565 "key": "PLUGIN", |
1566 "value": 1 | 1566 "value": 1 |
1567 }, | 1567 }, |
1568 { | 1568 { |
1569 "key": "NOT_IMPLEMENTED", | 1569 "key": "NOT_IMPLEMENTED", |
1570 "value": 2 | 1570 "value": 2 |
1571 }, | 1571 }, |
1572 { | 1572 { |
1573 "key": "PARAMETER_OUT_OF_RANGE", | 1573 "key": "PARAMETER_OUT_OF_RANGE", |
1574 "value": 3 | 1574 "value": 3 |
1575 }, | 1575 }, |
1576 { | 1576 { |
1577 "key": "NOT_ENOUGH_MEMORY", | 1577 "key": "NOT_ENOUGH_MEMORY", |
1578 "value": 4 | 1578 "value": 4 |
1579 }, | 1579 }, |
1580 { | 1580 { |
1581 "key": "BAD_PARAMETER_TYPE", | 1581 "key": "BAD_PARAMETER_TYPE", |
1582 "value": 5 | 1582 "value": 5 |
1583 }, | 1583 }, |
1584 { | 1584 { |
1585 "key": "BAD_SEQUENCE_OF_CALLS", | 1585 "key": "BAD_SEQUENCE_OF_CALLS", |
1586 "value": 6 | 1586 "value": 6 |
1587 }, | 1587 }, |
1588 { | 1588 { |
1589 "key": "INEXISTENT_ITEM", | 1589 "key": "INEXISTENT_ITEM", |
1590 "value": 7 | 1590 "value": 7 |
1591 }, | 1591 }, |
1592 { | 1592 { |
1593 "key": "BAD_REQUEST", | 1593 "key": "BAD_REQUEST", |
1594 "value": 8 | 1594 "value": 8 |
1595 }, | 1595 }, |
1596 { | 1596 { |
1597 "key": "NETWORK_PROTOCOL", | 1597 "key": "NETWORK_PROTOCOL", |
1598 "value": 9 | 1598 "value": 9 |
1599 }, | 1599 }, |
1600 { | 1600 { |
1601 "key": "SYSTEM_COMMAND", | 1601 "key": "SYSTEM_COMMAND", |
1602 "value": 10 | 1602 "value": 10 |
1603 }, | 1603 }, |
1604 { | 1604 { |
1605 "key": "DATABASE", | 1605 "key": "DATABASE", |
1606 "value": 11 | 1606 "value": 11 |
1607 }, | 1607 }, |
1608 { | 1608 { |
1609 "key": "URI_SYNTAX", | 1609 "key": "URI_SYNTAX", |
1610 "value": 12 | 1610 "value": 12 |
1611 }, | 1611 }, |
1612 { | 1612 { |
1613 "key": "INEXISTENT_FILE", | 1613 "key": "INEXISTENT_FILE", |
1614 "value": 13 | 1614 "value": 13 |
1615 }, | 1615 }, |
1616 { | 1616 { |
1617 "key": "CANNOT_WRITE_FILE", | 1617 "key": "CANNOT_WRITE_FILE", |
1618 "value": 14 | 1618 "value": 14 |
1619 }, | 1619 }, |
1620 { | 1620 { |
1621 "key": "BAD_FILE_FORMAT", | 1621 "key": "BAD_FILE_FORMAT", |
1622 "value": 15 | 1622 "value": 15 |
1623 }, | 1623 }, |
1624 { | 1624 { |
1625 "key": "TIMEOUT", | 1625 "key": "TIMEOUT", |
1626 "value": 16 | 1626 "value": 16 |
1627 }, | 1627 }, |
1628 { | 1628 { |
1629 "key": "UNKNOWN_RESOURCE", | 1629 "key": "UNKNOWN_RESOURCE", |
1630 "value": 17 | 1630 "value": 17 |
1631 }, | 1631 }, |
1632 { | 1632 { |
1633 "key": "INCOMPATIBLE_DATABASE_VERSION", | 1633 "key": "INCOMPATIBLE_DATABASE_VERSION", |
1634 "value": 18 | 1634 "value": 18 |
1635 }, | 1635 }, |
1636 { | 1636 { |
1637 "key": "FULL_STORAGE", | 1637 "key": "FULL_STORAGE", |
1638 "value": 19 | 1638 "value": 19 |
1639 }, | 1639 }, |
1640 { | 1640 { |
1641 "key": "CORRUPTED_FILE", | 1641 "key": "CORRUPTED_FILE", |
1642 "value": 20 | 1642 "value": 20 |
1643 }, | 1643 }, |
1644 { | 1644 { |
1645 "key": "INEXISTENT_TAG", | 1645 "key": "INEXISTENT_TAG", |
1646 "value": 21 | 1646 "value": 21 |
1647 }, | 1647 }, |
1648 { | 1648 { |
1649 "key": "READ_ONLY", | 1649 "key": "READ_ONLY", |
1650 "value": 22 | 1650 "value": 22 |
1651 }, | 1651 }, |
1652 { | 1652 { |
1653 "key": "INCOMPATIBLE_IMAGE_FORMAT", | 1653 "key": "INCOMPATIBLE_IMAGE_FORMAT", |
1654 "value": 23 | 1654 "value": 23 |
1655 }, | 1655 }, |
1656 { | 1656 { |
1657 "key": "INCOMPATIBLE_IMAGE_SIZE", | 1657 "key": "INCOMPATIBLE_IMAGE_SIZE", |
1658 "value": 24 | 1658 "value": 24 |
1659 }, | 1659 }, |
1660 { | 1660 { |
1661 "key": "SHARED_LIBRARY", | 1661 "key": "SHARED_LIBRARY", |
1662 "value": 25 | 1662 "value": 25 |
1663 }, | 1663 }, |
1664 { | 1664 { |
1665 "key": "UNKNOWN_PLUGIN_SERVICE", | 1665 "key": "UNKNOWN_PLUGIN_SERVICE", |
1666 "value": 26 | 1666 "value": 26 |
1667 }, | 1667 }, |
1668 { | 1668 { |
1669 "key": "UNKNOWN_DICOM_TAG", | 1669 "key": "UNKNOWN_DICOM_TAG", |
1670 "value": 27 | 1670 "value": 27 |
1671 }, | 1671 }, |
1672 { | 1672 { |
1673 "key": "BAD_JSON", | 1673 "key": "BAD_JSON", |
1674 "value": 28 | 1674 "value": 28 |
1675 }, | 1675 }, |
1676 { | 1676 { |
1677 "key": "UNAUTHORIZED", | 1677 "key": "UNAUTHORIZED", |
1678 "value": 29 | 1678 "value": 29 |
1679 }, | 1679 }, |
1680 { | 1680 { |
1681 "key": "BAD_FONT", | 1681 "key": "BAD_FONT", |
1682 "value": 30 | 1682 "value": 30 |
1683 }, | 1683 }, |
1684 { | 1684 { |
1685 "key": "DATABASE_PLUGIN", | 1685 "key": "DATABASE_PLUGIN", |
1686 "value": 31 | 1686 "value": 31 |
1687 }, | 1687 }, |
1688 { | 1688 { |
1689 "key": "STORAGE_AREA_PLUGIN", | 1689 "key": "STORAGE_AREA_PLUGIN", |
1690 "value": 32 | 1690 "value": 32 |
1691 }, | 1691 }, |
1692 { | 1692 { |
1693 "key": "EMPTY_REQUEST", | 1693 "key": "EMPTY_REQUEST", |
1694 "value": 33 | 1694 "value": 33 |
1695 }, | 1695 }, |
1696 { | 1696 { |
1697 "key": "NOT_ACCEPTABLE", | 1697 "key": "NOT_ACCEPTABLE", |
1698 "value": 34 | 1698 "value": 34 |
1699 }, | 1699 }, |
1700 { | 1700 { |
1701 "key": "NULL_POINTER", | 1701 "key": "NULL_POINTER", |
1702 "value": 35 | 1702 "value": 35 |
1703 }, | 1703 }, |
1704 { | 1704 { |
1705 "key": "DATABASE_UNAVAILABLE", | 1705 "key": "DATABASE_UNAVAILABLE", |
1706 "value": 36 | 1706 "value": 36 |
1707 }, | 1707 }, |
1708 { | 1708 { |
1709 "key": "CANCELED_JOB", | 1709 "key": "CANCELED_JOB", |
1710 "value": 37 | 1710 "value": 37 |
1711 }, | 1711 }, |
1712 { | 1712 { |
1713 "key": "BAD_GEOMETRY", | 1713 "key": "BAD_GEOMETRY", |
1714 "value": 38 | 1714 "value": 38 |
1715 }, | 1715 }, |
1716 { | 1716 { |
1717 "key": "SSL_INITIALIZATION", | 1717 "key": "SSL_INITIALIZATION", |
1718 "value": 39 | 1718 "value": 39 |
1719 }, | 1719 }, |
1720 { | 1720 { |
1721 "key": "DISCONTINUED_ABI", | 1721 "key": "DISCONTINUED_ABI", |
1722 "value": 40 | 1722 "value": 40 |
1723 }, | 1723 }, |
1724 { | 1724 { |
1725 "key": "BAD_RANGE", | 1725 "key": "BAD_RANGE", |
1726 "value": 41 | 1726 "value": 41 |
1727 }, | 1727 }, |
1728 { | 1728 { |
1729 "key": "DATABASE_CANNOT_SERIALIZE", | 1729 "key": "DATABASE_CANNOT_SERIALIZE", |
1730 "value": 42 | 1730 "value": 42 |
1731 }, | 1731 }, |
1732 { | 1732 { |
1733 "key": "REVISION", | 1733 "key": "REVISION", |
1734 "value": 43 | 1734 "value": 43 |
1735 }, | 1735 }, |
1736 { | 1736 { |
1737 "key": "SQLITE_NOT_OPENED", | 1737 "key": "SQLITE_NOT_OPENED", |
1738 "value": 1000 | 1738 "value": 1000 |
1739 }, | 1739 }, |
1740 { | 1740 { |
1741 "key": "SQLITE_ALREADY_OPENED", | 1741 "key": "SQLITE_ALREADY_OPENED", |
1742 "value": 1001 | 1742 "value": 1001 |
1743 }, | 1743 }, |
1744 { | 1744 { |
1745 "key": "SQLITE_CANNOT_OPEN", | 1745 "key": "SQLITE_CANNOT_OPEN", |
1746 "value": 1002 | 1746 "value": 1002 |
1747 }, | 1747 }, |
1748 { | 1748 { |
1749 "key": "SQLITE_STATEMENT_ALREADY_USED", | 1749 "key": "SQLITE_STATEMENT_ALREADY_USED", |
1750 "value": 1003 | 1750 "value": 1003 |
1751 }, | 1751 }, |
1752 { | 1752 { |
1753 "key": "SQLITE_EXECUTE", | 1753 "key": "SQLITE_EXECUTE", |
1754 "value": 1004 | 1754 "value": 1004 |
1755 }, | 1755 }, |
1756 { | 1756 { |
1757 "key": "SQLITE_ROLLBACK_WITHOUT_TRANSACTION", | 1757 "key": "SQLITE_ROLLBACK_WITHOUT_TRANSACTION", |
1758 "value": 1005 | 1758 "value": 1005 |
1759 }, | 1759 }, |
1760 { | 1760 { |
1761 "key": "SQLITE_COMMIT_WITHOUT_TRANSACTION", | 1761 "key": "SQLITE_COMMIT_WITHOUT_TRANSACTION", |
1762 "value": 1006 | 1762 "value": 1006 |
1763 }, | 1763 }, |
1764 { | 1764 { |
1765 "key": "SQLITE_REGISTER_FUNCTION", | 1765 "key": "SQLITE_REGISTER_FUNCTION", |
1766 "value": 1007 | 1766 "value": 1007 |
1767 }, | 1767 }, |
1768 { | 1768 { |
1769 "key": "SQLITE_FLUSH", | 1769 "key": "SQLITE_FLUSH", |
1770 "value": 1008 | 1770 "value": 1008 |
1771 }, | 1771 }, |
1772 { | 1772 { |
1773 "key": "SQLITE_CANNOT_RUN", | 1773 "key": "SQLITE_CANNOT_RUN", |
1774 "value": 1009 | 1774 "value": 1009 |
1775 }, | 1775 }, |
1776 { | 1776 { |
1777 "key": "SQLITE_CANNOT_STEP", | 1777 "key": "SQLITE_CANNOT_STEP", |
1778 "value": 1010 | 1778 "value": 1010 |
1779 }, | 1779 }, |
1780 { | 1780 { |
1781 "key": "SQLITE_BIND_OUT_OF_RANGE", | 1781 "key": "SQLITE_BIND_OUT_OF_RANGE", |
1782 "value": 1011 | 1782 "value": 1011 |
1783 }, | 1783 }, |
1784 { | 1784 { |
1785 "key": "SQLITE_PREPARE_STATEMENT", | 1785 "key": "SQLITE_PREPARE_STATEMENT", |
1786 "value": 1012 | 1786 "value": 1012 |
1787 }, | 1787 }, |
1788 { | 1788 { |
1789 "key": "SQLITE_TRANSACTION_ALREADY_STARTED", | 1789 "key": "SQLITE_TRANSACTION_ALREADY_STARTED", |
1790 "value": 1013 | 1790 "value": 1013 |
1791 }, | 1791 }, |
1792 { | 1792 { |
1793 "key": "SQLITE_TRANSACTION_COMMIT", | 1793 "key": "SQLITE_TRANSACTION_COMMIT", |
1794 "value": 1014 | 1794 "value": 1014 |
1795 }, | 1795 }, |
1796 { | 1796 { |
1797 "key": "SQLITE_TRANSACTION_BEGIN", | 1797 "key": "SQLITE_TRANSACTION_BEGIN", |
1798 "value": 1015 | 1798 "value": 1015 |
1799 }, | 1799 }, |
1800 { | 1800 { |
1801 "key": "DIRECTORY_OVER_FILE", | 1801 "key": "DIRECTORY_OVER_FILE", |
1802 "value": 2000 | 1802 "value": 2000 |
1803 }, | 1803 }, |
1804 { | 1804 { |
1805 "key": "FILE_STORAGE_CANNOT_WRITE", | 1805 "key": "FILE_STORAGE_CANNOT_WRITE", |
1806 "value": 2001 | 1806 "value": 2001 |
1807 }, | 1807 }, |
1808 { | 1808 { |
1809 "key": "DIRECTORY_EXPECTED", | 1809 "key": "DIRECTORY_EXPECTED", |
1810 "value": 2002 | 1810 "value": 2002 |
1811 }, | 1811 }, |
1812 { | 1812 { |
1813 "key": "HTTP_PORT_IN_USE", | 1813 "key": "HTTP_PORT_IN_USE", |
1814 "value": 2003 | 1814 "value": 2003 |
1815 }, | 1815 }, |
1816 { | 1816 { |
1817 "key": "DICOM_PORT_IN_USE", | 1817 "key": "DICOM_PORT_IN_USE", |
1818 "value": 2004 | 1818 "value": 2004 |
1819 }, | 1819 }, |
1820 { | 1820 { |
1821 "key": "BAD_HTTP_STATUS_IN_REST", | 1821 "key": "BAD_HTTP_STATUS_IN_REST", |
1822 "value": 2005 | 1822 "value": 2005 |
1823 }, | 1823 }, |
1824 { | 1824 { |
1825 "key": "REGULAR_FILE_EXPECTED", | 1825 "key": "REGULAR_FILE_EXPECTED", |
1826 "value": 2006 | 1826 "value": 2006 |
1827 }, | 1827 }, |
1828 { | 1828 { |
1829 "key": "PATH_TO_EXECUTABLE", | 1829 "key": "PATH_TO_EXECUTABLE", |
1830 "value": 2007 | 1830 "value": 2007 |
1831 }, | 1831 }, |
1832 { | 1832 { |
1833 "key": "MAKE_DIRECTORY", | 1833 "key": "MAKE_DIRECTORY", |
1834 "value": 2008 | 1834 "value": 2008 |
1835 }, | 1835 }, |
1836 { | 1836 { |
1837 "key": "BAD_APPLICATION_ENTITY_TITLE", | 1837 "key": "BAD_APPLICATION_ENTITY_TITLE", |
1838 "value": 2009 | 1838 "value": 2009 |
1839 }, | 1839 }, |
1840 { | 1840 { |
1841 "key": "NO_CFIND_HANDLER", | 1841 "key": "NO_CFIND_HANDLER", |
1842 "value": 2010 | 1842 "value": 2010 |
1843 }, | 1843 }, |
1844 { | 1844 { |
1845 "key": "NO_CMOVE_HANDLER", | 1845 "key": "NO_CMOVE_HANDLER", |
1846 "value": 2011 | 1846 "value": 2011 |
1847 }, | 1847 }, |
1848 { | 1848 { |
1849 "key": "NO_CSTORE_HANDLER", | 1849 "key": "NO_CSTORE_HANDLER", |
1850 "value": 2012 | 1850 "value": 2012 |
1851 }, | 1851 }, |
1852 { | 1852 { |
1853 "key": "NO_APPLICATION_ENTITY_FILTER", | 1853 "key": "NO_APPLICATION_ENTITY_FILTER", |
1854 "value": 2013 | 1854 "value": 2013 |
1855 }, | 1855 }, |
1856 { | 1856 { |
1857 "key": "NO_SOP_CLASS_OR_INSTANCE", | 1857 "key": "NO_SOP_CLASS_OR_INSTANCE", |
1858 "value": 2014 | 1858 "value": 2014 |
1859 }, | 1859 }, |
1860 { | 1860 { |
1861 "key": "NO_PRESENTATION_CONTEXT", | 1861 "key": "NO_PRESENTATION_CONTEXT", |
1862 "value": 2015 | 1862 "value": 2015 |
1863 }, | 1863 }, |
1864 { | 1864 { |
1865 "key": "DICOM_FIND_UNAVAILABLE", | 1865 "key": "DICOM_FIND_UNAVAILABLE", |
1866 "value": 2016 | 1866 "value": 2016 |
1867 }, | 1867 }, |
1868 { | 1868 { |
1869 "key": "DICOM_MOVE_UNAVAILABLE", | 1869 "key": "DICOM_MOVE_UNAVAILABLE", |
1870 "value": 2017 | 1870 "value": 2017 |
1871 }, | 1871 }, |
1872 { | 1872 { |
1873 "key": "CANNOT_STORE_INSTANCE", | 1873 "key": "CANNOT_STORE_INSTANCE", |
1874 "value": 2018 | 1874 "value": 2018 |
1875 }, | 1875 }, |
1876 { | 1876 { |
1877 "key": "CREATE_DICOM_NOT_STRING", | 1877 "key": "CREATE_DICOM_NOT_STRING", |
1878 "value": 2019 | 1878 "value": 2019 |
1879 }, | 1879 }, |
1880 { | 1880 { |
1881 "key": "CREATE_DICOM_OVERRIDE_TAG", | 1881 "key": "CREATE_DICOM_OVERRIDE_TAG", |
1882 "value": 2020 | 1882 "value": 2020 |
1883 }, | 1883 }, |
1884 { | 1884 { |
1885 "key": "CREATE_DICOM_USE_CONTENT", | 1885 "key": "CREATE_DICOM_USE_CONTENT", |
1886 "value": 2021 | 1886 "value": 2021 |
1887 }, | 1887 }, |
1888 { | 1888 { |
1889 "key": "CREATE_DICOM_NO_PAYLOAD", | 1889 "key": "CREATE_DICOM_NO_PAYLOAD", |
1890 "value": 2022 | 1890 "value": 2022 |
1891 }, | 1891 }, |
1892 { | 1892 { |
1893 "key": "CREATE_DICOM_USE_DATA_URI_SCHEME", | 1893 "key": "CREATE_DICOM_USE_DATA_URI_SCHEME", |
1894 "value": 2023 | 1894 "value": 2023 |
1895 }, | 1895 }, |
1896 { | 1896 { |
1897 "key": "CREATE_DICOM_BAD_PARENT", | 1897 "key": "CREATE_DICOM_BAD_PARENT", |
1898 "value": 2024 | 1898 "value": 2024 |
1899 }, | 1899 }, |
1900 { | 1900 { |
1901 "key": "CREATE_DICOM_PARENT_IS_INSTANCE", | 1901 "key": "CREATE_DICOM_PARENT_IS_INSTANCE", |
1902 "value": 2025 | 1902 "value": 2025 |
1903 }, | 1903 }, |
1904 { | 1904 { |
1905 "key": "CREATE_DICOM_PARENT_ENCODING", | 1905 "key": "CREATE_DICOM_PARENT_ENCODING", |
1906 "value": 2026 | 1906 "value": 2026 |
1907 }, | 1907 }, |
1908 { | 1908 { |
1909 "key": "UNKNOWN_MODALITY", | 1909 "key": "UNKNOWN_MODALITY", |
1910 "value": 2027 | 1910 "value": 2027 |
1911 }, | 1911 }, |
1912 { | 1912 { |
1913 "key": "BAD_JOB_ORDERING", | 1913 "key": "BAD_JOB_ORDERING", |
1914 "value": 2028 | 1914 "value": 2028 |
1915 }, | 1915 }, |
1916 { | 1916 { |
1917 "key": "JSON_TO_LUA_TABLE", | 1917 "key": "JSON_TO_LUA_TABLE", |
1918 "value": 2029 | 1918 "value": 2029 |
1919 }, | 1919 }, |
1920 { | 1920 { |
1921 "key": "CANNOT_CREATE_LUA", | 1921 "key": "CANNOT_CREATE_LUA", |
1922 "value": 2030 | 1922 "value": 2030 |
1923 }, | 1923 }, |
1924 { | 1924 { |
1925 "key": "CANNOT_EXECUTE_LUA", | 1925 "key": "CANNOT_EXECUTE_LUA", |
1926 "value": 2031 | 1926 "value": 2031 |
1927 }, | 1927 }, |
1928 { | 1928 { |
1929 "key": "LUA_ALREADY_EXECUTED", | 1929 "key": "LUA_ALREADY_EXECUTED", |
1930 "value": 2032 | 1930 "value": 2032 |
1931 }, | 1931 }, |
1932 { | 1932 { |
1933 "key": "LUA_BAD_OUTPUT", | 1933 "key": "LUA_BAD_OUTPUT", |
1934 "value": 2033 | 1934 "value": 2033 |
1935 }, | 1935 }, |
1936 { | 1936 { |
1937 "key": "NOT_LUA_PREDICATE", | 1937 "key": "NOT_LUA_PREDICATE", |
1938 "value": 2034 | 1938 "value": 2034 |
1939 }, | 1939 }, |
1940 { | 1940 { |
1941 "key": "LUA_RETURNS_NO_STRING", | 1941 "key": "LUA_RETURNS_NO_STRING", |
1942 "value": 2035 | 1942 "value": 2035 |
1943 }, | 1943 }, |
1944 { | 1944 { |
1945 "key": "STORAGE_AREA_ALREADY_REGISTERED", | 1945 "key": "STORAGE_AREA_ALREADY_REGISTERED", |
1946 "value": 2036 | 1946 "value": 2036 |
1947 }, | 1947 }, |
1948 { | 1948 { |
1949 "key": "DATABASE_BACKEND_ALREADY_REGISTERED", | 1949 "key": "DATABASE_BACKEND_ALREADY_REGISTERED", |
1950 "value": 2037 | 1950 "value": 2037 |
1951 }, | 1951 }, |
1952 { | 1952 { |
1953 "key": "DATABASE_NOT_INITIALIZED", | 1953 "key": "DATABASE_NOT_INITIALIZED", |
1954 "value": 2038 | 1954 "value": 2038 |
1955 }, | 1955 }, |
1956 { | 1956 { |
1957 "key": "SSL_DISABLED", | 1957 "key": "SSL_DISABLED", |
1958 "value": 2039 | 1958 "value": 2039 |
1959 }, | 1959 }, |
1960 { | 1960 { |
1961 "key": "CANNOT_ORDER_SLICES", | 1961 "key": "CANNOT_ORDER_SLICES", |
1962 "value": 2040 | 1962 "value": 2040 |
1963 }, | 1963 }, |
1964 { | 1964 { |
1965 "key": "NO_WORKLIST_HANDLER", | 1965 "key": "NO_WORKLIST_HANDLER", |
1966 "value": 2041 | 1966 "value": 2041 |
1967 }, | 1967 }, |
1968 { | 1968 { |
1969 "key": "ALREADY_EXISTING_TAG", | 1969 "key": "ALREADY_EXISTING_TAG", |
1970 "value": 2042 | 1970 "value": 2042 |
1971 }, | 1971 }, |
1972 { | 1972 { |
1973 "key": "NO_STORAGE_COMMITMENT_HANDLER", | 1973 "key": "NO_STORAGE_COMMITMENT_HANDLER", |
1974 "value": 2043 | 1974 "value": 2043 |
1975 }, | 1975 }, |
1976 { | 1976 { |
1977 "key": "NO_CGET_HANDLER", | 1977 "key": "NO_CGET_HANDLER", |
1978 "value": 2044 | 1978 "value": 2044 |
1979 }, | 1979 }, |
1980 { | 1980 { |
1981 "key": "UNSUPPORTED_MEDIA_TYPE", | 1981 "key": "UNSUPPORTED_MEDIA_TYPE", |
1982 "value": 3000 | 1982 "value": 3000 |
1983 } | 1983 } |
1984 ] | 1984 ] |
1985 }, | 1985 }, |
1986 { | 1986 { |
1987 "name": "OrthancPluginHttpMethod", | 1987 "name": "OrthancPluginHttpMethod", |
1988 "path": "sdk_OrthancPluginHttpMethod.impl.h", | 1988 "path": "sdk_OrthancPluginHttpMethod.impl.h", |
1989 "values": [ | 1989 "values": [ |
1990 { | 1990 { |
1991 "key": "GET", | 1991 "key": "GET", |
1992 "value": 1 | 1992 "value": 1 |
1993 }, | 1993 }, |
1994 { | 1994 { |
1995 "key": "POST", | 1995 "key": "POST", |
1996 "value": 2 | 1996 "value": 2 |
1997 }, | 1997 }, |
1998 { | 1998 { |
1999 "key": "PUT", | 1999 "key": "PUT", |
2000 "value": 3 | 2000 "value": 3 |
2001 }, | 2001 }, |
2002 { | 2002 { |
2003 "key": "DELETE", | 2003 "key": "DELETE", |
2004 "value": 4 | 2004 "value": 4 |
2005 } | 2005 } |
2006 ] | 2006 ] |
2007 }, | 2007 }, |
2008 { | 2008 { |
2009 "name": "OrthancPluginIdentifierConstraint", | 2009 "name": "OrthancPluginIdentifierConstraint", |
2010 "path": "sdk_OrthancPluginIdentifierConstraint.impl.h", | 2010 "path": "sdk_OrthancPluginIdentifierConstraint.impl.h", |
2011 "values": [ | 2011 "values": [ |
2012 { | 2012 { |
2013 "key": "EQUAL", | 2013 "key": "EQUAL", |
2014 "value": 1 | 2014 "value": 1 |
2015 }, | 2015 }, |
2016 { | 2016 { |
2017 "key": "SMALLER_OR_EQUAL", | 2017 "key": "SMALLER_OR_EQUAL", |
2018 "value": 2 | 2018 "value": 2 |
2019 }, | 2019 }, |
2020 { | 2020 { |
2021 "key": "GREATER_OR_EQUAL", | 2021 "key": "GREATER_OR_EQUAL", |
2022 "value": 3 | 2022 "value": 3 |
2023 }, | 2023 }, |
2024 { | 2024 { |
2025 "key": "WILDCARD", | 2025 "key": "WILDCARD", |
2026 "value": 4 | 2026 "value": 4 |
2027 } | 2027 } |
2028 ] | 2028 ] |
2029 }, | 2029 }, |
2030 { | 2030 { |
2031 "name": "OrthancPluginImageFormat", | 2031 "name": "OrthancPluginImageFormat", |
2032 "path": "sdk_OrthancPluginImageFormat.impl.h", | 2032 "path": "sdk_OrthancPluginImageFormat.impl.h", |
2033 "values": [ | 2033 "values": [ |
2034 { | 2034 { |
2035 "key": "PNG", | 2035 "key": "PNG", |
2036 "value": 0 | 2036 "value": 0 |
2037 }, | 2037 }, |
2038 { | 2038 { |
2039 "key": "JPEG", | 2039 "key": "JPEG", |
2040 "value": 1 | 2040 "value": 1 |
2041 }, | 2041 }, |
2042 { | 2042 { |
2043 "key": "DICOM", | 2043 "key": "DICOM", |
2044 "value": 2 | 2044 "value": 2 |
2045 } | 2045 } |
2046 ] | 2046 ] |
2047 }, | 2047 }, |
2048 { | 2048 { |
2049 "name": "OrthancPluginInstanceOrigin", | 2049 "name": "OrthancPluginInstanceOrigin", |
2050 "path": "sdk_OrthancPluginInstanceOrigin.impl.h", | 2050 "path": "sdk_OrthancPluginInstanceOrigin.impl.h", |
2051 "values": [ | 2051 "values": [ |
2052 { | 2052 { |
2053 "key": "UNKNOWN", | 2053 "key": "UNKNOWN", |
2054 "value": 1 | 2054 "value": 1 |
2055 }, | 2055 }, |
2056 { | 2056 { |
2057 "key": "DICOM_PROTOCOL", | 2057 "key": "DICOM_PROTOCOL", |
2058 "value": 2 | 2058 "value": 2 |
2059 }, | 2059 }, |
2060 { | 2060 { |
2061 "key": "REST_API", | 2061 "key": "REST_API", |
2062 "value": 3 | 2062 "value": 3 |
2063 }, | 2063 }, |
2064 { | 2064 { |
2065 "key": "PLUGIN", | 2065 "key": "PLUGIN", |
2066 "value": 4 | 2066 "value": 4 |
2067 }, | 2067 }, |
2068 { | 2068 { |
2069 "key": "LUA", | 2069 "key": "LUA", |
2070 "value": 5 | 2070 "value": 5 |
2071 }, | 2071 }, |
2072 { | 2072 { |
2073 "key": "WEB_DAV", | 2073 "key": "WEB_DAV", |
2074 "value": 6 | 2074 "value": 6 |
2075 } | 2075 } |
2076 ] | 2076 ] |
2077 }, | 2077 }, |
2078 { | 2078 { |
2079 "name": "OrthancPluginJobStepStatus", | 2079 "name": "OrthancPluginJobStepStatus", |
2080 "path": "sdk_OrthancPluginJobStepStatus.impl.h", | 2080 "path": "sdk_OrthancPluginJobStepStatus.impl.h", |
2081 "values": [ | 2081 "values": [ |
2082 { | 2082 { |
2083 "key": "SUCCESS", | 2083 "key": "SUCCESS", |
2084 "value": 1 | 2084 "value": 1 |
2085 }, | 2085 }, |
2086 { | 2086 { |
2087 "key": "FAILURE", | 2087 "key": "FAILURE", |
2088 "value": 2 | 2088 "value": 2 |
2089 }, | 2089 }, |
2090 { | 2090 { |
2091 "key": "CONTINUE", | 2091 "key": "CONTINUE", |
2092 "value": 3 | 2092 "value": 3 |
2093 } | 2093 } |
2094 ] | 2094 ] |
2095 }, | 2095 }, |
2096 { | 2096 { |
2097 "name": "OrthancPluginJobStopReason", | 2097 "name": "OrthancPluginJobStopReason", |
2098 "path": "sdk_OrthancPluginJobStopReason.impl.h", | 2098 "path": "sdk_OrthancPluginJobStopReason.impl.h", |
2099 "values": [ | 2099 "values": [ |
2100 { | 2100 { |
2101 "key": "SUCCESS", | 2101 "key": "SUCCESS", |
2102 "value": 1 | 2102 "value": 1 |
2103 }, | 2103 }, |
2104 { | 2104 { |
2105 "key": "PAUSED", | 2105 "key": "PAUSED", |
2106 "value": 2 | 2106 "value": 2 |
2107 }, | 2107 }, |
2108 { | 2108 { |
2109 "key": "FAILURE", | 2109 "key": "FAILURE", |
2110 "value": 3 | 2110 "value": 3 |
2111 }, | 2111 }, |
2112 { | 2112 { |
2113 "key": "CANCELED", | 2113 "key": "CANCELED", |
2114 "value": 4 | 2114 "value": 4 |
2115 } | 2115 } |
2116 ] | 2116 ] |
2117 }, | 2117 }, |
2118 { | 2118 { |
2119 "name": "OrthancPluginMetricsType", | 2119 "name": "OrthancPluginMetricsType", |
2120 "path": "sdk_OrthancPluginMetricsType.impl.h", | 2120 "path": "sdk_OrthancPluginMetricsType.impl.h", |
2121 "values": [ | 2121 "values": [ |
2122 { | 2122 { |
2123 "key": "DEFAULT", | 2123 "key": "DEFAULT", |
2124 "value": 0 | 2124 "value": 0 |
2125 }, | 2125 }, |
2126 { | 2126 { |
2127 "key": "TIMER", | 2127 "key": "TIMER", |
2128 "value": 1 | 2128 "value": 1 |
2129 } | 2129 } |
2130 ] | 2130 ] |
2131 }, | 2131 }, |
2132 { | 2132 { |
2133 "name": "OrthancPluginPixelFormat", | 2133 "name": "OrthancPluginPixelFormat", |
2134 "path": "sdk_OrthancPluginPixelFormat.impl.h", | 2134 "path": "sdk_OrthancPluginPixelFormat.impl.h", |
2135 "values": [ | 2135 "values": [ |
2136 { | 2136 { |
2137 "key": "GRAYSCALE8", | 2137 "key": "GRAYSCALE8", |
2138 "value": 1 | 2138 "value": 1 |
2139 }, | 2139 }, |
2140 { | 2140 { |
2141 "key": "GRAYSCALE16", | 2141 "key": "GRAYSCALE16", |
2142 "value": 2 | 2142 "value": 2 |
2143 }, | 2143 }, |
2144 { | 2144 { |
2145 "key": "SIGNED_GRAYSCALE16", | 2145 "key": "SIGNED_GRAYSCALE16", |
2146 "value": 3 | 2146 "value": 3 |
2147 }, | 2147 }, |
2148 { | 2148 { |
2149 "key": "RGB24", | 2149 "key": "RGB24", |
2150 "value": 4 | 2150 "value": 4 |
2151 }, | 2151 }, |
2152 { | 2152 { |
2153 "key": "RGBA32", | 2153 "key": "RGBA32", |
2154 "value": 5 | 2154 "value": 5 |
2155 }, | 2155 }, |
2156 { | 2156 { |
2157 "key": "UNKNOWN", | 2157 "key": "UNKNOWN", |
2158 "value": 6 | 2158 "value": 6 |
2159 }, | 2159 }, |
2160 { | 2160 { |
2161 "key": "RGB48", | 2161 "key": "RGB48", |
2162 "value": 7 | 2162 "value": 7 |
2163 }, | 2163 }, |
2164 { | 2164 { |
2165 "key": "GRAYSCALE32", | 2165 "key": "GRAYSCALE32", |
2166 "value": 8 | 2166 "value": 8 |
2167 }, | 2167 }, |
2168 { | 2168 { |
2169 "key": "FLOAT32", | 2169 "key": "FLOAT32", |
2170 "value": 9 | 2170 "value": 9 |
2171 }, | 2171 }, |
2172 { | 2172 { |
2173 "key": "BGRA32", | 2173 "key": "BGRA32", |
2174 "value": 10 | 2174 "value": 10 |
2175 }, | 2175 }, |
2176 { | 2176 { |
2177 "key": "GRAYSCALE64", | 2177 "key": "GRAYSCALE64", |
2178 "value": 11 | 2178 "value": 11 |
2179 } | 2179 } |
2180 ] | 2180 ] |
2181 }, | 2181 }, |
2182 { | 2182 { |
2183 "name": "OrthancPluginReceivedInstanceAction", | 2183 "name": "OrthancPluginReceivedInstanceAction", |
2184 "path": "sdk_OrthancPluginReceivedInstanceAction.impl.h", | 2184 "path": "sdk_OrthancPluginReceivedInstanceAction.impl.h", |
2185 "values": [ | 2185 "values": [ |
2186 { | 2186 { |
2187 "key": "KEEP_AS_IS", | 2187 "key": "KEEP_AS_IS", |
2188 "value": 1 | 2188 "value": 1 |
2189 }, | 2189 }, |
2190 { | 2190 { |
2191 "key": "MODIFY", | 2191 "key": "MODIFY", |
2192 "value": 2 | 2192 "value": 2 |
2193 }, | 2193 }, |
2194 { | 2194 { |
2195 "key": "DISCARD", | 2195 "key": "DISCARD", |
2196 "value": 3 | 2196 "value": 3 |
2197 } | 2197 } |
2198 ] | 2198 ] |
2199 }, | 2199 }, |
2200 { | 2200 { |
2201 "name": "OrthancPluginResourceType", | 2201 "name": "OrthancPluginResourceType", |
2202 "path": "sdk_OrthancPluginResourceType.impl.h", | 2202 "path": "sdk_OrthancPluginResourceType.impl.h", |
2203 "values": [ | 2203 "values": [ |
2204 { | 2204 { |
2205 "key": "PATIENT", | 2205 "key": "PATIENT", |
2206 "value": 0 | 2206 "value": 0 |
2207 }, | 2207 }, |
2208 { | 2208 { |
2209 "key": "STUDY", | 2209 "key": "STUDY", |
2210 "value": 1 | 2210 "value": 1 |
2211 }, | 2211 }, |
2212 { | 2212 { |
2213 "key": "SERIES", | 2213 "key": "SERIES", |
2214 "value": 2 | 2214 "value": 2 |
2215 }, | 2215 }, |
2216 { | 2216 { |
2217 "key": "INSTANCE", | 2217 "key": "INSTANCE", |
2218 "value": 3 | 2218 "value": 3 |
2219 }, | 2219 }, |
2220 { | 2220 { |
2221 "key": "NONE", | 2221 "key": "NONE", |
2222 "value": 4 | 2222 "value": 4 |
2223 } | 2223 } |
2224 ] | 2224 ] |
2225 }, | 2225 }, |
2226 { | 2226 { |
2227 "name": "OrthancPluginStorageCommitmentFailureReason", | 2227 "name": "OrthancPluginStorageCommitmentFailureReason", |
2228 "path": "sdk_OrthancPluginStorageCommitmentFailureReason.impl.h", | 2228 "path": "sdk_OrthancPluginStorageCommitmentFailureReason.impl.h", |
2229 "values": [ | 2229 "values": [ |
2230 { | 2230 { |
2231 "key": "SUCCESS", | 2231 "key": "SUCCESS", |
2232 "value": 0 | 2232 "value": 0 |
2233 }, | 2233 }, |
2234 { | 2234 { |
2235 "key": "PROCESSING_FAILURE", | 2235 "key": "PROCESSING_FAILURE", |
2236 "value": 1 | 2236 "value": 1 |
2237 }, | 2237 }, |
2238 { | 2238 { |
2239 "key": "NO_SUCH_OBJECT_INSTANCE", | 2239 "key": "NO_SUCH_OBJECT_INSTANCE", |
2240 "value": 2 | 2240 "value": 2 |
2241 }, | 2241 }, |
2242 { | 2242 { |
2243 "key": "RESOURCE_LIMITATION", | 2243 "key": "RESOURCE_LIMITATION", |
2244 "value": 3 | 2244 "value": 3 |
2245 }, | 2245 }, |
2246 { | 2246 { |
2247 "key": "REFERENCED_SOPCLASS_NOT_SUPPORTED", | 2247 "key": "REFERENCED_SOPCLASS_NOT_SUPPORTED", |
2248 "value": 4 | 2248 "value": 4 |
2249 }, | 2249 }, |
2250 { | 2250 { |
2251 "key": "CLASS_INSTANCE_CONFLICT", | 2251 "key": "CLASS_INSTANCE_CONFLICT", |
2252 "value": 5 | 2252 "value": 5 |
2253 }, | 2253 }, |
2254 { | 2254 { |
2255 "key": "DUPLICATE_TRANSACTION_UID", | 2255 "key": "DUPLICATE_TRANSACTION_UID", |
2256 "value": 6 | 2256 "value": 6 |
2257 } | 2257 } |
2258 ] | 2258 ] |
2259 }, | 2259 }, |
2260 { | 2260 { |
2261 "name": "OrthancPluginValueRepresentation", | 2261 "name": "OrthancPluginValueRepresentation", |
2262 "path": "sdk_OrthancPluginValueRepresentation.impl.h", | 2262 "path": "sdk_OrthancPluginValueRepresentation.impl.h", |
2263 "values": [ | 2263 "values": [ |
2264 { | 2264 { |
2265 "key": "AE", | 2265 "key": "AE", |
2266 "value": 1 | 2266 "value": 1 |
2267 }, | 2267 }, |
2268 { | 2268 { |
2269 "key": "AS", | 2269 "key": "AS", |
2270 "value": 2 | 2270 "value": 2 |
2271 }, | 2271 }, |
2272 { | 2272 { |
2273 "key": "AT", | 2273 "key": "AT", |
2274 "value": 3 | 2274 "value": 3 |
2275 }, | 2275 }, |
2276 { | 2276 { |
2277 "key": "CS", | 2277 "key": "CS", |
2278 "value": 4 | 2278 "value": 4 |
2279 }, | 2279 }, |
2280 { | 2280 { |
2281 "key": "DA", | 2281 "key": "DA", |
2282 "value": 5 | 2282 "value": 5 |
2283 }, | 2283 }, |
2284 { | 2284 { |
2285 "key": "DS", | 2285 "key": "DS", |
2286 "value": 6 | 2286 "value": 6 |
2287 }, | 2287 }, |
2288 { | 2288 { |
2289 "key": "DT", | 2289 "key": "DT", |
2290 "value": 7 | 2290 "value": 7 |
2291 }, | 2291 }, |
2292 { | 2292 { |
2293 "key": "FD", | 2293 "key": "FD", |
2294 "value": 8 | 2294 "value": 8 |
2295 }, | 2295 }, |
2296 { | 2296 { |
2297 "key": "FL", | 2297 "key": "FL", |
2298 "value": 9 | 2298 "value": 9 |
2299 }, | 2299 }, |
2300 { | 2300 { |
2301 "key": "IS", | 2301 "key": "IS", |
2302 "value": 10 | 2302 "value": 10 |
2303 }, | 2303 }, |
2304 { | 2304 { |
2305 "key": "LO", | 2305 "key": "LO", |
2306 "value": 11 | 2306 "value": 11 |
2307 }, | 2307 }, |
2308 { | 2308 { |
2309 "key": "LT", | 2309 "key": "LT", |
2310 "value": 12 | 2310 "value": 12 |
2311 }, | 2311 }, |
2312 { | 2312 { |
2313 "key": "OB", | 2313 "key": "OB", |
2314 "value": 13 | 2314 "value": 13 |
2315 }, | 2315 }, |
2316 { | 2316 { |
2317 "key": "OF", | 2317 "key": "OF", |
2318 "value": 14 | 2318 "value": 14 |
2319 }, | 2319 }, |
2320 { | 2320 { |
2321 "key": "OW", | 2321 "key": "OW", |
2322 "value": 15 | 2322 "value": 15 |
2323 }, | 2323 }, |
2324 { | 2324 { |
2325 "key": "PN", | 2325 "key": "PN", |
2326 "value": 16 | 2326 "value": 16 |
2327 }, | 2327 }, |
2328 { | 2328 { |
2329 "key": "SH", | 2329 "key": "SH", |
2330 "value": 17 | 2330 "value": 17 |
2331 }, | 2331 }, |
2332 { | 2332 { |
2333 "key": "SL", | 2333 "key": "SL", |
2334 "value": 18 | 2334 "value": 18 |
2335 }, | 2335 }, |
2336 { | 2336 { |
2337 "key": "SQ", | 2337 "key": "SQ", |
2338 "value": 19 | 2338 "value": 19 |
2339 }, | 2339 }, |
2340 { | 2340 { |
2341 "key": "SS", | 2341 "key": "SS", |
2342 "value": 20 | 2342 "value": 20 |
2343 }, | 2343 }, |
2344 { | 2344 { |
2345 "key": "ST", | 2345 "key": "ST", |
2346 "value": 21 | 2346 "value": 21 |
2347 }, | 2347 }, |
2348 { | 2348 { |
2349 "key": "TM", | 2349 "key": "TM", |
2350 "value": 22 | 2350 "value": 22 |
2351 }, | 2351 }, |
2352 { | 2352 { |
2353 "key": "UI", | 2353 "key": "UI", |
2354 "value": 23 | 2354 "value": 23 |
2355 }, | 2355 }, |
2356 { | 2356 { |
2357 "key": "UL", | 2357 "key": "UL", |
2358 "value": 24 | 2358 "value": 24 |
2359 }, | 2359 }, |
2360 { | 2360 { |
2361 "key": "UN", | 2361 "key": "UN", |
2362 "value": 25 | 2362 "value": 25 |
2363 }, | 2363 }, |
2364 { | 2364 { |
2365 "key": "US", | 2365 "key": "US", |
2366 "value": 26 | 2366 "value": 26 |
2367 }, | 2367 }, |
2368 { | 2368 { |
2369 "key": "UT", | 2369 "key": "UT", |
2370 "value": 27 | 2370 "value": 27 |
2371 } | 2371 } |
2372 ] | 2372 ] |
2373 } | 2373 } |
2374 ], | 2374 ], |
2375 "global_functions": [ | 2375 "global_functions": [ |
2376 { | 2376 { |
2377 "args": [ | 2377 "args": [ |
2378 { | 2378 { |
2379 "initialization": " = 0", | 2379 "initialization": " = 0", |
2380 "name": "arg0", | 2380 "name": "arg0", |
2381 "orthanc_cast": "arg0", | 2381 "orthanc_cast": "arg0", |
2382 "python_format": "l", | 2382 "python_format": "l", |
2383 "python_type": "long int", | 2383 "python_type": "long int", |
2384 "sdk_name": "expectedMajor", | 2384 "sdk_name": "expectedMajor", |
2385 "sdk_type": "int32_t" | 2385 "sdk_type": "int32_t" |
2386 }, | 2386 }, |
2387 { | 2387 { |
2388 "initialization": " = 0", | 2388 "initialization": " = 0", |
2389 "name": "arg1", | 2389 "name": "arg1", |
2390 "orthanc_cast": "arg1", | 2390 "orthanc_cast": "arg1", |
2391 "python_format": "l", | 2391 "python_format": "l", |
2392 "python_type": "long int", | 2392 "python_type": "long int", |
2393 "sdk_name": "expectedMinor", | 2393 "sdk_name": "expectedMinor", |
2394 "sdk_type": "int32_t" | 2394 "sdk_type": "int32_t" |
2395 }, | 2395 }, |
2396 { | 2396 { |
2397 "initialization": " = 0", | 2397 "initialization": " = 0", |
2398 "name": "arg2", | 2398 "name": "arg2", |
2399 "orthanc_cast": "arg2", | 2399 "orthanc_cast": "arg2", |
2400 "python_format": "l", | 2400 "python_format": "l", |
2401 "python_type": "long int", | 2401 "python_type": "long int", |
2402 "sdk_name": "expectedRevision", | 2402 "sdk_name": "expectedRevision", |
2403 "sdk_type": "int32_t" | 2403 "sdk_type": "int32_t" |
2404 } | 2404 } |
2405 ], | 2405 ], |
2406 "c_function": "OrthancPluginCheckVersionAdvanced", | 2406 "c_function": "OrthancPluginCheckVersionAdvanced", |
2407 "call_args": ", arg0, arg1, arg2", | 2407 "call_args": ", arg0, arg1, arg2", |
2408 "count_args": 3, | 2408 "count_args": 3, |
2409 "has_args": true, | 2409 "has_args": true, |
2410 "return_long": true, | 2410 "return_long": true, |
2411 "return_sdk_type": "int32_t", | 2411 "return_sdk_type": "int32_t", |
2412 "short_name": "CheckVersionAdvanced", | 2412 "short_name": "CheckVersionAdvanced", |
2413 "tuple_format": "\"lll\", &arg0, &arg1, &arg2" | 2413 "tuple_format": "\"lll\", &arg0, &arg1, &arg2" |
2414 }, | 2414 }, |
2415 { | 2415 { |
2416 "args": [], | 2416 "args": [], |
2417 "c_function": "OrthancPluginCheckVersion", | 2417 "c_function": "OrthancPluginCheckVersion", |
2418 "return_long": true, | 2418 "return_long": true, |
2419 "return_sdk_type": "int32_t", | 2419 "return_sdk_type": "int32_t", |
2420 "short_name": "CheckVersion", | 2420 "short_name": "CheckVersion", |
2421 "tuple_format": "\"\", " | 2421 "tuple_format": "\"\", " |
2422 }, | 2422 }, |
2423 { | 2423 { |
2424 "args": [ | 2424 "args": [ |
2425 { | 2425 { |
2426 "initialization": " = NULL", | 2426 "initialization": " = NULL", |
2427 "name": "arg0", | 2427 "name": "arg0", |
2428 "orthanc_cast": "arg0", | 2428 "orthanc_cast": "arg0", |
2429 "python_format": "s", | 2429 "python_format": "s", |
2430 "python_type": "const char*", | 2430 "python_type": "const char*", |
2431 "sdk_name": "message", | 2431 "sdk_name": "message", |
2432 "sdk_type": "const char *" | 2432 "sdk_type": "const char *" |
2433 } | 2433 } |
2434 ], | 2434 ], |
2435 "c_function": "OrthancPluginLogError", | 2435 "c_function": "OrthancPluginLogError", |
2436 "call_args": ", arg0", | 2436 "call_args": ", arg0", |
2437 "count_args": 1, | 2437 "count_args": 1, |
2438 "has_args": true, | 2438 "has_args": true, |
2439 "return_sdk_type": "void", | 2439 "return_sdk_type": "void", |
2440 "return_void": true, | 2440 "return_void": true, |
2441 "short_name": "LogError", | 2441 "short_name": "LogError", |
2442 "tuple_format": "\"s\", &arg0" | 2442 "tuple_format": "\"s\", &arg0" |
2443 }, | 2443 }, |
2444 { | 2444 { |
2445 "args": [ | 2445 "args": [ |
2446 { | 2446 { |
2447 "initialization": " = NULL", | 2447 "initialization": " = NULL", |
2448 "name": "arg0", | 2448 "name": "arg0", |
2449 "orthanc_cast": "arg0", | 2449 "orthanc_cast": "arg0", |
2450 "python_format": "s", | 2450 "python_format": "s", |
2451 "python_type": "const char*", | 2451 "python_type": "const char*", |
2452 "sdk_name": "message", | 2452 "sdk_name": "message", |
2453 "sdk_type": "const char *" | 2453 "sdk_type": "const char *" |
2454 } | 2454 } |
2455 ], | 2455 ], |
2456 "c_function": "OrthancPluginLogWarning", | 2456 "c_function": "OrthancPluginLogWarning", |
2457 "call_args": ", arg0", | 2457 "call_args": ", arg0", |
2458 "count_args": 1, | 2458 "count_args": 1, |
2459 "has_args": true, | 2459 "has_args": true, |
2460 "return_sdk_type": "void", | 2460 "return_sdk_type": "void", |
2461 "return_void": true, | 2461 "return_void": true, |
2462 "short_name": "LogWarning", | 2462 "short_name": "LogWarning", |
2463 "tuple_format": "\"s\", &arg0" | 2463 "tuple_format": "\"s\", &arg0" |
2464 }, | 2464 }, |
2465 { | 2465 { |
2466 "args": [ | 2466 "args": [ |
2467 { | 2467 { |
2468 "initialization": " = NULL", | 2468 "initialization": " = NULL", |
2469 "name": "arg0", | 2469 "name": "arg0", |
2470 "orthanc_cast": "arg0", | 2470 "orthanc_cast": "arg0", |
2471 "python_format": "s", | 2471 "python_format": "s", |
2472 "python_type": "const char*", | 2472 "python_type": "const char*", |
2473 "sdk_name": "message", | 2473 "sdk_name": "message", |
2474 "sdk_type": "const char *" | 2474 "sdk_type": "const char *" |
2475 } | 2475 } |
2476 ], | 2476 ], |
2477 "c_function": "OrthancPluginLogInfo", | 2477 "c_function": "OrthancPluginLogInfo", |
2478 "call_args": ", arg0", | 2478 "call_args": ", arg0", |
2479 "count_args": 1, | 2479 "count_args": 1, |
2480 "has_args": true, | 2480 "has_args": true, |
2481 "return_sdk_type": "void", | 2481 "return_sdk_type": "void", |
2482 "return_void": true, | 2482 "return_void": true, |
2483 "short_name": "LogInfo", | 2483 "short_name": "LogInfo", |
2484 "tuple_format": "\"s\", &arg0" | 2484 "tuple_format": "\"s\", &arg0" |
2485 }, | 2485 }, |
2486 { | 2486 { |
2487 "args": [ | 2487 "args": [ |
2488 { | 2488 { |
2489 "initialization": " = NULL", | 2489 "initialization": " = NULL", |
2490 "name": "arg0", | 2490 "name": "arg0", |
2491 "orthanc_cast": "arg0", | 2491 "orthanc_cast": "arg0", |
2492 "python_format": "s", | 2492 "python_format": "s", |
2493 "python_type": "const char*", | 2493 "python_type": "const char*", |
2494 "sdk_name": "instanceId", | 2494 "sdk_name": "instanceId", |
2495 "sdk_type": "const char *" | 2495 "sdk_type": "const char *" |
2496 } | 2496 } |
2497 ], | 2497 ], |
2498 "c_function": "OrthancPluginGetDicomForInstance", | 2498 "c_function": "OrthancPluginGetDicomForInstance", |
2499 "call_args": ", arg0", | 2499 "call_args": ", arg0", |
2500 "count_args": 1, | 2500 "count_args": 1, |
2501 "has_args": true, | 2501 "has_args": true, |
2502 "return_bytes": true, | 2502 "return_bytes": true, |
2503 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 2503 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
2504 "short_name": "GetDicomForInstance", | 2504 "short_name": "GetDicomForInstance", |
2505 "tuple_format": "\"s\", &arg0" | 2505 "tuple_format": "\"s\", &arg0" |
2506 }, | 2506 }, |
2507 { | 2507 { |
2508 "args": [ | 2508 "args": [ |
2509 { | 2509 { |
2510 "initialization": " = NULL", | 2510 "initialization": " = NULL", |
2511 "name": "arg0", | 2511 "name": "arg0", |
2512 "orthanc_cast": "arg0", | 2512 "orthanc_cast": "arg0", |
2513 "python_format": "s", | 2513 "python_format": "s", |
2514 "python_type": "const char*", | 2514 "python_type": "const char*", |
2515 "sdk_name": "uri", | 2515 "sdk_name": "uri", |
2516 "sdk_type": "const char *" | 2516 "sdk_type": "const char *" |
2517 } | 2517 } |
2518 ], | 2518 ], |
2519 "c_function": "OrthancPluginRestApiGet", | 2519 "c_function": "OrthancPluginRestApiGet", |
2520 "call_args": ", arg0", | 2520 "call_args": ", arg0", |
2521 "count_args": 1, | 2521 "count_args": 1, |
2522 "has_args": true, | 2522 "has_args": true, |
2523 "return_bytes": true, | 2523 "return_bytes": true, |
2524 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 2524 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
2525 "short_name": "RestApiGet", | 2525 "short_name": "RestApiGet", |
2526 "tuple_format": "\"s\", &arg0" | 2526 "tuple_format": "\"s\", &arg0" |
2527 }, | 2527 }, |
2528 { | 2528 { |
2529 "args": [ | 2529 "args": [ |
2530 { | 2530 { |
2531 "initialization": " = NULL", | 2531 "initialization": " = NULL", |
2532 "name": "arg0", | 2532 "name": "arg0", |
2533 "orthanc_cast": "arg0", | 2533 "orthanc_cast": "arg0", |
2534 "python_format": "s", | 2534 "python_format": "s", |
2535 "python_type": "const char*", | 2535 "python_type": "const char*", |
2536 "sdk_name": "uri", | 2536 "sdk_name": "uri", |
2537 "sdk_type": "const char *" | 2537 "sdk_type": "const char *" |
2538 } | 2538 } |
2539 ], | 2539 ], |
2540 "c_function": "OrthancPluginRestApiGetAfterPlugins", | 2540 "c_function": "OrthancPluginRestApiGetAfterPlugins", |
2541 "call_args": ", arg0", | 2541 "call_args": ", arg0", |
2542 "count_args": 1, | 2542 "count_args": 1, |
2543 "has_args": true, | 2543 "has_args": true, |
2544 "return_bytes": true, | 2544 "return_bytes": true, |
2545 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 2545 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
2546 "short_name": "RestApiGetAfterPlugins", | 2546 "short_name": "RestApiGetAfterPlugins", |
2547 "tuple_format": "\"s\", &arg0" | 2547 "tuple_format": "\"s\", &arg0" |
2548 }, | 2548 }, |
2549 { | 2549 { |
2550 "args": [ | 2550 "args": [ |
2551 { | 2551 { |
2552 "initialization": " = NULL", | 2552 "initialization": " = NULL", |
2553 "name": "arg0", | 2553 "name": "arg0", |
2554 "orthanc_cast": "arg0", | 2554 "orthanc_cast": "arg0", |
2555 "python_format": "s", | 2555 "python_format": "s", |
2556 "python_type": "const char*", | 2556 "python_type": "const char*", |
2557 "sdk_name": "uri", | 2557 "sdk_name": "uri", |
2558 "sdk_type": "const char *" | 2558 "sdk_type": "const char *" |
2559 }, | 2559 }, |
2560 { | 2560 { |
2561 "name": "arg1", | 2561 "name": "arg1", |
2562 "orthanc_cast": "arg1.buf, arg1.len", | 2562 "orthanc_cast": "arg1.buf, arg1.len", |
2563 "python_format": "s*", | 2563 "python_format": "s*", |
2564 "python_type": "Py_buffer", | 2564 "python_type": "Py_buffer", |
2565 "release": "PyBuffer_Release(&arg1);", | 2565 "release": "PyBuffer_Release(&arg1);", |
2566 "sdk_name": "body", | 2566 "sdk_name": "body", |
2567 "sdk_type": "const_void_pointer_with_size" | 2567 "sdk_type": "const_void_pointer_with_size" |
2568 } | 2568 } |
2569 ], | 2569 ], |
2570 "c_function": "OrthancPluginRestApiPost", | 2570 "c_function": "OrthancPluginRestApiPost", |
2571 "call_args": ", arg0, arg1.buf, arg1.len", | 2571 "call_args": ", arg0, arg1.buf, arg1.len", |
2572 "count_args": 2, | 2572 "count_args": 2, |
2573 "has_args": true, | 2573 "has_args": true, |
2574 "return_bytes": true, | 2574 "return_bytes": true, |
2575 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 2575 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
2576 "short_name": "RestApiPost", | 2576 "short_name": "RestApiPost", |
2577 "tuple_format": "\"ss*\", &arg0, &arg1" | 2577 "tuple_format": "\"ss*\", &arg0, &arg1" |
2578 }, | 2578 }, |
2579 { | 2579 { |
2580 "args": [ | 2580 "args": [ |
2581 { | 2581 { |
2582 "initialization": " = NULL", | 2582 "initialization": " = NULL", |
2583 "name": "arg0", | 2583 "name": "arg0", |
2584 "orthanc_cast": "arg0", | 2584 "orthanc_cast": "arg0", |
2585 "python_format": "s", | 2585 "python_format": "s", |
2586 "python_type": "const char*", | 2586 "python_type": "const char*", |
2587 "sdk_name": "uri", | 2587 "sdk_name": "uri", |
2588 "sdk_type": "const char *" | 2588 "sdk_type": "const char *" |
2589 }, | 2589 }, |
2590 { | 2590 { |
2591 "name": "arg1", | 2591 "name": "arg1", |
2592 "orthanc_cast": "arg1.buf, arg1.len", | 2592 "orthanc_cast": "arg1.buf, arg1.len", |
2593 "python_format": "s*", | 2593 "python_format": "s*", |
2594 "python_type": "Py_buffer", | 2594 "python_type": "Py_buffer", |
2595 "release": "PyBuffer_Release(&arg1);", | 2595 "release": "PyBuffer_Release(&arg1);", |
2596 "sdk_name": "body", | 2596 "sdk_name": "body", |
2597 "sdk_type": "const_void_pointer_with_size" | 2597 "sdk_type": "const_void_pointer_with_size" |
2598 } | 2598 } |
2599 ], | 2599 ], |
2600 "c_function": "OrthancPluginRestApiPostAfterPlugins", | 2600 "c_function": "OrthancPluginRestApiPostAfterPlugins", |
2601 "call_args": ", arg0, arg1.buf, arg1.len", | 2601 "call_args": ", arg0, arg1.buf, arg1.len", |
2602 "count_args": 2, | 2602 "count_args": 2, |
2603 "has_args": true, | 2603 "has_args": true, |
2604 "return_bytes": true, | 2604 "return_bytes": true, |
2605 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 2605 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
2606 "short_name": "RestApiPostAfterPlugins", | 2606 "short_name": "RestApiPostAfterPlugins", |
2607 "tuple_format": "\"ss*\", &arg0, &arg1" | 2607 "tuple_format": "\"ss*\", &arg0, &arg1" |
2608 }, | 2608 }, |
2609 { | 2609 { |
2610 "args": [ | 2610 "args": [ |
2611 { | 2611 { |
2612 "initialization": " = NULL", | 2612 "initialization": " = NULL", |
2613 "name": "arg0", | 2613 "name": "arg0", |
2614 "orthanc_cast": "arg0", | 2614 "orthanc_cast": "arg0", |
2615 "python_format": "s", | 2615 "python_format": "s", |
2616 "python_type": "const char*", | 2616 "python_type": "const char*", |
2617 "sdk_name": "uri", | 2617 "sdk_name": "uri", |
2618 "sdk_type": "const char *" | 2618 "sdk_type": "const char *" |
2619 } | 2619 } |
2620 ], | 2620 ], |
2621 "c_function": "OrthancPluginRestApiDelete", | 2621 "c_function": "OrthancPluginRestApiDelete", |
2622 "call_args": ", arg0", | 2622 "call_args": ", arg0", |
2623 "count_args": 1, | 2623 "count_args": 1, |
2624 "has_args": true, | 2624 "has_args": true, |
2625 "return_error": true, | 2625 "return_error": true, |
2626 "return_sdk_enumeration": "OrthancPluginErrorCode", | 2626 "return_sdk_enumeration": "OrthancPluginErrorCode", |
2627 "return_sdk_type": "enumeration", | 2627 "return_sdk_type": "enumeration", |
2628 "short_name": "RestApiDelete", | 2628 "short_name": "RestApiDelete", |
2629 "tuple_format": "\"s\", &arg0" | 2629 "tuple_format": "\"s\", &arg0" |
2630 }, | 2630 }, |
2631 { | 2631 { |
2632 "args": [ | 2632 "args": [ |
2633 { | 2633 { |
2634 "initialization": " = NULL", | 2634 "initialization": " = NULL", |
2635 "name": "arg0", | 2635 "name": "arg0", |
2636 "orthanc_cast": "arg0", | 2636 "orthanc_cast": "arg0", |
2637 "python_format": "s", | 2637 "python_format": "s", |
2638 "python_type": "const char*", | 2638 "python_type": "const char*", |
2639 "sdk_name": "uri", | 2639 "sdk_name": "uri", |
2640 "sdk_type": "const char *" | 2640 "sdk_type": "const char *" |
2641 } | 2641 } |
2642 ], | 2642 ], |
2643 "c_function": "OrthancPluginRestApiDeleteAfterPlugins", | 2643 "c_function": "OrthancPluginRestApiDeleteAfterPlugins", |
2644 "call_args": ", arg0", | 2644 "call_args": ", arg0", |
2645 "count_args": 1, | 2645 "count_args": 1, |
2646 "has_args": true, | 2646 "has_args": true, |
2647 "return_error": true, | 2647 "return_error": true, |
2648 "return_sdk_enumeration": "OrthancPluginErrorCode", | 2648 "return_sdk_enumeration": "OrthancPluginErrorCode", |
2649 "return_sdk_type": "enumeration", | 2649 "return_sdk_type": "enumeration", |
2650 "short_name": "RestApiDeleteAfterPlugins", | 2650 "short_name": "RestApiDeleteAfterPlugins", |
2651 "tuple_format": "\"s\", &arg0" | 2651 "tuple_format": "\"s\", &arg0" |
2652 }, | 2652 }, |
2653 { | 2653 { |
2654 "args": [ | 2654 "args": [ |
2655 { | 2655 { |
2656 "initialization": " = NULL", | 2656 "initialization": " = NULL", |
2657 "name": "arg0", | 2657 "name": "arg0", |
2658 "orthanc_cast": "arg0", | 2658 "orthanc_cast": "arg0", |
2659 "python_format": "s", | 2659 "python_format": "s", |
2660 "python_type": "const char*", | 2660 "python_type": "const char*", |
2661 "sdk_name": "uri", | 2661 "sdk_name": "uri", |
2662 "sdk_type": "const char *" | 2662 "sdk_type": "const char *" |
2663 }, | 2663 }, |
2664 { | 2664 { |
2665 "name": "arg1", | 2665 "name": "arg1", |
2666 "orthanc_cast": "arg1.buf, arg1.len", | 2666 "orthanc_cast": "arg1.buf, arg1.len", |
2667 "python_format": "s*", | 2667 "python_format": "s*", |
2668 "python_type": "Py_buffer", | 2668 "python_type": "Py_buffer", |
2669 "release": "PyBuffer_Release(&arg1);", | 2669 "release": "PyBuffer_Release(&arg1);", |
2670 "sdk_name": "body", | 2670 "sdk_name": "body", |
2671 "sdk_type": "const_void_pointer_with_size" | 2671 "sdk_type": "const_void_pointer_with_size" |
2672 } | 2672 } |
2673 ], | 2673 ], |
2674 "c_function": "OrthancPluginRestApiPut", | 2674 "c_function": "OrthancPluginRestApiPut", |
2675 "call_args": ", arg0, arg1.buf, arg1.len", | 2675 "call_args": ", arg0, arg1.buf, arg1.len", |
2676 "count_args": 2, | 2676 "count_args": 2, |
2677 "has_args": true, | 2677 "has_args": true, |
2678 "return_bytes": true, | 2678 "return_bytes": true, |
2679 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 2679 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
2680 "short_name": "RestApiPut", | 2680 "short_name": "RestApiPut", |
2681 "tuple_format": "\"ss*\", &arg0, &arg1" | 2681 "tuple_format": "\"ss*\", &arg0, &arg1" |
2682 }, | 2682 }, |
2683 { | 2683 { |
2684 "args": [ | 2684 "args": [ |
2685 { | 2685 { |
2686 "initialization": " = NULL", | 2686 "initialization": " = NULL", |
2687 "name": "arg0", | 2687 "name": "arg0", |
2688 "orthanc_cast": "arg0", | 2688 "orthanc_cast": "arg0", |
2689 "python_format": "s", | 2689 "python_format": "s", |
2690 "python_type": "const char*", | 2690 "python_type": "const char*", |
2691 "sdk_name": "uri", | 2691 "sdk_name": "uri", |
2692 "sdk_type": "const char *" | 2692 "sdk_type": "const char *" |
2693 }, | 2693 }, |
2694 { | 2694 { |
2695 "name": "arg1", | 2695 "name": "arg1", |
2696 "orthanc_cast": "arg1.buf, arg1.len", | 2696 "orthanc_cast": "arg1.buf, arg1.len", |
2697 "python_format": "s*", | 2697 "python_format": "s*", |
2698 "python_type": "Py_buffer", | 2698 "python_type": "Py_buffer", |
2699 "release": "PyBuffer_Release(&arg1);", | 2699 "release": "PyBuffer_Release(&arg1);", |
2700 "sdk_name": "body", | 2700 "sdk_name": "body", |
2701 "sdk_type": "const_void_pointer_with_size" | 2701 "sdk_type": "const_void_pointer_with_size" |
2702 } | 2702 } |
2703 ], | 2703 ], |
2704 "c_function": "OrthancPluginRestApiPutAfterPlugins", | 2704 "c_function": "OrthancPluginRestApiPutAfterPlugins", |
2705 "call_args": ", arg0, arg1.buf, arg1.len", | 2705 "call_args": ", arg0, arg1.buf, arg1.len", |
2706 "count_args": 2, | 2706 "count_args": 2, |
2707 "has_args": true, | 2707 "has_args": true, |
2708 "return_bytes": true, | 2708 "return_bytes": true, |
2709 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 2709 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
2710 "short_name": "RestApiPutAfterPlugins", | 2710 "short_name": "RestApiPutAfterPlugins", |
2711 "tuple_format": "\"ss*\", &arg0, &arg1" | 2711 "tuple_format": "\"ss*\", &arg0, &arg1" |
2712 }, | 2712 }, |
2713 { | 2713 { |
2714 "args": [ | 2714 "args": [ |
2715 { | 2715 { |
2716 "initialization": " = NULL", | 2716 "initialization": " = NULL", |
2717 "name": "arg0", | 2717 "name": "arg0", |
2718 "orthanc_cast": "arg0", | 2718 "orthanc_cast": "arg0", |
2719 "python_format": "s", | 2719 "python_format": "s", |
2720 "python_type": "const char*", | 2720 "python_type": "const char*", |
2721 "sdk_name": "patientID", | 2721 "sdk_name": "patientID", |
2722 "sdk_type": "const char *" | 2722 "sdk_type": "const char *" |
2723 } | 2723 } |
2724 ], | 2724 ], |
2725 "c_function": "OrthancPluginLookupPatient", | 2725 "c_function": "OrthancPluginLookupPatient", |
2726 "call_args": ", arg0", | 2726 "call_args": ", arg0", |
2727 "count_args": 1, | 2727 "count_args": 1, |
2728 "has_args": true, | 2728 "has_args": true, |
2729 "return_dynamic_string": true, | 2729 "return_dynamic_string": true, |
2730 "return_sdk_type": "char *", | 2730 "return_sdk_type": "char *", |
2731 "short_name": "LookupPatient", | 2731 "short_name": "LookupPatient", |
2732 "tuple_format": "\"s\", &arg0" | 2732 "tuple_format": "\"s\", &arg0" |
2733 }, | 2733 }, |
2734 { | 2734 { |
2735 "args": [ | 2735 "args": [ |
2736 { | 2736 { |
2737 "initialization": " = NULL", | 2737 "initialization": " = NULL", |
2738 "name": "arg0", | 2738 "name": "arg0", |
2739 "orthanc_cast": "arg0", | 2739 "orthanc_cast": "arg0", |
2740 "python_format": "s", | 2740 "python_format": "s", |
2741 "python_type": "const char*", | 2741 "python_type": "const char*", |
2742 "sdk_name": "studyUID", | 2742 "sdk_name": "studyUID", |
2743 "sdk_type": "const char *" | 2743 "sdk_type": "const char *" |
2744 } | 2744 } |
2745 ], | 2745 ], |
2746 "c_function": "OrthancPluginLookupStudy", | 2746 "c_function": "OrthancPluginLookupStudy", |
2747 "call_args": ", arg0", | 2747 "call_args": ", arg0", |
2748 "count_args": 1, | 2748 "count_args": 1, |
2749 "has_args": true, | 2749 "has_args": true, |
2750 "return_dynamic_string": true, | 2750 "return_dynamic_string": true, |
2751 "return_sdk_type": "char *", | 2751 "return_sdk_type": "char *", |
2752 "short_name": "LookupStudy", | 2752 "short_name": "LookupStudy", |
2753 "tuple_format": "\"s\", &arg0" | 2753 "tuple_format": "\"s\", &arg0" |
2754 }, | 2754 }, |
2755 { | 2755 { |
2756 "args": [ | 2756 "args": [ |
2757 { | 2757 { |
2758 "initialization": " = NULL", | 2758 "initialization": " = NULL", |
2759 "name": "arg0", | 2759 "name": "arg0", |
2760 "orthanc_cast": "arg0", | 2760 "orthanc_cast": "arg0", |
2761 "python_format": "s", | 2761 "python_format": "s", |
2762 "python_type": "const char*", | 2762 "python_type": "const char*", |
2763 "sdk_name": "accessionNumber", | 2763 "sdk_name": "accessionNumber", |
2764 "sdk_type": "const char *" | 2764 "sdk_type": "const char *" |
2765 } | 2765 } |
2766 ], | 2766 ], |
2767 "c_function": "OrthancPluginLookupStudyWithAccessionNumber", | 2767 "c_function": "OrthancPluginLookupStudyWithAccessionNumber", |
2768 "call_args": ", arg0", | 2768 "call_args": ", arg0", |
2769 "count_args": 1, | 2769 "count_args": 1, |
2770 "has_args": true, | 2770 "has_args": true, |
2771 "return_dynamic_string": true, | 2771 "return_dynamic_string": true, |
2772 "return_sdk_type": "char *", | 2772 "return_sdk_type": "char *", |
2773 "short_name": "LookupStudyWithAccessionNumber", | 2773 "short_name": "LookupStudyWithAccessionNumber", |
2774 "tuple_format": "\"s\", &arg0" | 2774 "tuple_format": "\"s\", &arg0" |
2775 }, | 2775 }, |
2776 { | 2776 { |
2777 "args": [ | 2777 "args": [ |
2778 { | 2778 { |
2779 "initialization": " = NULL", | 2779 "initialization": " = NULL", |
2780 "name": "arg0", | 2780 "name": "arg0", |
2781 "orthanc_cast": "arg0", | 2781 "orthanc_cast": "arg0", |
2782 "python_format": "s", | 2782 "python_format": "s", |
2783 "python_type": "const char*", | 2783 "python_type": "const char*", |
2784 "sdk_name": "seriesUID", | 2784 "sdk_name": "seriesUID", |
2785 "sdk_type": "const char *" | 2785 "sdk_type": "const char *" |
2786 } | 2786 } |
2787 ], | 2787 ], |
2788 "c_function": "OrthancPluginLookupSeries", | 2788 "c_function": "OrthancPluginLookupSeries", |
2789 "call_args": ", arg0", | 2789 "call_args": ", arg0", |
2790 "count_args": 1, | 2790 "count_args": 1, |
2791 "has_args": true, | 2791 "has_args": true, |
2792 "return_dynamic_string": true, | 2792 "return_dynamic_string": true, |
2793 "return_sdk_type": "char *", | 2793 "return_sdk_type": "char *", |
2794 "short_name": "LookupSeries", | 2794 "short_name": "LookupSeries", |
2795 "tuple_format": "\"s\", &arg0" | 2795 "tuple_format": "\"s\", &arg0" |
2796 }, | 2796 }, |
2797 { | 2797 { |
2798 "args": [ | 2798 "args": [ |
2799 { | 2799 { |
2800 "initialization": " = NULL", | 2800 "initialization": " = NULL", |
2801 "name": "arg0", | 2801 "name": "arg0", |
2802 "orthanc_cast": "arg0", | 2802 "orthanc_cast": "arg0", |
2803 "python_format": "s", | 2803 "python_format": "s", |
2804 "python_type": "const char*", | 2804 "python_type": "const char*", |
2805 "sdk_name": "sopInstanceUID", | 2805 "sdk_name": "sopInstanceUID", |
2806 "sdk_type": "const char *" | 2806 "sdk_type": "const char *" |
2807 } | 2807 } |
2808 ], | 2808 ], |
2809 "c_function": "OrthancPluginLookupInstance", | 2809 "c_function": "OrthancPluginLookupInstance", |
2810 "call_args": ", arg0", | 2810 "call_args": ", arg0", |
2811 "count_args": 1, | 2811 "count_args": 1, |
2812 "has_args": true, | 2812 "has_args": true, |
2813 "return_dynamic_string": true, | 2813 "return_dynamic_string": true, |
2814 "return_sdk_type": "char *", | 2814 "return_sdk_type": "char *", |
2815 "short_name": "LookupInstance", | 2815 "short_name": "LookupInstance", |
2816 "tuple_format": "\"s\", &arg0" | 2816 "tuple_format": "\"s\", &arg0" |
2817 }, | 2817 }, |
2818 { | 2818 { |
2819 "args": [], | 2819 "args": [], |
2820 "c_function": "OrthancPluginGetOrthancPath", | 2820 "c_function": "OrthancPluginGetOrthancPath", |
2821 "return_dynamic_string": true, | 2821 "return_dynamic_string": true, |
2822 "return_sdk_type": "char *", | 2822 "return_sdk_type": "char *", |
2823 "short_name": "GetOrthancPath", | 2823 "short_name": "GetOrthancPath", |
2824 "tuple_format": "\"\", " | 2824 "tuple_format": "\"\", " |
2825 }, | 2825 }, |
2826 { | 2826 { |
2827 "args": [], | 2827 "args": [], |
2828 "c_function": "OrthancPluginGetOrthancDirectory", | 2828 "c_function": "OrthancPluginGetOrthancDirectory", |
2829 "return_dynamic_string": true, | 2829 "return_dynamic_string": true, |
2830 "return_sdk_type": "char *", | 2830 "return_sdk_type": "char *", |
2831 "short_name": "GetOrthancDirectory", | 2831 "short_name": "GetOrthancDirectory", |
2832 "tuple_format": "\"\", " | 2832 "tuple_format": "\"\", " |
2833 }, | 2833 }, |
2834 { | 2834 { |
2835 "args": [], | 2835 "args": [], |
2836 "c_function": "OrthancPluginGetConfigurationPath", | 2836 "c_function": "OrthancPluginGetConfigurationPath", |
2837 "return_dynamic_string": true, | 2837 "return_dynamic_string": true, |
2838 "return_sdk_type": "char *", | 2838 "return_sdk_type": "char *", |
2839 "short_name": "GetConfigurationPath", | 2839 "short_name": "GetConfigurationPath", |
2840 "tuple_format": "\"\", " | 2840 "tuple_format": "\"\", " |
2841 }, | 2841 }, |
2842 { | 2842 { |
2843 "args": [ | 2843 "args": [ |
2844 { | 2844 { |
2845 "initialization": " = NULL", | 2845 "initialization": " = NULL", |
2846 "name": "arg0", | 2846 "name": "arg0", |
2847 "orthanc_cast": "arg0", | 2847 "orthanc_cast": "arg0", |
2848 "python_format": "s", | 2848 "python_format": "s", |
2849 "python_type": "const char*", | 2849 "python_type": "const char*", |
2850 "sdk_name": "uri", | 2850 "sdk_name": "uri", |
2851 "sdk_type": "const char *" | 2851 "sdk_type": "const char *" |
2852 } | 2852 } |
2853 ], | 2853 ], |
2854 "c_function": "OrthancPluginSetRootUri", | 2854 "c_function": "OrthancPluginSetRootUri", |
2855 "call_args": ", arg0", | 2855 "call_args": ", arg0", |
2856 "count_args": 1, | 2856 "count_args": 1, |
2857 "has_args": true, | 2857 "has_args": true, |
2858 "return_sdk_type": "void", | 2858 "return_sdk_type": "void", |
2859 "return_void": true, | 2859 "return_void": true, |
2860 "short_name": "SetRootUri", | 2860 "short_name": "SetRootUri", |
2861 "tuple_format": "\"s\", &arg0" | 2861 "tuple_format": "\"s\", &arg0" |
2862 }, | 2862 }, |
2863 { | 2863 { |
2864 "args": [ | 2864 "args": [ |
2865 { | 2865 { |
2866 "initialization": " = NULL", | 2866 "initialization": " = NULL", |
2867 "name": "arg0", | 2867 "name": "arg0", |
2868 "orthanc_cast": "arg0", | 2868 "orthanc_cast": "arg0", |
2869 "python_format": "s", | 2869 "python_format": "s", |
2870 "python_type": "const char*", | 2870 "python_type": "const char*", |
2871 "sdk_name": "description", | 2871 "sdk_name": "description", |
2872 "sdk_type": "const char *" | 2872 "sdk_type": "const char *" |
2873 } | 2873 } |
2874 ], | 2874 ], |
2875 "c_function": "OrthancPluginSetDescription", | 2875 "c_function": "OrthancPluginSetDescription", |
2876 "call_args": ", arg0", | 2876 "call_args": ", arg0", |
2877 "count_args": 1, | 2877 "count_args": 1, |
2878 "has_args": true, | 2878 "has_args": true, |
2879 "return_sdk_type": "void", | 2879 "return_sdk_type": "void", |
2880 "return_void": true, | 2880 "return_void": true, |
2881 "short_name": "SetDescription", | 2881 "short_name": "SetDescription", |
2882 "tuple_format": "\"s\", &arg0" | 2882 "tuple_format": "\"s\", &arg0" |
2883 }, | 2883 }, |
2884 { | 2884 { |
2885 "args": [ | 2885 "args": [ |
2886 { | 2886 { |
2887 "initialization": " = NULL", | 2887 "initialization": " = NULL", |
2888 "name": "arg0", | 2888 "name": "arg0", |
2889 "orthanc_cast": "arg0", | 2889 "orthanc_cast": "arg0", |
2890 "python_format": "s", | 2890 "python_format": "s", |
2891 "python_type": "const char*", | 2891 "python_type": "const char*", |
2892 "sdk_name": "javascript", | 2892 "sdk_name": "javascript", |
2893 "sdk_type": "const char *" | 2893 "sdk_type": "const char *" |
2894 } | 2894 } |
2895 ], | 2895 ], |
2896 "c_function": "OrthancPluginExtendOrthancExplorer", | 2896 "c_function": "OrthancPluginExtendOrthancExplorer", |
2897 "call_args": ", arg0", | 2897 "call_args": ", arg0", |
2898 "count_args": 1, | 2898 "count_args": 1, |
2899 "has_args": true, | 2899 "has_args": true, |
2900 "return_sdk_type": "void", | 2900 "return_sdk_type": "void", |
2901 "return_void": true, | 2901 "return_void": true, |
2902 "short_name": "ExtendOrthancExplorer", | 2902 "short_name": "ExtendOrthancExplorer", |
2903 "tuple_format": "\"s\", &arg0" | 2903 "tuple_format": "\"s\", &arg0" |
2904 }, | 2904 }, |
2905 { | 2905 { |
2906 "args": [ | 2906 "args": [ |
2907 { | 2907 { |
2908 "initialization": " = 0", | 2908 "initialization": " = 0", |
2909 "name": "arg0", | 2909 "name": "arg0", |
2910 "orthanc_cast": "arg0", | 2910 "orthanc_cast": "arg0", |
2911 "python_format": "l", | 2911 "python_format": "l", |
2912 "python_type": "long int", | 2912 "python_type": "long int", |
2913 "sdk_name": "property", | 2913 "sdk_name": "property", |
2914 "sdk_type": "int32_t" | 2914 "sdk_type": "int32_t" |
2915 }, | 2915 }, |
2916 { | 2916 { |
2917 "initialization": " = NULL", | 2917 "initialization": " = NULL", |
2918 "name": "arg1", | 2918 "name": "arg1", |
2919 "orthanc_cast": "arg1", | 2919 "orthanc_cast": "arg1", |
2920 "python_format": "s", | 2920 "python_format": "s", |
2921 "python_type": "const char*", | 2921 "python_type": "const char*", |
2922 "sdk_name": "defaultValue", | 2922 "sdk_name": "defaultValue", |
2923 "sdk_type": "const char *" | 2923 "sdk_type": "const char *" |
2924 } | 2924 } |
2925 ], | 2925 ], |
2926 "c_function": "OrthancPluginGetGlobalProperty", | 2926 "c_function": "OrthancPluginGetGlobalProperty", |
2927 "call_args": ", arg0, arg1", | 2927 "call_args": ", arg0, arg1", |
2928 "count_args": 2, | 2928 "count_args": 2, |
2929 "has_args": true, | 2929 "has_args": true, |
2930 "return_dynamic_string": true, | 2930 "return_dynamic_string": true, |
2931 "return_sdk_type": "char *", | 2931 "return_sdk_type": "char *", |
2932 "short_name": "GetGlobalProperty", | 2932 "short_name": "GetGlobalProperty", |
2933 "tuple_format": "\"ls\", &arg0, &arg1" | 2933 "tuple_format": "\"ls\", &arg0, &arg1" |
2934 }, | 2934 }, |
2935 { | 2935 { |
2936 "args": [ | 2936 "args": [ |
2937 { | 2937 { |
2938 "initialization": " = 0", | 2938 "initialization": " = 0", |
2939 "name": "arg0", | 2939 "name": "arg0", |
2940 "orthanc_cast": "arg0", | 2940 "orthanc_cast": "arg0", |
2941 "python_format": "l", | 2941 "python_format": "l", |
2942 "python_type": "long int", | 2942 "python_type": "long int", |
2943 "sdk_name": "property", | 2943 "sdk_name": "property", |
2944 "sdk_type": "int32_t" | 2944 "sdk_type": "int32_t" |
2945 }, | 2945 }, |
2946 { | 2946 { |
2947 "initialization": " = NULL", | 2947 "initialization": " = NULL", |
2948 "name": "arg1", | 2948 "name": "arg1", |
2949 "orthanc_cast": "arg1", | 2949 "orthanc_cast": "arg1", |
2950 "python_format": "s", | 2950 "python_format": "s", |
2951 "python_type": "const char*", | 2951 "python_type": "const char*", |
2952 "sdk_name": "value", | 2952 "sdk_name": "value", |
2953 "sdk_type": "const char *" | 2953 "sdk_type": "const char *" |
2954 } | 2954 } |
2955 ], | 2955 ], |
2956 "c_function": "OrthancPluginSetGlobalProperty", | 2956 "c_function": "OrthancPluginSetGlobalProperty", |
2957 "call_args": ", arg0, arg1", | 2957 "call_args": ", arg0, arg1", |
2958 "count_args": 2, | 2958 "count_args": 2, |
2959 "has_args": true, | 2959 "has_args": true, |
2960 "return_error": true, | 2960 "return_error": true, |
2961 "return_sdk_enumeration": "OrthancPluginErrorCode", | 2961 "return_sdk_enumeration": "OrthancPluginErrorCode", |
2962 "return_sdk_type": "enumeration", | 2962 "return_sdk_type": "enumeration", |
2963 "short_name": "SetGlobalProperty", | 2963 "short_name": "SetGlobalProperty", |
2964 "tuple_format": "\"ls\", &arg0, &arg1" | 2964 "tuple_format": "\"ls\", &arg0, &arg1" |
2965 }, | 2965 }, |
2966 { | 2966 { |
2967 "args": [], | 2967 "args": [], |
2968 "c_function": "OrthancPluginGetCommandLineArgumentsCount", | 2968 "c_function": "OrthancPluginGetCommandLineArgumentsCount", |
2969 "return_long": true, | 2969 "return_long": true, |
2970 "return_sdk_type": "uint32_t", | 2970 "return_sdk_type": "uint32_t", |
2971 "short_name": "GetCommandLineArgumentsCount", | 2971 "short_name": "GetCommandLineArgumentsCount", |
2972 "tuple_format": "\"\", " | 2972 "tuple_format": "\"\", " |
2973 }, | 2973 }, |
2974 { | 2974 { |
2975 "args": [ | 2975 "args": [ |
2976 { | 2976 { |
2977 "initialization": " = 0", | 2977 "initialization": " = 0", |
2978 "name": "arg0", | 2978 "name": "arg0", |
2979 "orthanc_cast": "arg0", | 2979 "orthanc_cast": "arg0", |
2980 "python_format": "k", | 2980 "python_format": "k", |
2981 "python_type": "unsigned long", | 2981 "python_type": "unsigned long", |
2982 "sdk_name": "argument", | 2982 "sdk_name": "argument", |
2983 "sdk_type": "uint32_t" | 2983 "sdk_type": "uint32_t" |
2984 } | 2984 } |
2985 ], | 2985 ], |
2986 "c_function": "OrthancPluginGetCommandLineArgument", | 2986 "c_function": "OrthancPluginGetCommandLineArgument", |
2987 "call_args": ", arg0", | 2987 "call_args": ", arg0", |
2988 "count_args": 1, | 2988 "count_args": 1, |
2989 "has_args": true, | 2989 "has_args": true, |
2990 "return_dynamic_string": true, | 2990 "return_dynamic_string": true, |
2991 "return_sdk_type": "char *", | 2991 "return_sdk_type": "char *", |
2992 "short_name": "GetCommandLineArgument", | 2992 "short_name": "GetCommandLineArgument", |
2993 "tuple_format": "\"k\", &arg0" | 2993 "tuple_format": "\"k\", &arg0" |
2994 }, | 2994 }, |
2995 { | 2995 { |
2996 "args": [], | 2996 "args": [], |
2997 "c_function": "OrthancPluginGetExpectedDatabaseVersion", | 2997 "c_function": "OrthancPluginGetExpectedDatabaseVersion", |
2998 "return_long": true, | 2998 "return_long": true, |
2999 "return_sdk_type": "uint32_t", | 2999 "return_sdk_type": "uint32_t", |
3000 "short_name": "GetExpectedDatabaseVersion", | 3000 "short_name": "GetExpectedDatabaseVersion", |
3001 "tuple_format": "\"\", " | 3001 "tuple_format": "\"\", " |
3002 }, | 3002 }, |
3003 { | 3003 { |
3004 "args": [], | 3004 "args": [], |
3005 "c_function": "OrthancPluginGetConfiguration", | 3005 "c_function": "OrthancPluginGetConfiguration", |
3006 "return_dynamic_string": true, | 3006 "return_dynamic_string": true, |
3007 "return_sdk_type": "char *", | 3007 "return_sdk_type": "char *", |
3008 "short_name": "GetConfiguration", | 3008 "short_name": "GetConfiguration", |
3009 "tuple_format": "\"\", " | 3009 "tuple_format": "\"\", " |
3010 }, | 3010 }, |
3011 { | 3011 { |
3012 "args": [ | 3012 "args": [ |
3013 { | 3013 { |
3014 "name": "arg0", | 3014 "name": "arg0", |
3015 "orthanc_cast": "arg0.buf, arg0.len", | 3015 "orthanc_cast": "arg0.buf, arg0.len", |
3016 "python_format": "s*", | 3016 "python_format": "s*", |
3017 "python_type": "Py_buffer", | 3017 "python_type": "Py_buffer", |
3018 "release": "PyBuffer_Release(&arg0);", | 3018 "release": "PyBuffer_Release(&arg0);", |
3019 "sdk_name": "source", | 3019 "sdk_name": "source", |
3020 "sdk_type": "const_void_pointer_with_size" | 3020 "sdk_type": "const_void_pointer_with_size" |
3021 }, | 3021 }, |
3022 { | 3022 { |
3023 "initialization": " = 0", | 3023 "initialization": " = 0", |
3024 "name": "arg2", | 3024 "name": "arg2", |
3025 "orthanc_cast": "static_cast<OrthancPluginCompressionType>(arg2)", | 3025 "orthanc_cast": "static_cast<OrthancPluginCompressionType>(arg2)", |
3026 "python_format": "l", | 3026 "python_format": "l", |
3027 "python_type": "long int", | 3027 "python_type": "long int", |
3028 "sdk_enumeration": "OrthancPluginCompressionType", | 3028 "sdk_enumeration": "OrthancPluginCompressionType", |
3029 "sdk_name": "compression", | 3029 "sdk_name": "compression", |
3030 "sdk_type": "enumeration" | 3030 "sdk_type": "enumeration" |
3031 }, | 3031 }, |
3032 { | 3032 { |
3033 "initialization": " = 0", | 3033 "initialization": " = 0", |
3034 "name": "arg3", | 3034 "name": "arg3", |
3035 "orthanc_cast": "arg3", | 3035 "orthanc_cast": "arg3", |
3036 "python_format": "b", | 3036 "python_format": "b", |
3037 "python_type": "unsigned char", | 3037 "python_type": "unsigned char", |
3038 "sdk_name": "uncompress", | 3038 "sdk_name": "uncompress", |
3039 "sdk_type": "uint8_t" | 3039 "sdk_type": "uint8_t" |
3040 } | 3040 } |
3041 ], | 3041 ], |
3042 "c_function": "OrthancPluginBufferCompression", | 3042 "c_function": "OrthancPluginBufferCompression", |
3043 "call_args": ", arg0.buf, arg0.len, static_cast<OrthancPluginCompressionType>(arg2), arg3", | 3043 "call_args": ", arg0.buf, arg0.len, static_cast<OrthancPluginCompressionType>(arg2), arg3", |
3044 "count_args": 3, | 3044 "count_args": 3, |
3045 "has_args": true, | 3045 "has_args": true, |
3046 "return_bytes": true, | 3046 "return_bytes": true, |
3047 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 3047 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
3048 "short_name": "BufferCompression", | 3048 "short_name": "BufferCompression", |
3049 "tuple_format": "\"s*lb\", &arg0, &arg2, &arg3" | 3049 "tuple_format": "\"s*lb\", &arg0, &arg2, &arg3" |
3050 }, | 3050 }, |
3051 { | 3051 { |
3052 "args": [ | 3052 "args": [ |
3053 { | 3053 { |
3054 "initialization": " = NULL", | 3054 "initialization": " = NULL", |
3055 "name": "arg0", | 3055 "name": "arg0", |
3056 "orthanc_cast": "arg0", | 3056 "orthanc_cast": "arg0", |
3057 "python_format": "s", | 3057 "python_format": "s", |
3058 "python_type": "const char*", | 3058 "python_type": "const char*", |
3059 "sdk_name": "path", | 3059 "sdk_name": "path", |
3060 "sdk_type": "const char *" | 3060 "sdk_type": "const char *" |
3061 } | 3061 } |
3062 ], | 3062 ], |
3063 "c_function": "OrthancPluginReadFile", | 3063 "c_function": "OrthancPluginReadFile", |
3064 "call_args": ", arg0", | 3064 "call_args": ", arg0", |
3065 "count_args": 1, | 3065 "count_args": 1, |
3066 "has_args": true, | 3066 "has_args": true, |
3067 "return_bytes": true, | 3067 "return_bytes": true, |
3068 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 3068 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
3069 "short_name": "ReadFile", | 3069 "short_name": "ReadFile", |
3070 "tuple_format": "\"s\", &arg0" | 3070 "tuple_format": "\"s\", &arg0" |
3071 }, | 3071 }, |
3072 { | 3072 { |
3073 "args": [ | 3073 "args": [ |
3074 { | 3074 { |
3075 "initialization": " = NULL", | 3075 "initialization": " = NULL", |
3076 "name": "arg0", | 3076 "name": "arg0", |
3077 "orthanc_cast": "arg0", | 3077 "orthanc_cast": "arg0", |
3078 "python_format": "s", | 3078 "python_format": "s", |
3079 "python_type": "const char*", | 3079 "python_type": "const char*", |
3080 "sdk_name": "path", | 3080 "sdk_name": "path", |
3081 "sdk_type": "const char *" | 3081 "sdk_type": "const char *" |
3082 }, | 3082 }, |
3083 { | 3083 { |
3084 "name": "arg1", | 3084 "name": "arg1", |
3085 "orthanc_cast": "arg1.buf, arg1.len", | 3085 "orthanc_cast": "arg1.buf, arg1.len", |
3086 "python_format": "s*", | 3086 "python_format": "s*", |
3087 "python_type": "Py_buffer", | 3087 "python_type": "Py_buffer", |
3088 "release": "PyBuffer_Release(&arg1);", | 3088 "release": "PyBuffer_Release(&arg1);", |
3089 "sdk_name": "data", | 3089 "sdk_name": "data", |
3090 "sdk_type": "const_void_pointer_with_size" | 3090 "sdk_type": "const_void_pointer_with_size" |
3091 } | 3091 } |
3092 ], | 3092 ], |
3093 "c_function": "OrthancPluginWriteFile", | 3093 "c_function": "OrthancPluginWriteFile", |
3094 "call_args": ", arg0, arg1.buf, arg1.len", | 3094 "call_args": ", arg0, arg1.buf, arg1.len", |
3095 "count_args": 2, | 3095 "count_args": 2, |
3096 "has_args": true, | 3096 "has_args": true, |
3097 "return_error": true, | 3097 "return_error": true, |
3098 "return_sdk_enumeration": "OrthancPluginErrorCode", | 3098 "return_sdk_enumeration": "OrthancPluginErrorCode", |
3099 "return_sdk_type": "enumeration", | 3099 "return_sdk_type": "enumeration", |
3100 "short_name": "WriteFile", | 3100 "short_name": "WriteFile", |
3101 "tuple_format": "\"ss*\", &arg0, &arg1" | 3101 "tuple_format": "\"ss*\", &arg0, &arg1" |
3102 }, | 3102 }, |
3103 { | 3103 { |
3104 "args": [ | 3104 "args": [ |
3105 { | 3105 { |
3106 "initialization": " = 0", | 3106 "initialization": " = 0", |
3107 "name": "arg0", | 3107 "name": "arg0", |
3108 "orthanc_cast": "static_cast<OrthancPluginErrorCode>(arg0)", | 3108 "orthanc_cast": "static_cast<OrthancPluginErrorCode>(arg0)", |
3109 "python_format": "l", | 3109 "python_format": "l", |
3110 "python_type": "long int", | 3110 "python_type": "long int", |
3111 "sdk_enumeration": "OrthancPluginErrorCode", | 3111 "sdk_enumeration": "OrthancPluginErrorCode", |
3112 "sdk_name": "error", | 3112 "sdk_name": "error", |
3113 "sdk_type": "enumeration" | 3113 "sdk_type": "enumeration" |
3114 } | 3114 } |
3115 ], | 3115 ], |
3116 "c_function": "OrthancPluginGetErrorDescription", | 3116 "c_function": "OrthancPluginGetErrorDescription", |
3117 "call_args": ", static_cast<OrthancPluginErrorCode>(arg0)", | 3117 "call_args": ", static_cast<OrthancPluginErrorCode>(arg0)", |
3118 "count_args": 1, | 3118 "count_args": 1, |
3119 "has_args": true, | 3119 "has_args": true, |
3120 "return_sdk_type": "const char *", | 3120 "return_sdk_type": "const char *", |
3121 "return_static_string": true, | 3121 "return_static_string": true, |
3122 "short_name": "GetErrorDescription", | 3122 "short_name": "GetErrorDescription", |
3123 "tuple_format": "\"l\", &arg0" | 3123 "tuple_format": "\"l\", &arg0" |
3124 }, | 3124 }, |
3125 { | 3125 { |
3126 "args": [ | 3126 "args": [ |
3127 { | 3127 { |
3128 "name": "arg0", | 3128 "name": "arg0", |
3129 "orthanc_cast": "arg0.buf, arg0.len", | 3129 "orthanc_cast": "arg0.buf, arg0.len", |
3130 "python_format": "s*", | 3130 "python_format": "s*", |
3131 "python_type": "Py_buffer", | 3131 "python_type": "Py_buffer", |
3132 "release": "PyBuffer_Release(&arg0);", | 3132 "release": "PyBuffer_Release(&arg0);", |
3133 "sdk_name": "data", | 3133 "sdk_name": "data", |
3134 "sdk_type": "const_void_pointer_with_size" | 3134 "sdk_type": "const_void_pointer_with_size" |
3135 }, | 3135 }, |
3136 { | 3136 { |
3137 "initialization": " = 0", | 3137 "initialization": " = 0", |
3138 "name": "arg2", | 3138 "name": "arg2", |
3139 "orthanc_cast": "static_cast<OrthancPluginImageFormat>(arg2)", | 3139 "orthanc_cast": "static_cast<OrthancPluginImageFormat>(arg2)", |
3140 "python_format": "l", | 3140 "python_format": "l", |
3141 "python_type": "long int", | 3141 "python_type": "long int", |
3142 "sdk_enumeration": "OrthancPluginImageFormat", | 3142 "sdk_enumeration": "OrthancPluginImageFormat", |
3143 "sdk_name": "format", | 3143 "sdk_name": "format", |
3144 "sdk_type": "enumeration" | 3144 "sdk_type": "enumeration" |
3145 } | 3145 } |
3146 ], | 3146 ], |
3147 "c_function": "OrthancPluginUncompressImage", | 3147 "c_function": "OrthancPluginUncompressImage", |
3148 "call_args": ", arg0.buf, arg0.len, static_cast<OrthancPluginImageFormat>(arg2)", | 3148 "call_args": ", arg0.buf, arg0.len, static_cast<OrthancPluginImageFormat>(arg2)", |
3149 "count_args": 2, | 3149 "count_args": 2, |
3150 "has_args": true, | 3150 "has_args": true, |
3151 "return_object": "OrthancPluginImage", | 3151 "return_object": "OrthancPluginImage", |
3152 "return_sdk_class": "OrthancPluginImage", | 3152 "return_sdk_class": "OrthancPluginImage", |
3153 "return_sdk_type": "object", | 3153 "return_sdk_type": "object", |
3154 "short_name": "UncompressImage", | 3154 "short_name": "UncompressImage", |
3155 "tuple_format": "\"s*l\", &arg0, &arg2" | 3155 "tuple_format": "\"s*l\", &arg0, &arg2" |
3156 }, | 3156 }, |
3157 { | 3157 { |
3158 "args": [ | 3158 "args": [ |
3159 { | 3159 { |
3160 "initialization": " = 0", | 3160 "initialization": " = 0", |
3161 "name": "arg0", | 3161 "name": "arg0", |
3162 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", | 3162 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", |
3163 "python_format": "l", | 3163 "python_format": "l", |
3164 "python_type": "long int", | 3164 "python_type": "long int", |
3165 "sdk_enumeration": "OrthancPluginPixelFormat", | 3165 "sdk_enumeration": "OrthancPluginPixelFormat", |
3166 "sdk_name": "format", | 3166 "sdk_name": "format", |
3167 "sdk_type": "enumeration" | 3167 "sdk_type": "enumeration" |
3168 }, | 3168 }, |
3169 { | 3169 { |
3170 "initialization": " = 0", | 3170 "initialization": " = 0", |
3171 "name": "arg1", | 3171 "name": "arg1", |
3172 "orthanc_cast": "arg1", | 3172 "orthanc_cast": "arg1", |
3173 "python_format": "k", | 3173 "python_format": "k", |
3174 "python_type": "unsigned long", | 3174 "python_type": "unsigned long", |
3175 "sdk_name": "width", | 3175 "sdk_name": "width", |
3176 "sdk_type": "uint32_t" | 3176 "sdk_type": "uint32_t" |
3177 }, | 3177 }, |
3178 { | 3178 { |
3179 "initialization": " = 0", | 3179 "initialization": " = 0", |
3180 "name": "arg2", | 3180 "name": "arg2", |
3181 "orthanc_cast": "arg2", | 3181 "orthanc_cast": "arg2", |
3182 "python_format": "k", | 3182 "python_format": "k", |
3183 "python_type": "unsigned long", | 3183 "python_type": "unsigned long", |
3184 "sdk_name": "height", | 3184 "sdk_name": "height", |
3185 "sdk_type": "uint32_t" | 3185 "sdk_type": "uint32_t" |
3186 }, | 3186 }, |
3187 { | 3187 { |
3188 "initialization": " = 0", | 3188 "initialization": " = 0", |
3189 "name": "arg3", | 3189 "name": "arg3", |
3190 "orthanc_cast": "arg3", | 3190 "orthanc_cast": "arg3", |
3191 "python_format": "k", | 3191 "python_format": "k", |
3192 "python_type": "unsigned long", | 3192 "python_type": "unsigned long", |
3193 "sdk_name": "pitch", | 3193 "sdk_name": "pitch", |
3194 "sdk_type": "uint32_t" | 3194 "sdk_type": "uint32_t" |
3195 }, | 3195 }, |
3196 { | 3196 { |
3197 "name": "arg4", | 3197 "name": "arg4", |
3198 "orthanc_cast": "arg4.buf", | 3198 "orthanc_cast": "arg4.buf", |
3199 "python_format": "s*", | 3199 "python_format": "s*", |
3200 "python_type": "Py_buffer", | 3200 "python_type": "Py_buffer", |
3201 "release": "PyBuffer_Release(&arg4);", | 3201 "release": "PyBuffer_Release(&arg4);", |
3202 "sdk_name": "buffer", | 3202 "sdk_name": "buffer", |
3203 "sdk_type": "const void *" | 3203 "sdk_type": "const void *" |
3204 } | 3204 } |
3205 ], | 3205 ], |
3206 "c_function": "OrthancPluginCompressPngImage", | 3206 "c_function": "OrthancPluginCompressPngImage", |
3207 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf", | 3207 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf", |
3208 "count_args": 5, | 3208 "count_args": 5, |
3209 "has_args": true, | 3209 "has_args": true, |
3210 "return_bytes": true, | 3210 "return_bytes": true, |
3211 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 3211 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
3212 "short_name": "CompressPngImage", | 3212 "short_name": "CompressPngImage", |
3213 "tuple_format": "\"lkkks*\", &arg0, &arg1, &arg2, &arg3, &arg4" | 3213 "tuple_format": "\"lkkks*\", &arg0, &arg1, &arg2, &arg3, &arg4" |
3214 }, | 3214 }, |
3215 { | 3215 { |
3216 "args": [ | 3216 "args": [ |
3217 { | 3217 { |
3218 "initialization": " = 0", | 3218 "initialization": " = 0", |
3219 "name": "arg0", | 3219 "name": "arg0", |
3220 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", | 3220 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", |
3221 "python_format": "l", | 3221 "python_format": "l", |
3222 "python_type": "long int", | 3222 "python_type": "long int", |
3223 "sdk_enumeration": "OrthancPluginPixelFormat", | 3223 "sdk_enumeration": "OrthancPluginPixelFormat", |
3224 "sdk_name": "format", | 3224 "sdk_name": "format", |
3225 "sdk_type": "enumeration" | 3225 "sdk_type": "enumeration" |
3226 }, | 3226 }, |
3227 { | 3227 { |
3228 "initialization": " = 0", | 3228 "initialization": " = 0", |
3229 "name": "arg1", | 3229 "name": "arg1", |
3230 "orthanc_cast": "arg1", | 3230 "orthanc_cast": "arg1", |
3231 "python_format": "k", | 3231 "python_format": "k", |
3232 "python_type": "unsigned long", | 3232 "python_type": "unsigned long", |
3233 "sdk_name": "width", | 3233 "sdk_name": "width", |
3234 "sdk_type": "uint32_t" | 3234 "sdk_type": "uint32_t" |
3235 }, | 3235 }, |
3236 { | 3236 { |
3237 "initialization": " = 0", | 3237 "initialization": " = 0", |
3238 "name": "arg2", | 3238 "name": "arg2", |
3239 "orthanc_cast": "arg2", | 3239 "orthanc_cast": "arg2", |
3240 "python_format": "k", | 3240 "python_format": "k", |
3241 "python_type": "unsigned long", | 3241 "python_type": "unsigned long", |
3242 "sdk_name": "height", | 3242 "sdk_name": "height", |
3243 "sdk_type": "uint32_t" | 3243 "sdk_type": "uint32_t" |
3244 }, | 3244 }, |
3245 { | 3245 { |
3246 "initialization": " = 0", | 3246 "initialization": " = 0", |
3247 "name": "arg3", | 3247 "name": "arg3", |
3248 "orthanc_cast": "arg3", | 3248 "orthanc_cast": "arg3", |
3249 "python_format": "k", | 3249 "python_format": "k", |
3250 "python_type": "unsigned long", | 3250 "python_type": "unsigned long", |
3251 "sdk_name": "pitch", | 3251 "sdk_name": "pitch", |
3252 "sdk_type": "uint32_t" | 3252 "sdk_type": "uint32_t" |
3253 }, | 3253 }, |
3254 { | 3254 { |
3255 "name": "arg4", | 3255 "name": "arg4", |
3256 "orthanc_cast": "arg4.buf", | 3256 "orthanc_cast": "arg4.buf", |
3257 "python_format": "s*", | 3257 "python_format": "s*", |
3258 "python_type": "Py_buffer", | 3258 "python_type": "Py_buffer", |
3259 "release": "PyBuffer_Release(&arg4);", | 3259 "release": "PyBuffer_Release(&arg4);", |
3260 "sdk_name": "buffer", | 3260 "sdk_name": "buffer", |
3261 "sdk_type": "const void *" | 3261 "sdk_type": "const void *" |
3262 }, | 3262 }, |
3263 { | 3263 { |
3264 "initialization": " = 0", | 3264 "initialization": " = 0", |
3265 "name": "arg5", | 3265 "name": "arg5", |
3266 "orthanc_cast": "arg5", | 3266 "orthanc_cast": "arg5", |
3267 "python_format": "b", | 3267 "python_format": "b", |
3268 "python_type": "unsigned char", | 3268 "python_type": "unsigned char", |
3269 "sdk_name": "quality", | 3269 "sdk_name": "quality", |
3270 "sdk_type": "uint8_t" | 3270 "sdk_type": "uint8_t" |
3271 } | 3271 } |
3272 ], | 3272 ], |
3273 "c_function": "OrthancPluginCompressJpegImage", | 3273 "c_function": "OrthancPluginCompressJpegImage", |
3274 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf, arg5", | 3274 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf, arg5", |
3275 "count_args": 6, | 3275 "count_args": 6, |
3276 "has_args": true, | 3276 "has_args": true, |
3277 "return_bytes": true, | 3277 "return_bytes": true, |
3278 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 3278 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
3279 "short_name": "CompressJpegImage", | 3279 "short_name": "CompressJpegImage", |
3280 "tuple_format": "\"lkkks*b\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5" | 3280 "tuple_format": "\"lkkks*b\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5" |
3281 }, | 3281 }, |
3282 { | 3282 { |
3283 "args": [ | 3283 "args": [ |
3284 { | 3284 { |
3285 "initialization": " = NULL", | 3285 "initialization": " = NULL", |
3286 "name": "arg0", | 3286 "name": "arg0", |
3287 "orthanc_cast": "arg0", | 3287 "orthanc_cast": "arg0", |
3288 "python_format": "s", | 3288 "python_format": "s", |
3289 "python_type": "const char*", | 3289 "python_type": "const char*", |
3290 "sdk_name": "url", | 3290 "sdk_name": "url", |
3291 "sdk_type": "const char *" | 3291 "sdk_type": "const char *" |
3292 }, | 3292 }, |
3293 { | 3293 { |
3294 "initialization": " = NULL", | 3294 "initialization": " = NULL", |
3295 "name": "arg1", | 3295 "name": "arg1", |
3296 "orthanc_cast": "arg1", | 3296 "orthanc_cast": "arg1", |
3297 "python_format": "s", | 3297 "python_format": "s", |
3298 "python_type": "const char*", | 3298 "python_type": "const char*", |
3299 "sdk_name": "username", | 3299 "sdk_name": "username", |
3300 "sdk_type": "const char *" | 3300 "sdk_type": "const char *" |
3301 }, | 3301 }, |
3302 { | 3302 { |
3303 "initialization": " = NULL", | 3303 "initialization": " = NULL", |
3304 "name": "arg2", | 3304 "name": "arg2", |
3305 "orthanc_cast": "arg2", | 3305 "orthanc_cast": "arg2", |
3306 "python_format": "s", | 3306 "python_format": "s", |
3307 "python_type": "const char*", | 3307 "python_type": "const char*", |
3308 "sdk_name": "password", | 3308 "sdk_name": "password", |
3309 "sdk_type": "const char *" | 3309 "sdk_type": "const char *" |
3310 } | 3310 } |
3311 ], | 3311 ], |
3312 "c_function": "OrthancPluginHttpGet", | 3312 "c_function": "OrthancPluginHttpGet", |
3313 "call_args": ", arg0, arg1, arg2", | 3313 "call_args": ", arg0, arg1, arg2", |
3314 "count_args": 3, | 3314 "count_args": 3, |
3315 "has_args": true, | 3315 "has_args": true, |
3316 "return_bytes": true, | 3316 "return_bytes": true, |
3317 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 3317 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
3318 "short_name": "HttpGet", | 3318 "short_name": "HttpGet", |
3319 "tuple_format": "\"sss\", &arg0, &arg1, &arg2" | 3319 "tuple_format": "\"sss\", &arg0, &arg1, &arg2" |
3320 }, | 3320 }, |
3321 { | 3321 { |
3322 "args": [ | 3322 "args": [ |
3323 { | 3323 { |
3324 "initialization": " = NULL", | 3324 "initialization": " = NULL", |
3325 "name": "arg0", | 3325 "name": "arg0", |
3326 "orthanc_cast": "arg0", | 3326 "orthanc_cast": "arg0", |
3327 "python_format": "s", | 3327 "python_format": "s", |
3328 "python_type": "const char*", | 3328 "python_type": "const char*", |
3329 "sdk_name": "url", | 3329 "sdk_name": "url", |
3330 "sdk_type": "const char *" | 3330 "sdk_type": "const char *" |
3331 }, | 3331 }, |
3332 { | 3332 { |
3333 "name": "arg1", | 3333 "name": "arg1", |
3334 "orthanc_cast": "arg1.buf, arg1.len", | 3334 "orthanc_cast": "arg1.buf, arg1.len", |
3335 "python_format": "s*", | 3335 "python_format": "s*", |
3336 "python_type": "Py_buffer", | 3336 "python_type": "Py_buffer", |
3337 "release": "PyBuffer_Release(&arg1);", | 3337 "release": "PyBuffer_Release(&arg1);", |
3338 "sdk_name": "body", | 3338 "sdk_name": "body", |
3339 "sdk_type": "const_void_pointer_with_size" | 3339 "sdk_type": "const_void_pointer_with_size" |
3340 }, | 3340 }, |
3341 { | 3341 { |
3342 "initialization": " = NULL", | 3342 "initialization": " = NULL", |
3343 "name": "arg3", | 3343 "name": "arg3", |
3344 "orthanc_cast": "arg3", | 3344 "orthanc_cast": "arg3", |
3345 "python_format": "s", | 3345 "python_format": "s", |
3346 "python_type": "const char*", | 3346 "python_type": "const char*", |
3347 "sdk_name": "username", | 3347 "sdk_name": "username", |
3348 "sdk_type": "const char *" | 3348 "sdk_type": "const char *" |
3349 }, | 3349 }, |
3350 { | 3350 { |
3351 "initialization": " = NULL", | 3351 "initialization": " = NULL", |
3352 "name": "arg4", | 3352 "name": "arg4", |
3353 "orthanc_cast": "arg4", | 3353 "orthanc_cast": "arg4", |
3354 "python_format": "s", | 3354 "python_format": "s", |
3355 "python_type": "const char*", | 3355 "python_type": "const char*", |
3356 "sdk_name": "password", | 3356 "sdk_name": "password", |
3357 "sdk_type": "const char *" | 3357 "sdk_type": "const char *" |
3358 } | 3358 } |
3359 ], | 3359 ], |
3360 "c_function": "OrthancPluginHttpPost", | 3360 "c_function": "OrthancPluginHttpPost", |
3361 "call_args": ", arg0, arg1.buf, arg1.len, arg3, arg4", | 3361 "call_args": ", arg0, arg1.buf, arg1.len, arg3, arg4", |
3362 "count_args": 4, | 3362 "count_args": 4, |
3363 "has_args": true, | 3363 "has_args": true, |
3364 "return_bytes": true, | 3364 "return_bytes": true, |
3365 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 3365 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
3366 "short_name": "HttpPost", | 3366 "short_name": "HttpPost", |
3367 "tuple_format": "\"ss*ss\", &arg0, &arg1, &arg3, &arg4" | 3367 "tuple_format": "\"ss*ss\", &arg0, &arg1, &arg3, &arg4" |
3368 }, | 3368 }, |
3369 { | 3369 { |
3370 "args": [ | 3370 "args": [ |
3371 { | 3371 { |
3372 "initialization": " = NULL", | 3372 "initialization": " = NULL", |
3373 "name": "arg0", | 3373 "name": "arg0", |
3374 "orthanc_cast": "arg0", | 3374 "orthanc_cast": "arg0", |
3375 "python_format": "s", | 3375 "python_format": "s", |
3376 "python_type": "const char*", | 3376 "python_type": "const char*", |
3377 "sdk_name": "url", | 3377 "sdk_name": "url", |
3378 "sdk_type": "const char *" | 3378 "sdk_type": "const char *" |
3379 }, | 3379 }, |
3380 { | 3380 { |
3381 "name": "arg1", | 3381 "name": "arg1", |
3382 "orthanc_cast": "arg1.buf, arg1.len", | 3382 "orthanc_cast": "arg1.buf, arg1.len", |
3383 "python_format": "s*", | 3383 "python_format": "s*", |
3384 "python_type": "Py_buffer", | 3384 "python_type": "Py_buffer", |
3385 "release": "PyBuffer_Release(&arg1);", | 3385 "release": "PyBuffer_Release(&arg1);", |
3386 "sdk_name": "body", | 3386 "sdk_name": "body", |
3387 "sdk_type": "const_void_pointer_with_size" | 3387 "sdk_type": "const_void_pointer_with_size" |
3388 }, | 3388 }, |
3389 { | 3389 { |
3390 "initialization": " = NULL", | 3390 "initialization": " = NULL", |
3391 "name": "arg3", | 3391 "name": "arg3", |
3392 "orthanc_cast": "arg3", | 3392 "orthanc_cast": "arg3", |
3393 "python_format": "s", | 3393 "python_format": "s", |
3394 "python_type": "const char*", | 3394 "python_type": "const char*", |
3395 "sdk_name": "username", | 3395 "sdk_name": "username", |
3396 "sdk_type": "const char *" | 3396 "sdk_type": "const char *" |
3397 }, | 3397 }, |
3398 { | 3398 { |
3399 "initialization": " = NULL", | 3399 "initialization": " = NULL", |
3400 "name": "arg4", | 3400 "name": "arg4", |
3401 "orthanc_cast": "arg4", | 3401 "orthanc_cast": "arg4", |
3402 "python_format": "s", | 3402 "python_format": "s", |
3403 "python_type": "const char*", | 3403 "python_type": "const char*", |
3404 "sdk_name": "password", | 3404 "sdk_name": "password", |
3405 "sdk_type": "const char *" | 3405 "sdk_type": "const char *" |
3406 } | 3406 } |
3407 ], | 3407 ], |
3408 "c_function": "OrthancPluginHttpPut", | 3408 "c_function": "OrthancPluginHttpPut", |
3409 "call_args": ", arg0, arg1.buf, arg1.len, arg3, arg4", | 3409 "call_args": ", arg0, arg1.buf, arg1.len, arg3, arg4", |
3410 "count_args": 4, | 3410 "count_args": 4, |
3411 "has_args": true, | 3411 "has_args": true, |
3412 "return_bytes": true, | 3412 "return_bytes": true, |
3413 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 3413 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
3414 "short_name": "HttpPut", | 3414 "short_name": "HttpPut", |
3415 "tuple_format": "\"ss*ss\", &arg0, &arg1, &arg3, &arg4" | 3415 "tuple_format": "\"ss*ss\", &arg0, &arg1, &arg3, &arg4" |
3416 }, | 3416 }, |
3417 { | 3417 { |
3418 "args": [ | 3418 "args": [ |
3419 { | 3419 { |
3420 "initialization": " = NULL", | 3420 "initialization": " = NULL", |
3421 "name": "arg0", | 3421 "name": "arg0", |
3422 "orthanc_cast": "arg0", | 3422 "orthanc_cast": "arg0", |
3423 "python_format": "s", | 3423 "python_format": "s", |
3424 "python_type": "const char*", | 3424 "python_type": "const char*", |
3425 "sdk_name": "url", | 3425 "sdk_name": "url", |
3426 "sdk_type": "const char *" | 3426 "sdk_type": "const char *" |
3427 }, | 3427 }, |
3428 { | 3428 { |
3429 "initialization": " = NULL", | 3429 "initialization": " = NULL", |
3430 "name": "arg1", | 3430 "name": "arg1", |
3431 "orthanc_cast": "arg1", | 3431 "orthanc_cast": "arg1", |
3432 "python_format": "s", | 3432 "python_format": "s", |
3433 "python_type": "const char*", | 3433 "python_type": "const char*", |
3434 "sdk_name": "username", | 3434 "sdk_name": "username", |
3435 "sdk_type": "const char *" | 3435 "sdk_type": "const char *" |
3436 }, | 3436 }, |
3437 { | 3437 { |
3438 "initialization": " = NULL", | 3438 "initialization": " = NULL", |
3439 "name": "arg2", | 3439 "name": "arg2", |
3440 "orthanc_cast": "arg2", | 3440 "orthanc_cast": "arg2", |
3441 "python_format": "s", | 3441 "python_format": "s", |
3442 "python_type": "const char*", | 3442 "python_type": "const char*", |
3443 "sdk_name": "password", | 3443 "sdk_name": "password", |
3444 "sdk_type": "const char *" | 3444 "sdk_type": "const char *" |
3445 } | 3445 } |
3446 ], | 3446 ], |
3447 "c_function": "OrthancPluginHttpDelete", | 3447 "c_function": "OrthancPluginHttpDelete", |
3448 "call_args": ", arg0, arg1, arg2", | 3448 "call_args": ", arg0, arg1, arg2", |
3449 "count_args": 3, | 3449 "count_args": 3, |
3450 "has_args": true, | 3450 "has_args": true, |
3451 "return_error": true, | 3451 "return_error": true, |
3452 "return_sdk_enumeration": "OrthancPluginErrorCode", | 3452 "return_sdk_enumeration": "OrthancPluginErrorCode", |
3453 "return_sdk_type": "enumeration", | 3453 "return_sdk_type": "enumeration", |
3454 "short_name": "HttpDelete", | 3454 "short_name": "HttpDelete", |
3455 "tuple_format": "\"sss\", &arg0, &arg1, &arg2" | 3455 "tuple_format": "\"sss\", &arg0, &arg1, &arg2" |
3456 }, | 3456 }, |
3457 { | 3457 { |
3458 "args": [], | 3458 "args": [], |
3459 "c_function": "OrthancPluginGetFontsCount", | 3459 "c_function": "OrthancPluginGetFontsCount", |
3460 "return_long": true, | 3460 "return_long": true, |
3461 "return_sdk_type": "uint32_t", | 3461 "return_sdk_type": "uint32_t", |
3462 "short_name": "GetFontsCount", | 3462 "short_name": "GetFontsCount", |
3463 "tuple_format": "\"\", " | 3463 "tuple_format": "\"\", " |
3464 }, | 3464 }, |
3465 { | 3465 { |
3466 "args": [ | 3466 "args": [ |
3467 { | 3467 { |
3468 "initialization": " = 0", | 3468 "initialization": " = 0", |
3469 "name": "arg0", | 3469 "name": "arg0", |
3470 "orthanc_cast": "arg0", | 3470 "orthanc_cast": "arg0", |
3471 "python_format": "k", | 3471 "python_format": "k", |
3472 "python_type": "unsigned long", | 3472 "python_type": "unsigned long", |
3473 "sdk_name": "fontIndex", | 3473 "sdk_name": "fontIndex", |
3474 "sdk_type": "uint32_t" | 3474 "sdk_type": "uint32_t" |
3475 } | 3475 } |
3476 ], | 3476 ], |
3477 "c_function": "OrthancPluginGetFontName", | 3477 "c_function": "OrthancPluginGetFontName", |
3478 "call_args": ", arg0", | 3478 "call_args": ", arg0", |
3479 "count_args": 1, | 3479 "count_args": 1, |
3480 "has_args": true, | 3480 "has_args": true, |
3481 "return_sdk_type": "const char *", | 3481 "return_sdk_type": "const char *", |
3482 "return_static_string": true, | 3482 "return_static_string": true, |
3483 "short_name": "GetFontName", | 3483 "short_name": "GetFontName", |
3484 "tuple_format": "\"k\", &arg0" | 3484 "tuple_format": "\"k\", &arg0" |
3485 }, | 3485 }, |
3486 { | 3486 { |
3487 "args": [ | 3487 "args": [ |
3488 { | 3488 { |
3489 "initialization": " = 0", | 3489 "initialization": " = 0", |
3490 "name": "arg0", | 3490 "name": "arg0", |
3491 "orthanc_cast": "arg0", | 3491 "orthanc_cast": "arg0", |
3492 "python_format": "k", | 3492 "python_format": "k", |
3493 "python_type": "unsigned long", | 3493 "python_type": "unsigned long", |
3494 "sdk_name": "fontIndex", | 3494 "sdk_name": "fontIndex", |
3495 "sdk_type": "uint32_t" | 3495 "sdk_type": "uint32_t" |
3496 } | 3496 } |
3497 ], | 3497 ], |
3498 "c_function": "OrthancPluginGetFontSize", | 3498 "c_function": "OrthancPluginGetFontSize", |
3499 "call_args": ", arg0", | 3499 "call_args": ", arg0", |
3500 "count_args": 1, | 3500 "count_args": 1, |
3501 "has_args": true, | 3501 "has_args": true, |
3502 "return_long": true, | 3502 "return_long": true, |
3503 "return_sdk_type": "uint32_t", | 3503 "return_sdk_type": "uint32_t", |
3504 "short_name": "GetFontSize", | 3504 "short_name": "GetFontSize", |
3505 "tuple_format": "\"k\", &arg0" | 3505 "tuple_format": "\"k\", &arg0" |
3506 }, | 3506 }, |
3507 { | 3507 { |
3508 "args": [ | 3508 "args": [ |
3509 { | 3509 { |
3510 "initialization": " = 0", | 3510 "initialization": " = 0", |
3511 "name": "arg0", | 3511 "name": "arg0", |
3512 "orthanc_cast": "arg0", | 3512 "orthanc_cast": "arg0", |
3513 "python_format": "l", | 3513 "python_format": "l", |
3514 "python_type": "long int", | 3514 "python_type": "long int", |
3515 "sdk_name": "code", | 3515 "sdk_name": "code", |
3516 "sdk_type": "int32_t" | 3516 "sdk_type": "int32_t" |
3517 }, | 3517 }, |
3518 { | 3518 { |
3519 "initialization": " = 0", | 3519 "initialization": " = 0", |
3520 "name": "arg1", | 3520 "name": "arg1", |
3521 "orthanc_cast": "arg1", | 3521 "orthanc_cast": "arg1", |
3522 "python_format": "H", | 3522 "python_format": "H", |
3523 "python_type": "unsigned short", | 3523 "python_type": "unsigned short", |
3524 "sdk_name": "httpStatus", | 3524 "sdk_name": "httpStatus", |
3525 "sdk_type": "uint16_t" | 3525 "sdk_type": "uint16_t" |
3526 }, | 3526 }, |
3527 { | 3527 { |
3528 "initialization": " = NULL", | 3528 "initialization": " = NULL", |
3529 "name": "arg2", | 3529 "name": "arg2", |
3530 "orthanc_cast": "arg2", | 3530 "orthanc_cast": "arg2", |
3531 "python_format": "s", | 3531 "python_format": "s", |
3532 "python_type": "const char*", | 3532 "python_type": "const char*", |
3533 "sdk_name": "message", | 3533 "sdk_name": "message", |
3534 "sdk_type": "const char *" | 3534 "sdk_type": "const char *" |
3535 } | 3535 } |
3536 ], | 3536 ], |
3537 "c_function": "OrthancPluginRegisterErrorCode", | 3537 "c_function": "OrthancPluginRegisterErrorCode", |
3538 "call_args": ", arg0, arg1, arg2", | 3538 "call_args": ", arg0, arg1, arg2", |
3539 "count_args": 3, | 3539 "count_args": 3, |
3540 "has_args": true, | 3540 "has_args": true, |
3541 "return_error": true, | 3541 "return_error": true, |
3542 "return_sdk_enumeration": "OrthancPluginErrorCode", | 3542 "return_sdk_enumeration": "OrthancPluginErrorCode", |
3543 "return_sdk_type": "enumeration", | 3543 "return_sdk_type": "enumeration", |
3544 "short_name": "RegisterErrorCode", | 3544 "short_name": "RegisterErrorCode", |
3545 "tuple_format": "\"lHs\", &arg0, &arg1, &arg2" | 3545 "tuple_format": "\"lHs\", &arg0, &arg1, &arg2" |
3546 }, | 3546 }, |
3547 { | 3547 { |
3548 "args": [ | 3548 "args": [ |
3549 { | 3549 { |
3550 "initialization": " = 0", | 3550 "initialization": " = 0", |
3551 "name": "arg0", | 3551 "name": "arg0", |
3552 "orthanc_cast": "arg0", | 3552 "orthanc_cast": "arg0", |
3553 "python_format": "H", | 3553 "python_format": "H", |
3554 "python_type": "unsigned short", | 3554 "python_type": "unsigned short", |
3555 "sdk_name": "group", | 3555 "sdk_name": "group", |
3556 "sdk_type": "uint16_t" | 3556 "sdk_type": "uint16_t" |
3557 }, | 3557 }, |
3558 { | 3558 { |
3559 "initialization": " = 0", | 3559 "initialization": " = 0", |
3560 "name": "arg1", | 3560 "name": "arg1", |
3561 "orthanc_cast": "arg1", | 3561 "orthanc_cast": "arg1", |
3562 "python_format": "H", | 3562 "python_format": "H", |
3563 "python_type": "unsigned short", | 3563 "python_type": "unsigned short", |
3564 "sdk_name": "element", | 3564 "sdk_name": "element", |
3565 "sdk_type": "uint16_t" | 3565 "sdk_type": "uint16_t" |
3566 }, | 3566 }, |
3567 { | 3567 { |
3568 "initialization": " = 0", | 3568 "initialization": " = 0", |
3569 "name": "arg2", | 3569 "name": "arg2", |
3570 "orthanc_cast": "static_cast<OrthancPluginValueRepresentation>(arg2)", | 3570 "orthanc_cast": "static_cast<OrthancPluginValueRepresentation>(arg2)", |
3571 "python_format": "l", | 3571 "python_format": "l", |
3572 "python_type": "long int", | 3572 "python_type": "long int", |
3573 "sdk_enumeration": "OrthancPluginValueRepresentation", | 3573 "sdk_enumeration": "OrthancPluginValueRepresentation", |
3574 "sdk_name": "vr", | 3574 "sdk_name": "vr", |
3575 "sdk_type": "enumeration" | 3575 "sdk_type": "enumeration" |
3576 }, | 3576 }, |
3577 { | 3577 { |
3578 "initialization": " = NULL", | 3578 "initialization": " = NULL", |
3579 "name": "arg3", | 3579 "name": "arg3", |
3580 "orthanc_cast": "arg3", | 3580 "orthanc_cast": "arg3", |
3581 "python_format": "s", | 3581 "python_format": "s", |
3582 "python_type": "const char*", | 3582 "python_type": "const char*", |
3583 "sdk_name": "name", | 3583 "sdk_name": "name", |
3584 "sdk_type": "const char *" | 3584 "sdk_type": "const char *" |
3585 }, | 3585 }, |
3586 { | 3586 { |
3587 "initialization": " = 0", | 3587 "initialization": " = 0", |
3588 "name": "arg4", | 3588 "name": "arg4", |
3589 "orthanc_cast": "arg4", | 3589 "orthanc_cast": "arg4", |
3590 "python_format": "k", | 3590 "python_format": "k", |
3591 "python_type": "unsigned long", | 3591 "python_type": "unsigned long", |
3592 "sdk_name": "minMultiplicity", | 3592 "sdk_name": "minMultiplicity", |
3593 "sdk_type": "uint32_t" | 3593 "sdk_type": "uint32_t" |
3594 }, | 3594 }, |
3595 { | 3595 { |
3596 "initialization": " = 0", | 3596 "initialization": " = 0", |
3597 "name": "arg5", | 3597 "name": "arg5", |
3598 "orthanc_cast": "arg5", | 3598 "orthanc_cast": "arg5", |
3599 "python_format": "k", | 3599 "python_format": "k", |
3600 "python_type": "unsigned long", | 3600 "python_type": "unsigned long", |
3601 "sdk_name": "maxMultiplicity", | 3601 "sdk_name": "maxMultiplicity", |
3602 "sdk_type": "uint32_t" | 3602 "sdk_type": "uint32_t" |
3603 } | 3603 } |
3604 ], | 3604 ], |
3605 "c_function": "OrthancPluginRegisterDictionaryTag", | 3605 "c_function": "OrthancPluginRegisterDictionaryTag", |
3606 "call_args": ", arg0, arg1, static_cast<OrthancPluginValueRepresentation>(arg2), arg3, arg4, arg5", | 3606 "call_args": ", arg0, arg1, static_cast<OrthancPluginValueRepresentation>(arg2), arg3, arg4, arg5", |
3607 "count_args": 6, | 3607 "count_args": 6, |
3608 "has_args": true, | 3608 "has_args": true, |
3609 "return_error": true, | 3609 "return_error": true, |
3610 "return_sdk_enumeration": "OrthancPluginErrorCode", | 3610 "return_sdk_enumeration": "OrthancPluginErrorCode", |
3611 "return_sdk_type": "enumeration", | 3611 "return_sdk_type": "enumeration", |
3612 "short_name": "RegisterDictionaryTag", | 3612 "short_name": "RegisterDictionaryTag", |
3613 "tuple_format": "\"HHlskk\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5" | 3613 "tuple_format": "\"HHlskk\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5" |
3614 }, | 3614 }, |
3615 { | 3615 { |
3616 "args": [ | 3616 "args": [ |
3617 { | 3617 { |
3618 "initialization": " = 0", | 3618 "initialization": " = 0", |
3619 "name": "arg0", | 3619 "name": "arg0", |
3620 "orthanc_cast": "arg0", | 3620 "orthanc_cast": "arg0", |
3621 "python_format": "H", | 3621 "python_format": "H", |
3622 "python_type": "unsigned short", | 3622 "python_type": "unsigned short", |
3623 "sdk_name": "group", | 3623 "sdk_name": "group", |
3624 "sdk_type": "uint16_t" | 3624 "sdk_type": "uint16_t" |
3625 }, | 3625 }, |
3626 { | 3626 { |
3627 "initialization": " = 0", | 3627 "initialization": " = 0", |
3628 "name": "arg1", | 3628 "name": "arg1", |
3629 "orthanc_cast": "arg1", | 3629 "orthanc_cast": "arg1", |
3630 "python_format": "H", | 3630 "python_format": "H", |
3631 "python_type": "unsigned short", | 3631 "python_type": "unsigned short", |
3632 "sdk_name": "element", | 3632 "sdk_name": "element", |
3633 "sdk_type": "uint16_t" | 3633 "sdk_type": "uint16_t" |
3634 }, | 3634 }, |
3635 { | 3635 { |
3636 "initialization": " = 0", | 3636 "initialization": " = 0", |
3637 "name": "arg2", | 3637 "name": "arg2", |
3638 "orthanc_cast": "static_cast<OrthancPluginValueRepresentation>(arg2)", | 3638 "orthanc_cast": "static_cast<OrthancPluginValueRepresentation>(arg2)", |
3639 "python_format": "l", | 3639 "python_format": "l", |
3640 "python_type": "long int", | 3640 "python_type": "long int", |
3641 "sdk_enumeration": "OrthancPluginValueRepresentation", | 3641 "sdk_enumeration": "OrthancPluginValueRepresentation", |
3642 "sdk_name": "vr", | 3642 "sdk_name": "vr", |
3643 "sdk_type": "enumeration" | 3643 "sdk_type": "enumeration" |
3644 }, | 3644 }, |
3645 { | 3645 { |
3646 "initialization": " = NULL", | 3646 "initialization": " = NULL", |
3647 "name": "arg3", | 3647 "name": "arg3", |
3648 "orthanc_cast": "arg3", | 3648 "orthanc_cast": "arg3", |
3649 "python_format": "s", | 3649 "python_format": "s", |
3650 "python_type": "const char*", | 3650 "python_type": "const char*", |
3651 "sdk_name": "name", | 3651 "sdk_name": "name", |
3652 "sdk_type": "const char *" | 3652 "sdk_type": "const char *" |
3653 }, | 3653 }, |
3654 { | 3654 { |
3655 "initialization": " = 0", | 3655 "initialization": " = 0", |
3656 "name": "arg4", | 3656 "name": "arg4", |
3657 "orthanc_cast": "arg4", | 3657 "orthanc_cast": "arg4", |
3658 "python_format": "k", | 3658 "python_format": "k", |
3659 "python_type": "unsigned long", | 3659 "python_type": "unsigned long", |
3660 "sdk_name": "minMultiplicity", | 3660 "sdk_name": "minMultiplicity", |
3661 "sdk_type": "uint32_t" | 3661 "sdk_type": "uint32_t" |
3662 }, | 3662 }, |
3663 { | 3663 { |
3664 "initialization": " = 0", | 3664 "initialization": " = 0", |
3665 "name": "arg5", | 3665 "name": "arg5", |
3666 "orthanc_cast": "arg5", | 3666 "orthanc_cast": "arg5", |
3667 "python_format": "k", | 3667 "python_format": "k", |
3668 "python_type": "unsigned long", | 3668 "python_type": "unsigned long", |
3669 "sdk_name": "maxMultiplicity", | 3669 "sdk_name": "maxMultiplicity", |
3670 "sdk_type": "uint32_t" | 3670 "sdk_type": "uint32_t" |
3671 }, | 3671 }, |
3672 { | 3672 { |
3673 "initialization": " = NULL", | 3673 "initialization": " = NULL", |
3674 "name": "arg6", | 3674 "name": "arg6", |
3675 "orthanc_cast": "arg6", | 3675 "orthanc_cast": "arg6", |
3676 "python_format": "s", | 3676 "python_format": "s", |
3677 "python_type": "const char*", | 3677 "python_type": "const char*", |
3678 "sdk_name": "privateCreator", | 3678 "sdk_name": "privateCreator", |
3679 "sdk_type": "const char *" | 3679 "sdk_type": "const char *" |
3680 } | 3680 } |
3681 ], | 3681 ], |
3682 "c_function": "OrthancPluginRegisterPrivateDictionaryTag", | 3682 "c_function": "OrthancPluginRegisterPrivateDictionaryTag", |
3683 "call_args": ", arg0, arg1, static_cast<OrthancPluginValueRepresentation>(arg2), arg3, arg4, arg5, arg6", | 3683 "call_args": ", arg0, arg1, static_cast<OrthancPluginValueRepresentation>(arg2), arg3, arg4, arg5, arg6", |
3684 "count_args": 7, | 3684 "count_args": 7, |
3685 "has_args": true, | 3685 "has_args": true, |
3686 "return_error": true, | 3686 "return_error": true, |
3687 "return_sdk_enumeration": "OrthancPluginErrorCode", | 3687 "return_sdk_enumeration": "OrthancPluginErrorCode", |
3688 "return_sdk_type": "enumeration", | 3688 "return_sdk_type": "enumeration", |
3689 "short_name": "RegisterPrivateDictionaryTag", | 3689 "short_name": "RegisterPrivateDictionaryTag", |
3690 "tuple_format": "\"HHlskks\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5, &arg6" | 3690 "tuple_format": "\"HHlskks\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5, &arg6" |
3691 }, | 3691 }, |
3692 { | 3692 { |
3693 "args": [ | 3693 "args": [ |
3694 { | 3694 { |
3695 "name": "arg0", | 3695 "name": "arg0", |
3696 "orthanc_cast": "arg0.buf, arg0.len", | 3696 "orthanc_cast": "arg0.buf, arg0.len", |
3697 "python_format": "s*", | 3697 "python_format": "s*", |
3698 "python_type": "Py_buffer", | 3698 "python_type": "Py_buffer", |
3699 "release": "PyBuffer_Release(&arg0);", | 3699 "release": "PyBuffer_Release(&arg0);", |
3700 "sdk_name": "buffer", | 3700 "sdk_name": "buffer", |
3701 "sdk_type": "const_void_pointer_with_size" | 3701 "sdk_type": "const_void_pointer_with_size" |
3702 }, | 3702 }, |
3703 { | 3703 { |
3704 "initialization": " = 0", | 3704 "initialization": " = 0", |
3705 "name": "arg2", | 3705 "name": "arg2", |
3706 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFormat>(arg2)", | 3706 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFormat>(arg2)", |
3707 "python_format": "l", | 3707 "python_format": "l", |
3708 "python_type": "long int", | 3708 "python_type": "long int", |
3709 "sdk_enumeration": "OrthancPluginDicomToJsonFormat", | 3709 "sdk_enumeration": "OrthancPluginDicomToJsonFormat", |
3710 "sdk_name": "format", | 3710 "sdk_name": "format", |
3711 "sdk_type": "enumeration" | 3711 "sdk_type": "enumeration" |
3712 }, | 3712 }, |
3713 { | 3713 { |
3714 "initialization": " = 0", | 3714 "initialization": " = 0", |
3715 "name": "arg3", | 3715 "name": "arg3", |
3716 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFlags>(arg3)", | 3716 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFlags>(arg3)", |
3717 "python_format": "l", | 3717 "python_format": "l", |
3718 "python_type": "long int", | 3718 "python_type": "long int", |
3719 "sdk_enumeration": "OrthancPluginDicomToJsonFlags", | 3719 "sdk_enumeration": "OrthancPluginDicomToJsonFlags", |
3720 "sdk_name": "flags", | 3720 "sdk_name": "flags", |
3721 "sdk_type": "enumeration" | 3721 "sdk_type": "enumeration" |
3722 }, | 3722 }, |
3723 { | 3723 { |
3724 "initialization": " = 0", | 3724 "initialization": " = 0", |
3725 "name": "arg4", | 3725 "name": "arg4", |
3726 "orthanc_cast": "arg4", | 3726 "orthanc_cast": "arg4", |
3727 "python_format": "k", | 3727 "python_format": "k", |
3728 "python_type": "unsigned long", | 3728 "python_type": "unsigned long", |
3729 "sdk_name": "maxStringLength", | 3729 "sdk_name": "maxStringLength", |
3730 "sdk_type": "uint32_t" | 3730 "sdk_type": "uint32_t" |
3731 } | 3731 } |
3732 ], | 3732 ], |
3733 "c_function": "OrthancPluginDicomBufferToJson", | 3733 "c_function": "OrthancPluginDicomBufferToJson", |
3734 "call_args": ", arg0.buf, arg0.len, static_cast<OrthancPluginDicomToJsonFormat>(arg2), static_cast<OrthancPluginDicomToJsonFlags>(arg3), arg4", | 3734 "call_args": ", arg0.buf, arg0.len, static_cast<OrthancPluginDicomToJsonFormat>(arg2), static_cast<OrthancPluginDicomToJsonFlags>(arg3), arg4", |
3735 "count_args": 4, | 3735 "count_args": 4, |
3736 "has_args": true, | 3736 "has_args": true, |
3737 "return_dynamic_string": true, | 3737 "return_dynamic_string": true, |
3738 "return_sdk_type": "char *", | 3738 "return_sdk_type": "char *", |
3739 "short_name": "DicomBufferToJson", | 3739 "short_name": "DicomBufferToJson", |
3740 "tuple_format": "\"s*llk\", &arg0, &arg2, &arg3, &arg4" | 3740 "tuple_format": "\"s*llk\", &arg0, &arg2, &arg3, &arg4" |
3741 }, | 3741 }, |
3742 { | 3742 { |
3743 "args": [ | 3743 "args": [ |
3744 { | 3744 { |
3745 "initialization": " = NULL", | 3745 "initialization": " = NULL", |
3746 "name": "arg0", | 3746 "name": "arg0", |
3747 "orthanc_cast": "arg0", | 3747 "orthanc_cast": "arg0", |
3748 "python_format": "s", | 3748 "python_format": "s", |
3749 "python_type": "const char*", | 3749 "python_type": "const char*", |
3750 "sdk_name": "instanceId", | 3750 "sdk_name": "instanceId", |
3751 "sdk_type": "const char *" | 3751 "sdk_type": "const char *" |
3752 }, | 3752 }, |
3753 { | 3753 { |
3754 "initialization": " = 0", | 3754 "initialization": " = 0", |
3755 "name": "arg1", | 3755 "name": "arg1", |
3756 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFormat>(arg1)", | 3756 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFormat>(arg1)", |
3757 "python_format": "l", | 3757 "python_format": "l", |
3758 "python_type": "long int", | 3758 "python_type": "long int", |
3759 "sdk_enumeration": "OrthancPluginDicomToJsonFormat", | 3759 "sdk_enumeration": "OrthancPluginDicomToJsonFormat", |
3760 "sdk_name": "format", | 3760 "sdk_name": "format", |
3761 "sdk_type": "enumeration" | 3761 "sdk_type": "enumeration" |
3762 }, | 3762 }, |
3763 { | 3763 { |
3764 "initialization": " = 0", | 3764 "initialization": " = 0", |
3765 "name": "arg2", | 3765 "name": "arg2", |
3766 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFlags>(arg2)", | 3766 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFlags>(arg2)", |
3767 "python_format": "l", | 3767 "python_format": "l", |
3768 "python_type": "long int", | 3768 "python_type": "long int", |
3769 "sdk_enumeration": "OrthancPluginDicomToJsonFlags", | 3769 "sdk_enumeration": "OrthancPluginDicomToJsonFlags", |
3770 "sdk_name": "flags", | 3770 "sdk_name": "flags", |
3771 "sdk_type": "enumeration" | 3771 "sdk_type": "enumeration" |
3772 }, | 3772 }, |
3773 { | 3773 { |
3774 "initialization": " = 0", | 3774 "initialization": " = 0", |
3775 "name": "arg3", | 3775 "name": "arg3", |
3776 "orthanc_cast": "arg3", | 3776 "orthanc_cast": "arg3", |
3777 "python_format": "k", | 3777 "python_format": "k", |
3778 "python_type": "unsigned long", | 3778 "python_type": "unsigned long", |
3779 "sdk_name": "maxStringLength", | 3779 "sdk_name": "maxStringLength", |
3780 "sdk_type": "uint32_t" | 3780 "sdk_type": "uint32_t" |
3781 } | 3781 } |
3782 ], | 3782 ], |
3783 "c_function": "OrthancPluginDicomInstanceToJson", | 3783 "c_function": "OrthancPluginDicomInstanceToJson", |
3784 "call_args": ", arg0, static_cast<OrthancPluginDicomToJsonFormat>(arg1), static_cast<OrthancPluginDicomToJsonFlags>(arg2), arg3", | 3784 "call_args": ", arg0, static_cast<OrthancPluginDicomToJsonFormat>(arg1), static_cast<OrthancPluginDicomToJsonFlags>(arg2), arg3", |
3785 "count_args": 4, | 3785 "count_args": 4, |
3786 "has_args": true, | 3786 "has_args": true, |
3787 "return_dynamic_string": true, | 3787 "return_dynamic_string": true, |
3788 "return_sdk_type": "char *", | 3788 "return_sdk_type": "char *", |
3789 "short_name": "DicomInstanceToJson", | 3789 "short_name": "DicomInstanceToJson", |
3790 "tuple_format": "\"sllk\", &arg0, &arg1, &arg2, &arg3" | 3790 "tuple_format": "\"sllk\", &arg0, &arg1, &arg2, &arg3" |
3791 }, | 3791 }, |
3792 { | 3792 { |
3793 "args": [ | 3793 "args": [ |
3794 { | 3794 { |
3795 "initialization": " = 0", | 3795 "initialization": " = 0", |
3796 "name": "arg0", | 3796 "name": "arg0", |
3797 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", | 3797 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", |
3798 "python_format": "l", | 3798 "python_format": "l", |
3799 "python_type": "long int", | 3799 "python_type": "long int", |
3800 "sdk_enumeration": "OrthancPluginPixelFormat", | 3800 "sdk_enumeration": "OrthancPluginPixelFormat", |
3801 "sdk_name": "format", | 3801 "sdk_name": "format", |
3802 "sdk_type": "enumeration" | 3802 "sdk_type": "enumeration" |
3803 }, | 3803 }, |
3804 { | 3804 { |
3805 "initialization": " = 0", | 3805 "initialization": " = 0", |
3806 "name": "arg1", | 3806 "name": "arg1", |
3807 "orthanc_cast": "arg1", | 3807 "orthanc_cast": "arg1", |
3808 "python_format": "k", | 3808 "python_format": "k", |
3809 "python_type": "unsigned long", | 3809 "python_type": "unsigned long", |
3810 "sdk_name": "width", | 3810 "sdk_name": "width", |
3811 "sdk_type": "uint32_t" | 3811 "sdk_type": "uint32_t" |
3812 }, | 3812 }, |
3813 { | 3813 { |
3814 "initialization": " = 0", | 3814 "initialization": " = 0", |
3815 "name": "arg2", | 3815 "name": "arg2", |
3816 "orthanc_cast": "arg2", | 3816 "orthanc_cast": "arg2", |
3817 "python_format": "k", | 3817 "python_format": "k", |
3818 "python_type": "unsigned long", | 3818 "python_type": "unsigned long", |
3819 "sdk_name": "height", | 3819 "sdk_name": "height", |
3820 "sdk_type": "uint32_t" | 3820 "sdk_type": "uint32_t" |
3821 } | 3821 } |
3822 ], | 3822 ], |
3823 "c_function": "OrthancPluginCreateImage", | 3823 "c_function": "OrthancPluginCreateImage", |
3824 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2", | 3824 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2", |
3825 "count_args": 3, | 3825 "count_args": 3, |
3826 "has_args": true, | 3826 "has_args": true, |
3827 "return_object": "OrthancPluginImage", | 3827 "return_object": "OrthancPluginImage", |
3828 "return_sdk_class": "OrthancPluginImage", | 3828 "return_sdk_class": "OrthancPluginImage", |
3829 "return_sdk_type": "object", | 3829 "return_sdk_type": "object", |
3830 "short_name": "CreateImage", | 3830 "short_name": "CreateImage", |
3831 "tuple_format": "\"lkk\", &arg0, &arg1, &arg2" | 3831 "tuple_format": "\"lkk\", &arg0, &arg1, &arg2" |
3832 }, | 3832 }, |
3833 { | 3833 { |
3834 "args": [ | 3834 "args": [ |
3835 { | 3835 { |
3836 "name": "arg0", | 3836 "name": "arg0", |
3837 "orthanc_cast": "arg0.buf, arg0.len", | 3837 "orthanc_cast": "arg0.buf, arg0.len", |
3838 "python_format": "s*", | 3838 "python_format": "s*", |
3839 "python_type": "Py_buffer", | 3839 "python_type": "Py_buffer", |
3840 "release": "PyBuffer_Release(&arg0);", | 3840 "release": "PyBuffer_Release(&arg0);", |
3841 "sdk_name": "buffer", | 3841 "sdk_name": "buffer", |
3842 "sdk_type": "const_void_pointer_with_size" | 3842 "sdk_type": "const_void_pointer_with_size" |
3843 }, | 3843 }, |
3844 { | 3844 { |
3845 "initialization": " = 0", | 3845 "initialization": " = 0", |
3846 "name": "arg2", | 3846 "name": "arg2", |
3847 "orthanc_cast": "arg2", | 3847 "orthanc_cast": "arg2", |
3848 "python_format": "k", | 3848 "python_format": "k", |
3849 "python_type": "unsigned long", | 3849 "python_type": "unsigned long", |
3850 "sdk_name": "frameIndex", | 3850 "sdk_name": "frameIndex", |
3851 "sdk_type": "uint32_t" | 3851 "sdk_type": "uint32_t" |
3852 } | 3852 } |
3853 ], | 3853 ], |
3854 "c_function": "OrthancPluginDecodeDicomImage", | 3854 "c_function": "OrthancPluginDecodeDicomImage", |
3855 "call_args": ", arg0.buf, arg0.len, arg2", | 3855 "call_args": ", arg0.buf, arg0.len, arg2", |
3856 "count_args": 2, | 3856 "count_args": 2, |
3857 "has_args": true, | 3857 "has_args": true, |
3858 "return_object": "OrthancPluginImage", | 3858 "return_object": "OrthancPluginImage", |
3859 "return_sdk_class": "OrthancPluginImage", | 3859 "return_sdk_class": "OrthancPluginImage", |
3860 "return_sdk_type": "object", | 3860 "return_sdk_type": "object", |
3861 "short_name": "DecodeDicomImage", | 3861 "short_name": "DecodeDicomImage", |
3862 "tuple_format": "\"s*k\", &arg0, &arg2" | 3862 "tuple_format": "\"s*k\", &arg0, &arg2" |
3863 }, | 3863 }, |
3864 { | 3864 { |
3865 "args": [ | 3865 "args": [ |
3866 { | 3866 { |
3867 "name": "arg0", | 3867 "name": "arg0", |
3868 "orthanc_cast": "arg0.buf, arg0.len", | 3868 "orthanc_cast": "arg0.buf, arg0.len", |
3869 "python_format": "s*", | 3869 "python_format": "s*", |
3870 "python_type": "Py_buffer", | 3870 "python_type": "Py_buffer", |
3871 "release": "PyBuffer_Release(&arg0);", | 3871 "release": "PyBuffer_Release(&arg0);", |
3872 "sdk_name": "buffer", | 3872 "sdk_name": "buffer", |
3873 "sdk_type": "const_void_pointer_with_size" | 3873 "sdk_type": "const_void_pointer_with_size" |
3874 } | 3874 } |
3875 ], | 3875 ], |
3876 "c_function": "OrthancPluginComputeMd5", | 3876 "c_function": "OrthancPluginComputeMd5", |
3877 "call_args": ", arg0.buf, arg0.len", | 3877 "call_args": ", arg0.buf, arg0.len", |
3878 "count_args": 1, | 3878 "count_args": 1, |
3879 "has_args": true, | 3879 "has_args": true, |
3880 "return_dynamic_string": true, | 3880 "return_dynamic_string": true, |
3881 "return_sdk_type": "char *", | 3881 "return_sdk_type": "char *", |
3882 "short_name": "ComputeMd5", | 3882 "short_name": "ComputeMd5", |
3883 "tuple_format": "\"s*\", &arg0" | 3883 "tuple_format": "\"s*\", &arg0" |
3884 }, | 3884 }, |
3885 { | 3885 { |
3886 "args": [ | 3886 "args": [ |
3887 { | 3887 { |
3888 "name": "arg0", | 3888 "name": "arg0", |
3889 "orthanc_cast": "arg0.buf, arg0.len", | 3889 "orthanc_cast": "arg0.buf, arg0.len", |
3890 "python_format": "s*", | 3890 "python_format": "s*", |
3891 "python_type": "Py_buffer", | 3891 "python_type": "Py_buffer", |
3892 "release": "PyBuffer_Release(&arg0);", | 3892 "release": "PyBuffer_Release(&arg0);", |
3893 "sdk_name": "buffer", | 3893 "sdk_name": "buffer", |
3894 "sdk_type": "const_void_pointer_with_size" | 3894 "sdk_type": "const_void_pointer_with_size" |
3895 } | 3895 } |
3896 ], | 3896 ], |
3897 "c_function": "OrthancPluginComputeSha1", | 3897 "c_function": "OrthancPluginComputeSha1", |
3898 "call_args": ", arg0.buf, arg0.len", | 3898 "call_args": ", arg0.buf, arg0.len", |
3899 "count_args": 1, | 3899 "count_args": 1, |
3900 "has_args": true, | 3900 "has_args": true, |
3901 "return_dynamic_string": true, | 3901 "return_dynamic_string": true, |
3902 "return_sdk_type": "char *", | 3902 "return_sdk_type": "char *", |
3903 "short_name": "ComputeSha1", | 3903 "short_name": "ComputeSha1", |
3904 "tuple_format": "\"s*\", &arg0" | 3904 "tuple_format": "\"s*\", &arg0" |
3905 }, | 3905 }, |
3906 { | 3906 { |
3907 "args": [], | 3907 "args": [], |
3908 "c_function": "OrthancPluginGenerateUuid", | 3908 "c_function": "OrthancPluginGenerateUuid", |
3909 "return_dynamic_string": true, | 3909 "return_dynamic_string": true, |
3910 "return_sdk_type": "char *", | 3910 "return_sdk_type": "char *", |
3911 "short_name": "GenerateUuid", | 3911 "short_name": "GenerateUuid", |
3912 "tuple_format": "\"\", " | 3912 "tuple_format": "\"\", " |
3913 }, | 3913 }, |
3914 { | 3914 { |
3915 "args": [ | 3915 "args": [ |
3916 { | 3916 { |
3917 "name": "arg0", | 3917 "name": "arg0", |
3918 "orthanc_cast": "arg0.buf, arg0.len", | 3918 "orthanc_cast": "arg0.buf, arg0.len", |
3919 "python_format": "s*", | 3919 "python_format": "s*", |
3920 "python_type": "Py_buffer", | 3920 "python_type": "Py_buffer", |
3921 "release": "PyBuffer_Release(&arg0);", | 3921 "release": "PyBuffer_Release(&arg0);", |
3922 "sdk_name": "query", | 3922 "sdk_name": "query", |
3923 "sdk_type": "const_void_pointer_with_size" | 3923 "sdk_type": "const_void_pointer_with_size" |
3924 } | 3924 } |
3925 ], | 3925 ], |
3926 "c_function": "OrthancPluginCreateFindMatcher", | 3926 "c_function": "OrthancPluginCreateFindMatcher", |
3927 "call_args": ", arg0.buf, arg0.len", | 3927 "call_args": ", arg0.buf, arg0.len", |
3928 "count_args": 1, | 3928 "count_args": 1, |
3929 "has_args": true, | 3929 "has_args": true, |
3930 "return_object": "OrthancPluginFindMatcher", | 3930 "return_object": "OrthancPluginFindMatcher", |
3931 "return_sdk_class": "OrthancPluginFindMatcher", | 3931 "return_sdk_class": "OrthancPluginFindMatcher", |
3932 "return_sdk_type": "object", | 3932 "return_sdk_type": "object", |
3933 "short_name": "CreateFindMatcher", | 3933 "short_name": "CreateFindMatcher", |
3934 "tuple_format": "\"s*\", &arg0" | 3934 "tuple_format": "\"s*\", &arg0" |
3935 }, | 3935 }, |
3936 { | 3936 { |
3937 "args": [], | 3937 "args": [], |
3938 "c_function": "OrthancPluginGetPeers", | 3938 "c_function": "OrthancPluginGetPeers", |
3939 "return_object": "OrthancPluginPeers", | 3939 "return_object": "OrthancPluginPeers", |
3940 "return_sdk_class": "OrthancPluginPeers", | 3940 "return_sdk_class": "OrthancPluginPeers", |
3941 "return_sdk_type": "object", | 3941 "return_sdk_type": "object", |
3942 "short_name": "GetPeers", | 3942 "short_name": "GetPeers", |
3943 "tuple_format": "\"\", " | 3943 "tuple_format": "\"\", " |
3944 }, | 3944 }, |
3945 { | 3945 { |
3946 "args": [ | 3946 "args": [ |
3947 { | 3947 { |
3948 "initialization": " = NULL", | 3948 "initialization": " = NULL", |
3949 "name": "arg0", | 3949 "name": "arg0", |
3950 "orthanc_cast": "arg0", | 3950 "orthanc_cast": "arg0", |
3951 "python_format": "s", | 3951 "python_format": "s", |
3952 "python_type": "const char*", | 3952 "python_type": "const char*", |
3953 "sdk_name": "path", | 3953 "sdk_name": "path", |
3954 "sdk_type": "const char *" | 3954 "sdk_type": "const char *" |
3955 } | 3955 } |
3956 ], | 3956 ], |
3957 "c_function": "OrthancPluginAutodetectMimeType", | 3957 "c_function": "OrthancPluginAutodetectMimeType", |
3958 "call_args": ", arg0", | 3958 "call_args": ", arg0", |
3959 "count_args": 1, | 3959 "count_args": 1, |
3960 "has_args": true, | 3960 "has_args": true, |
3961 "return_sdk_type": "const char *", | 3961 "return_sdk_type": "const char *", |
3962 "return_static_string": true, | 3962 "return_static_string": true, |
3963 "short_name": "AutodetectMimeType", | 3963 "short_name": "AutodetectMimeType", |
3964 "tuple_format": "\"s\", &arg0" | 3964 "tuple_format": "\"s\", &arg0" |
3965 }, | 3965 }, |
3966 { | 3966 { |
3967 "args": [ | 3967 "args": [ |
3968 { | 3968 { |
3969 "initialization": " = NULL", | 3969 "initialization": " = NULL", |
3970 "name": "arg0", | 3970 "name": "arg0", |
3971 "orthanc_cast": "arg0", | 3971 "orthanc_cast": "arg0", |
3972 "python_format": "s", | 3972 "python_format": "s", |
3973 "python_type": "const char*", | 3973 "python_type": "const char*", |
3974 "sdk_name": "name", | 3974 "sdk_name": "name", |
3975 "sdk_type": "const char *" | 3975 "sdk_type": "const char *" |
3976 }, | 3976 }, |
3977 { | 3977 { |
3978 "initialization": " = 0", | 3978 "initialization": " = 0", |
3979 "name": "arg1", | 3979 "name": "arg1", |
3980 "orthanc_cast": "arg1", | 3980 "orthanc_cast": "arg1", |
3981 "python_format": "f", | 3981 "python_format": "f", |
3982 "python_type": "float", | 3982 "python_type": "float", |
3983 "sdk_name": "value", | 3983 "sdk_name": "value", |
3984 "sdk_type": "float" | 3984 "sdk_type": "float" |
3985 }, | 3985 }, |
3986 { | 3986 { |
3987 "initialization": " = 0", | 3987 "initialization": " = 0", |
3988 "name": "arg2", | 3988 "name": "arg2", |
3989 "orthanc_cast": "static_cast<OrthancPluginMetricsType>(arg2)", | 3989 "orthanc_cast": "static_cast<OrthancPluginMetricsType>(arg2)", |
3990 "python_format": "l", | 3990 "python_format": "l", |
3991 "python_type": "long int", | 3991 "python_type": "long int", |
3992 "sdk_enumeration": "OrthancPluginMetricsType", | 3992 "sdk_enumeration": "OrthancPluginMetricsType", |
3993 "sdk_name": "type", | 3993 "sdk_name": "type", |
3994 "sdk_type": "enumeration" | 3994 "sdk_type": "enumeration" |
3995 } | 3995 } |
3996 ], | 3996 ], |
3997 "c_function": "OrthancPluginSetMetricsValue", | 3997 "c_function": "OrthancPluginSetMetricsValue", |
3998 "call_args": ", arg0, arg1, static_cast<OrthancPluginMetricsType>(arg2)", | 3998 "call_args": ", arg0, arg1, static_cast<OrthancPluginMetricsType>(arg2)", |
3999 "count_args": 3, | 3999 "count_args": 3, |
4000 "has_args": true, | 4000 "has_args": true, |
4001 "return_sdk_type": "void", | 4001 "return_sdk_type": "void", |
4002 "return_void": true, | 4002 "return_void": true, |
4003 "short_name": "SetMetricsValue", | 4003 "short_name": "SetMetricsValue", |
4004 "tuple_format": "\"sfl\", &arg0, &arg1, &arg2" | 4004 "tuple_format": "\"sfl\", &arg0, &arg1, &arg2" |
4005 }, | 4005 }, |
4006 { | 4006 { |
4007 "args": [ | 4007 "args": [ |
4008 { | 4008 { |
4009 "initialization": " = 0", | 4009 "initialization": " = 0", |
4010 "name": "arg0", | 4010 "name": "arg0", |
4011 "orthanc_cast": "arg0", | 4011 "orthanc_cast": "arg0", |
4012 "python_format": "H", | 4012 "python_format": "H", |
4013 "python_type": "unsigned short", | 4013 "python_type": "unsigned short", |
4014 "sdk_name": "group", | 4014 "sdk_name": "group", |
4015 "sdk_type": "uint16_t" | 4015 "sdk_type": "uint16_t" |
4016 }, | 4016 }, |
4017 { | 4017 { |
4018 "initialization": " = 0", | 4018 "initialization": " = 0", |
4019 "name": "arg1", | 4019 "name": "arg1", |
4020 "orthanc_cast": "arg1", | 4020 "orthanc_cast": "arg1", |
4021 "python_format": "H", | 4021 "python_format": "H", |
4022 "python_type": "unsigned short", | 4022 "python_type": "unsigned short", |
4023 "sdk_name": "element", | 4023 "sdk_name": "element", |
4024 "sdk_type": "uint16_t" | 4024 "sdk_type": "uint16_t" |
4025 }, | 4025 }, |
4026 { | 4026 { |
4027 "initialization": " = NULL", | 4027 "initialization": " = NULL", |
4028 "name": "arg2", | 4028 "name": "arg2", |
4029 "orthanc_cast": "arg2", | 4029 "orthanc_cast": "arg2", |
4030 "python_format": "s", | 4030 "python_format": "s", |
4031 "python_type": "const char*", | 4031 "python_type": "const char*", |
4032 "sdk_name": "privateCreator", | 4032 "sdk_name": "privateCreator", |
4033 "sdk_type": "const char *" | 4033 "sdk_type": "const char *" |
4034 } | 4034 } |
4035 ], | 4035 ], |
4036 "c_function": "OrthancPluginGetTagName", | 4036 "c_function": "OrthancPluginGetTagName", |
4037 "call_args": ", arg0, arg1, arg2", | 4037 "call_args": ", arg0, arg1, arg2", |
4038 "count_args": 3, | 4038 "count_args": 3, |
4039 "has_args": true, | 4039 "has_args": true, |
4040 "return_dynamic_string": true, | 4040 "return_dynamic_string": true, |
4041 "return_sdk_type": "char *", | 4041 "return_sdk_type": "char *", |
4042 "short_name": "GetTagName", | 4042 "short_name": "GetTagName", |
4043 "tuple_format": "\"HHs\", &arg0, &arg1, &arg2" | 4043 "tuple_format": "\"HHs\", &arg0, &arg1, &arg2" |
4044 }, | 4044 }, |
4045 { | 4045 { |
4046 "args": [ | 4046 "args": [ |
4047 { | 4047 { |
4048 "name": "arg0", | 4048 "name": "arg0", |
4049 "orthanc_cast": "arg0.buf, arg0.len", | 4049 "orthanc_cast": "arg0.buf, arg0.len", |
4050 "python_format": "s*", | 4050 "python_format": "s*", |
4051 "python_type": "Py_buffer", | 4051 "python_type": "Py_buffer", |
4052 "release": "PyBuffer_Release(&arg0);", | 4052 "release": "PyBuffer_Release(&arg0);", |
4053 "sdk_name": "buffer", | 4053 "sdk_name": "buffer", |
4054 "sdk_type": "const_void_pointer_with_size" | 4054 "sdk_type": "const_void_pointer_with_size" |
4055 } | 4055 } |
4056 ], | 4056 ], |
4057 "c_function": "OrthancPluginCreateDicomInstance", | 4057 "c_function": "OrthancPluginCreateDicomInstance", |
4058 "call_args": ", arg0.buf, arg0.len", | 4058 "call_args": ", arg0.buf, arg0.len", |
4059 "count_args": 1, | 4059 "count_args": 1, |
4060 "has_args": true, | 4060 "has_args": true, |
4061 "return_object": "OrthancPluginDicomInstance", | 4061 "return_object": "OrthancPluginDicomInstance", |
4062 "return_sdk_class": "OrthancPluginDicomInstance", | 4062 "return_sdk_class": "OrthancPluginDicomInstance", |
4063 "return_sdk_type": "object", | 4063 "return_sdk_type": "object", |
4064 "short_name": "CreateDicomInstance", | 4064 "short_name": "CreateDicomInstance", |
4065 "tuple_format": "\"s*\", &arg0" | 4065 "tuple_format": "\"s*\", &arg0" |
4066 }, | 4066 }, |
4067 { | 4067 { |
4068 "args": [ | 4068 "args": [ |
4069 { | 4069 { |
4070 "name": "arg0", | 4070 "name": "arg0", |
4071 "orthanc_cast": "arg0.buf, arg0.len", | 4071 "orthanc_cast": "arg0.buf, arg0.len", |
4072 "python_format": "s*", | 4072 "python_format": "s*", |
4073 "python_type": "Py_buffer", | 4073 "python_type": "Py_buffer", |
4074 "release": "PyBuffer_Release(&arg0);", | 4074 "release": "PyBuffer_Release(&arg0);", |
4075 "sdk_name": "buffer", | 4075 "sdk_name": "buffer", |
4076 "sdk_type": "const_void_pointer_with_size" | 4076 "sdk_type": "const_void_pointer_with_size" |
4077 }, | 4077 }, |
4078 { | 4078 { |
4079 "initialization": " = NULL", | 4079 "initialization": " = NULL", |
4080 "name": "arg2", | 4080 "name": "arg2", |
4081 "orthanc_cast": "arg2", | 4081 "orthanc_cast": "arg2", |
4082 "python_format": "s", | 4082 "python_format": "s", |
4083 "python_type": "const char*", | 4083 "python_type": "const char*", |
4084 "sdk_name": "transferSyntax", | 4084 "sdk_name": "transferSyntax", |
4085 "sdk_type": "const char *" | 4085 "sdk_type": "const char *" |
4086 } | 4086 } |
4087 ], | 4087 ], |
4088 "c_function": "OrthancPluginTranscodeDicomInstance", | 4088 "c_function": "OrthancPluginTranscodeDicomInstance", |
4089 "call_args": ", arg0.buf, arg0.len, arg2", | 4089 "call_args": ", arg0.buf, arg0.len, arg2", |
4090 "count_args": 2, | 4090 "count_args": 2, |
4091 "has_args": true, | 4091 "has_args": true, |
4092 "return_object": "OrthancPluginDicomInstance", | 4092 "return_object": "OrthancPluginDicomInstance", |
4093 "return_sdk_class": "OrthancPluginDicomInstance", | 4093 "return_sdk_class": "OrthancPluginDicomInstance", |
4094 "return_sdk_type": "object", | 4094 "return_sdk_type": "object", |
4095 "short_name": "TranscodeDicomInstance", | 4095 "short_name": "TranscodeDicomInstance", |
4096 "tuple_format": "\"s*s\", &arg0, &arg2" | 4096 "tuple_format": "\"s*s\", &arg0, &arg2" |
4097 }, | 4097 }, |
4098 { | 4098 { |
4099 "args": [ | 4099 "args": [ |
4100 { | 4100 { |
4101 "initialization": " = 0", | 4101 "initialization": " = 0", |
4102 "name": "arg0", | 4102 "name": "arg0", |
4103 "orthanc_cast": "arg0", | 4103 "orthanc_cast": "arg0", |
4104 "python_format": "k", | 4104 "python_format": "k", |
4105 "python_type": "unsigned long", | 4105 "python_type": "unsigned long", |
4106 "sdk_name": "size", | 4106 "sdk_name": "size", |
4107 "sdk_type": "uint32_t" | 4107 "sdk_type": "uint32_t" |
4108 } | 4108 } |
4109 ], | 4109 ], |
4110 "c_function": "OrthancPluginCreateMemoryBuffer", | 4110 "c_function": "OrthancPluginCreateMemoryBuffer", |
4111 "call_args": ", arg0", | 4111 "call_args": ", arg0", |
4112 "count_args": 1, | 4112 "count_args": 1, |
4113 "has_args": true, | 4113 "has_args": true, |
4114 "return_bytes": true, | 4114 "return_bytes": true, |
4115 "return_sdk_type": "OrthancPluginMemoryBuffer *", | 4115 "return_sdk_type": "OrthancPluginMemoryBuffer *", |
4116 "short_name": "CreateMemoryBuffer", | 4116 "short_name": "CreateMemoryBuffer", |
4117 "tuple_format": "\"k\", &arg0" | 4117 "tuple_format": "\"k\", &arg0" |
4118 }, | 4118 }, |
4119 { | 4119 { |
4120 "args": [], | 4120 "args": [], |
4121 "c_function": "OrthancPluginGenerateRestApiAuthorizationToken", | 4121 "c_function": "OrthancPluginGenerateRestApiAuthorizationToken", |
4122 "return_dynamic_string": true, | 4122 "return_dynamic_string": true, |
4123 "return_sdk_type": "char *", | 4123 "return_sdk_type": "char *", |
4124 "short_name": "GenerateRestApiAuthorizationToken", | 4124 "short_name": "GenerateRestApiAuthorizationToken", |
4125 "tuple_format": "\"\", " | 4125 "tuple_format": "\"\", " |
4126 } | 4126 } |
4127 ] | 4127 ] |
4128 } | 4128 } |