Mercurial > hg > orthanc-python
comparison Sources/Autogenerated/CodeModel.json @ 140:b6835b7a7c0a
code generation on Ubuntu 22.04
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 15 Sep 2023 09:01:26 +0200 |
parents | 3e89d1c4f721 |
children | 3867cb23991d |
comparison
equal
deleted
inserted
replaced
139:f79f5450ad7f | 140:b6835b7a7c0a |
---|---|
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_static_string": true, | 19 "return_static_string": true, |
19 "self": ", self->object_", | 20 "self": ", self->object_", |
20 "short_name": "GetInstanceRemoteAet", | 21 "short_name": "GetInstanceRemoteAet", |
21 "tuple_format": "\"\", " | 22 "tuple_format": "\"\", " |
22 }, | 23 }, |
23 { | 24 { |
24 "args": [], | 25 "args": [], |
25 "c_function": "OrthancPluginGetInstanceSize", | 26 "c_function": "OrthancPluginGetInstanceSize", |
26 "return_long": true, | 27 "return_long": true, |
28 "return_sdk_type": "int64_t", | |
27 "self": ", self->object_", | 29 "self": ", self->object_", |
28 "short_name": "GetInstanceSize", | 30 "short_name": "GetInstanceSize", |
29 "tuple_format": "\"\", " | 31 "tuple_format": "\"\", " |
30 }, | 32 }, |
31 { | 33 { |
32 "args": [], | 34 "args": [], |
33 "c_function": "OrthancPluginGetInstanceJson", | 35 "c_function": "OrthancPluginGetInstanceJson", |
34 "return_dynamic_string": true, | 36 "return_dynamic_string": true, |
37 "return_sdk_type": "char *", | |
35 "self": ", self->object_", | 38 "self": ", self->object_", |
36 "short_name": "GetInstanceJson", | 39 "short_name": "GetInstanceJson", |
37 "tuple_format": "\"\", " | 40 "tuple_format": "\"\", " |
38 }, | 41 }, |
39 { | 42 { |
40 "args": [], | 43 "args": [], |
41 "c_function": "OrthancPluginGetInstanceSimplifiedJson", | 44 "c_function": "OrthancPluginGetInstanceSimplifiedJson", |
42 "return_dynamic_string": true, | 45 "return_dynamic_string": true, |
46 "return_sdk_type": "char *", | |
43 "self": ", self->object_", | 47 "self": ", self->object_", |
44 "short_name": "GetInstanceSimplifiedJson", | 48 "short_name": "GetInstanceSimplifiedJson", |
45 "tuple_format": "\"\", " | 49 "tuple_format": "\"\", " |
46 }, | 50 }, |
47 { | 51 { |
49 { | 53 { |
50 "initialization": " = NULL", | 54 "initialization": " = NULL", |
51 "name": "arg0", | 55 "name": "arg0", |
52 "orthanc_cast": "arg0", | 56 "orthanc_cast": "arg0", |
53 "python_format": "s", | 57 "python_format": "s", |
54 "python_type": "const char*" | 58 "python_type": "const char*", |
59 "sdk_type": "const char *" | |
55 } | 60 } |
56 ], | 61 ], |
57 "c_function": "OrthancPluginHasInstanceMetadata", | 62 "c_function": "OrthancPluginHasInstanceMetadata", |
58 "call_args": ", arg0", | 63 "call_args": ", arg0", |
59 "count_args": 1, | 64 "count_args": 1, |
60 "has_args": true, | 65 "has_args": true, |
61 "return_long": true, | 66 "return_long": true, |
67 "return_sdk_type": "int", | |
62 "self": ", self->object_", | 68 "self": ", self->object_", |
63 "short_name": "HasInstanceMetadata", | 69 "short_name": "HasInstanceMetadata", |
64 "tuple_format": "\"s\", &arg0" | 70 "tuple_format": "\"s\", &arg0" |
65 }, | 71 }, |
66 { | 72 { |
68 { | 74 { |
69 "initialization": " = NULL", | 75 "initialization": " = NULL", |
70 "name": "arg0", | 76 "name": "arg0", |
71 "orthanc_cast": "arg0", | 77 "orthanc_cast": "arg0", |
72 "python_format": "s", | 78 "python_format": "s", |
73 "python_type": "const char*" | 79 "python_type": "const char*", |
80 "sdk_type": "const char *" | |
74 } | 81 } |
75 ], | 82 ], |
76 "c_function": "OrthancPluginGetInstanceMetadata", | 83 "c_function": "OrthancPluginGetInstanceMetadata", |
77 "call_args": ", arg0", | 84 "call_args": ", arg0", |
78 "count_args": 1, | 85 "count_args": 1, |
79 "has_args": true, | 86 "has_args": true, |
87 "return_sdk_type": "const char *", | |
80 "return_static_string": true, | 88 "return_static_string": true, |
81 "self": ", self->object_", | 89 "self": ", self->object_", |
82 "short_name": "GetInstanceMetadata", | 90 "short_name": "GetInstanceMetadata", |
83 "tuple_format": "\"s\", &arg0" | 91 "tuple_format": "\"s\", &arg0" |
84 }, | 92 }, |
85 { | 93 { |
86 "args": [], | 94 "args": [], |
87 "c_function": "OrthancPluginGetInstanceOrigin", | 95 "c_function": "OrthancPluginGetInstanceOrigin", |
88 "return_enumeration": "OrthancPluginInstanceOrigin", | 96 "return_enumeration": "OrthancPluginInstanceOrigin", |
97 "return_sdk_type": "OrthancPluginInstanceOrigin", | |
89 "self": ", self->object_", | 98 "self": ", self->object_", |
90 "short_name": "GetInstanceOrigin", | 99 "short_name": "GetInstanceOrigin", |
91 "tuple_format": "\"\", " | 100 "tuple_format": "\"\", " |
92 }, | 101 }, |
93 { | 102 { |
94 "args": [], | 103 "args": [], |
95 "c_function": "OrthancPluginGetInstanceTransferSyntaxUid", | 104 "c_function": "OrthancPluginGetInstanceTransferSyntaxUid", |
96 "return_dynamic_string": true, | 105 "return_dynamic_string": true, |
106 "return_sdk_type": "char *", | |
97 "self": ", self->object_", | 107 "self": ", self->object_", |
98 "short_name": "GetInstanceTransferSyntaxUid", | 108 "short_name": "GetInstanceTransferSyntaxUid", |
99 "tuple_format": "\"\", " | 109 "tuple_format": "\"\", " |
100 }, | 110 }, |
101 { | 111 { |
102 "args": [], | 112 "args": [], |
103 "c_function": "OrthancPluginHasInstancePixelData", | 113 "c_function": "OrthancPluginHasInstancePixelData", |
104 "return_long": true, | 114 "return_long": true, |
115 "return_sdk_type": "int32_t", | |
105 "self": ", self->object_", | 116 "self": ", self->object_", |
106 "short_name": "HasInstancePixelData", | 117 "short_name": "HasInstancePixelData", |
107 "tuple_format": "\"\", " | 118 "tuple_format": "\"\", " |
108 }, | 119 }, |
109 { | 120 { |
110 "args": [], | 121 "args": [], |
111 "c_function": "OrthancPluginGetInstanceFramesCount", | 122 "c_function": "OrthancPluginGetInstanceFramesCount", |
112 "return_long": true, | 123 "return_long": true, |
124 "return_sdk_type": "uint32_t", | |
113 "self": ", self->object_", | 125 "self": ", self->object_", |
114 "short_name": "GetInstanceFramesCount", | 126 "short_name": "GetInstanceFramesCount", |
115 "tuple_format": "\"\", " | 127 "tuple_format": "\"\", " |
116 }, | 128 }, |
117 { | 129 { |
119 { | 131 { |
120 "initialization": " = 0", | 132 "initialization": " = 0", |
121 "name": "arg0", | 133 "name": "arg0", |
122 "orthanc_cast": "arg0", | 134 "orthanc_cast": "arg0", |
123 "python_format": "k", | 135 "python_format": "k", |
124 "python_type": "unsigned long" | 136 "python_type": "unsigned long", |
137 "sdk_type": "uint32_t" | |
125 } | 138 } |
126 ], | 139 ], |
127 "c_function": "OrthancPluginGetInstanceRawFrame", | 140 "c_function": "OrthancPluginGetInstanceRawFrame", |
128 "call_args": ", arg0", | 141 "call_args": ", arg0", |
129 "count_args": 1, | 142 "count_args": 1, |
130 "has_args": true, | 143 "has_args": true, |
131 "return_bytes": true, | 144 "return_bytes": true, |
145 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
132 "self": ", self->object_", | 146 "self": ", self->object_", |
133 "short_name": "GetInstanceRawFrame", | 147 "short_name": "GetInstanceRawFrame", |
134 "tuple_format": "\"k\", &arg0" | 148 "tuple_format": "\"k\", &arg0" |
135 }, | 149 }, |
136 { | 150 { |
138 { | 152 { |
139 "initialization": " = 0", | 153 "initialization": " = 0", |
140 "name": "arg0", | 154 "name": "arg0", |
141 "orthanc_cast": "arg0", | 155 "orthanc_cast": "arg0", |
142 "python_format": "k", | 156 "python_format": "k", |
143 "python_type": "unsigned long" | 157 "python_type": "unsigned long", |
158 "sdk_type": "uint32_t" | |
144 } | 159 } |
145 ], | 160 ], |
146 "c_function": "OrthancPluginGetInstanceDecodedFrame", | 161 "c_function": "OrthancPluginGetInstanceDecodedFrame", |
147 "call_args": ", arg0", | 162 "call_args": ", arg0", |
148 "count_args": 1, | 163 "count_args": 1, |
149 "has_args": true, | 164 "has_args": true, |
150 "return_object": "OrthancPluginImage", | 165 "return_object": "OrthancPluginImage", |
166 "return_sdk_type": "OrthancPluginImage *", | |
151 "self": ", self->object_", | 167 "self": ", self->object_", |
152 "short_name": "GetInstanceDecodedFrame", | 168 "short_name": "GetInstanceDecodedFrame", |
153 "tuple_format": "\"k\", &arg0" | 169 "tuple_format": "\"k\", &arg0" |
154 }, | 170 }, |
155 { | 171 { |
156 "args": [], | 172 "args": [], |
157 "c_function": "OrthancPluginSerializeDicomInstance", | 173 "c_function": "OrthancPluginSerializeDicomInstance", |
158 "return_bytes": true, | 174 "return_bytes": true, |
175 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
159 "self": ", self->object_", | 176 "self": ", self->object_", |
160 "short_name": "SerializeDicomInstance", | 177 "short_name": "SerializeDicomInstance", |
161 "tuple_format": "\"\", " | 178 "tuple_format": "\"\", " |
162 }, | 179 }, |
163 { | 180 { |
165 { | 182 { |
166 "initialization": " = 0", | 183 "initialization": " = 0", |
167 "name": "arg0", | 184 "name": "arg0", |
168 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFormat>(arg0)", | 185 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFormat>(arg0)", |
169 "python_format": "l", | 186 "python_format": "l", |
170 "python_type": "long int" | 187 "python_type": "long int", |
188 "sdk_type": "OrthancPluginDicomToJsonFormat" | |
171 }, | 189 }, |
172 { | 190 { |
173 "initialization": " = 0", | 191 "initialization": " = 0", |
174 "name": "arg1", | 192 "name": "arg1", |
175 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFlags>(arg1)", | 193 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFlags>(arg1)", |
176 "python_format": "l", | 194 "python_format": "l", |
177 "python_type": "long int" | 195 "python_type": "long int", |
196 "sdk_type": "OrthancPluginDicomToJsonFlags" | |
178 }, | 197 }, |
179 { | 198 { |
180 "initialization": " = 0", | 199 "initialization": " = 0", |
181 "name": "arg2", | 200 "name": "arg2", |
182 "orthanc_cast": "arg2", | 201 "orthanc_cast": "arg2", |
183 "python_format": "k", | 202 "python_format": "k", |
184 "python_type": "unsigned long" | 203 "python_type": "unsigned long", |
204 "sdk_type": "uint32_t" | |
185 } | 205 } |
186 ], | 206 ], |
187 "c_function": "OrthancPluginGetInstanceAdvancedJson", | 207 "c_function": "OrthancPluginGetInstanceAdvancedJson", |
188 "call_args": ", static_cast<OrthancPluginDicomToJsonFormat>(arg0), static_cast<OrthancPluginDicomToJsonFlags>(arg1), arg2", | 208 "call_args": ", static_cast<OrthancPluginDicomToJsonFormat>(arg0), static_cast<OrthancPluginDicomToJsonFlags>(arg1), arg2", |
189 "count_args": 3, | 209 "count_args": 3, |
190 "has_args": true, | 210 "has_args": true, |
191 "return_dynamic_string": true, | 211 "return_dynamic_string": true, |
212 "return_sdk_type": "char *", | |
192 "self": ", self->object_", | 213 "self": ", self->object_", |
193 "short_name": "GetInstanceAdvancedJson", | 214 "short_name": "GetInstanceAdvancedJson", |
194 "tuple_format": "\"llk\", &arg0, &arg1, &arg2" | 215 "tuple_format": "\"llk\", &arg0, &arg1, &arg2" |
195 } | 216 } |
196 ], | 217 ], |
211 { | 232 { |
212 "name": "arg0", | 233 "name": "arg0", |
213 "orthanc_cast": "arg0.buf, arg0.len", | 234 "orthanc_cast": "arg0.buf, arg0.len", |
214 "python_format": "s*", | 235 "python_format": "s*", |
215 "python_type": "Py_buffer", | 236 "python_type": "Py_buffer", |
216 "release": "PyBuffer_Release(&arg0);" | 237 "release": "PyBuffer_Release(&arg0);", |
238 "sdk_type": "void_pointer_with_size" | |
217 } | 239 } |
218 ], | 240 ], |
219 "c_function": "OrthancPluginFindAddAnswer", | 241 "c_function": "OrthancPluginFindAddAnswer", |
220 "call_args": ", arg0.buf, arg0.len", | 242 "call_args": ", arg0.buf, arg0.len", |
221 "count_args": 1, | 243 "count_args": 1, |
222 "has_args": true, | 244 "has_args": true, |
223 "return_error": true, | 245 "return_error": true, |
246 "return_sdk_type": "OrthancPluginErrorCode", | |
224 "self": ", self->object_", | 247 "self": ", self->object_", |
225 "short_name": "FindAddAnswer", | 248 "short_name": "FindAddAnswer", |
226 "tuple_format": "\"s*\", &arg0" | 249 "tuple_format": "\"s*\", &arg0" |
227 }, | 250 }, |
228 { | 251 { |
229 "args": [], | 252 "args": [], |
230 "c_function": "OrthancPluginFindMarkIncomplete", | 253 "c_function": "OrthancPluginFindMarkIncomplete", |
231 "return_error": true, | 254 "return_error": true, |
255 "return_sdk_type": "OrthancPluginErrorCode", | |
232 "self": ", self->object_", | 256 "self": ", self->object_", |
233 "short_name": "FindMarkIncomplete", | 257 "short_name": "FindMarkIncomplete", |
234 "tuple_format": "\"\", " | 258 "tuple_format": "\"\", " |
235 } | 259 } |
236 ], | 260 ], |
246 { | 270 { |
247 "name": "arg0", | 271 "name": "arg0", |
248 "orthanc_cast": "arg0.buf, arg0.len", | 272 "orthanc_cast": "arg0.buf, arg0.len", |
249 "python_format": "s*", | 273 "python_format": "s*", |
250 "python_type": "Py_buffer", | 274 "python_type": "Py_buffer", |
251 "release": "PyBuffer_Release(&arg0);" | 275 "release": "PyBuffer_Release(&arg0);", |
276 "sdk_type": "void_pointer_with_size" | |
252 } | 277 } |
253 ], | 278 ], |
254 "c_function": "OrthancPluginFindMatcherIsMatch", | 279 "c_function": "OrthancPluginFindMatcherIsMatch", |
255 "call_args": ", arg0.buf, arg0.len", | 280 "call_args": ", arg0.buf, arg0.len", |
256 "count_args": 1, | 281 "count_args": 1, |
257 "has_args": true, | 282 "has_args": true, |
258 "return_long": true, | 283 "return_long": true, |
284 "return_sdk_type": "int32_t", | |
259 "self": ", self->object_", | 285 "self": ", self->object_", |
260 "short_name": "FindMatcherIsMatch", | 286 "short_name": "FindMatcherIsMatch", |
261 "tuple_format": "\"s*\", &arg0" | 287 "tuple_format": "\"s*\", &arg0" |
262 } | 288 } |
263 ], | 289 ], |
282 "methods": [ | 308 "methods": [ |
283 { | 309 { |
284 "args": [], | 310 "args": [], |
285 "c_function": "OrthancPluginGetFindQuerySize", | 311 "c_function": "OrthancPluginGetFindQuerySize", |
286 "return_long": true, | 312 "return_long": true, |
313 "return_sdk_type": "uint32_t", | |
287 "self": ", self->object_", | 314 "self": ", self->object_", |
288 "short_name": "GetFindQuerySize", | 315 "short_name": "GetFindQuerySize", |
289 "tuple_format": "\"\", " | 316 "tuple_format": "\"\", " |
290 }, | 317 }, |
291 { | 318 { |
293 { | 320 { |
294 "initialization": " = 0", | 321 "initialization": " = 0", |
295 "name": "arg0", | 322 "name": "arg0", |
296 "orthanc_cast": "arg0", | 323 "orthanc_cast": "arg0", |
297 "python_format": "k", | 324 "python_format": "k", |
298 "python_type": "unsigned long" | 325 "python_type": "unsigned long", |
326 "sdk_type": "uint32_t" | |
299 } | 327 } |
300 ], | 328 ], |
301 "c_function": "OrthancPluginGetFindQueryTagName", | 329 "c_function": "OrthancPluginGetFindQueryTagName", |
302 "call_args": ", arg0", | 330 "call_args": ", arg0", |
303 "count_args": 1, | 331 "count_args": 1, |
304 "has_args": true, | 332 "has_args": true, |
305 "return_dynamic_string": true, | 333 "return_dynamic_string": true, |
334 "return_sdk_type": "char *", | |
306 "self": ", self->object_", | 335 "self": ", self->object_", |
307 "short_name": "GetFindQueryTagName", | 336 "short_name": "GetFindQueryTagName", |
308 "tuple_format": "\"k\", &arg0" | 337 "tuple_format": "\"k\", &arg0" |
309 }, | 338 }, |
310 { | 339 { |
312 { | 341 { |
313 "initialization": " = 0", | 342 "initialization": " = 0", |
314 "name": "arg0", | 343 "name": "arg0", |
315 "orthanc_cast": "arg0", | 344 "orthanc_cast": "arg0", |
316 "python_format": "k", | 345 "python_format": "k", |
317 "python_type": "unsigned long" | 346 "python_type": "unsigned long", |
347 "sdk_type": "uint32_t" | |
318 } | 348 } |
319 ], | 349 ], |
320 "c_function": "OrthancPluginGetFindQueryValue", | 350 "c_function": "OrthancPluginGetFindQueryValue", |
321 "call_args": ", arg0", | 351 "call_args": ", arg0", |
322 "count_args": 1, | 352 "count_args": 1, |
323 "has_args": true, | 353 "has_args": true, |
324 "return_dynamic_string": true, | 354 "return_dynamic_string": true, |
355 "return_sdk_type": "char *", | |
325 "self": ", self->object_", | 356 "self": ", self->object_", |
326 "short_name": "GetFindQueryValue", | 357 "short_name": "GetFindQueryValue", |
327 "tuple_format": "\"k\", &arg0" | 358 "tuple_format": "\"k\", &arg0" |
328 } | 359 } |
329 ], | 360 ], |
343 "methods": [ | 374 "methods": [ |
344 { | 375 { |
345 "args": [], | 376 "args": [], |
346 "c_function": "OrthancPluginGetImagePixelFormat", | 377 "c_function": "OrthancPluginGetImagePixelFormat", |
347 "return_enumeration": "OrthancPluginPixelFormat", | 378 "return_enumeration": "OrthancPluginPixelFormat", |
379 "return_sdk_type": "OrthancPluginPixelFormat", | |
348 "self": ", self->object_", | 380 "self": ", self->object_", |
349 "short_name": "GetImagePixelFormat", | 381 "short_name": "GetImagePixelFormat", |
350 "tuple_format": "\"\", " | 382 "tuple_format": "\"\", " |
351 }, | 383 }, |
352 { | 384 { |
353 "args": [], | 385 "args": [], |
354 "c_function": "OrthancPluginGetImageWidth", | 386 "c_function": "OrthancPluginGetImageWidth", |
355 "return_long": true, | 387 "return_long": true, |
388 "return_sdk_type": "uint32_t", | |
356 "self": ", self->object_", | 389 "self": ", self->object_", |
357 "short_name": "GetImageWidth", | 390 "short_name": "GetImageWidth", |
358 "tuple_format": "\"\", " | 391 "tuple_format": "\"\", " |
359 }, | 392 }, |
360 { | 393 { |
361 "args": [], | 394 "args": [], |
362 "c_function": "OrthancPluginGetImageHeight", | 395 "c_function": "OrthancPluginGetImageHeight", |
363 "return_long": true, | 396 "return_long": true, |
397 "return_sdk_type": "uint32_t", | |
364 "self": ", self->object_", | 398 "self": ", self->object_", |
365 "short_name": "GetImageHeight", | 399 "short_name": "GetImageHeight", |
366 "tuple_format": "\"\", " | 400 "tuple_format": "\"\", " |
367 }, | 401 }, |
368 { | 402 { |
369 "args": [], | 403 "args": [], |
370 "c_function": "OrthancPluginGetImagePitch", | 404 "c_function": "OrthancPluginGetImagePitch", |
371 "return_long": true, | 405 "return_long": true, |
406 "return_sdk_type": "uint32_t", | |
372 "self": ", self->object_", | 407 "self": ", self->object_", |
373 "short_name": "GetImagePitch", | 408 "short_name": "GetImagePitch", |
374 "tuple_format": "\"\", " | 409 "tuple_format": "\"\", " |
375 }, | 410 }, |
376 { | 411 { |
378 { | 413 { |
379 "initialization": " = 0", | 414 "initialization": " = 0", |
380 "name": "arg0", | 415 "name": "arg0", |
381 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", | 416 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", |
382 "python_format": "l", | 417 "python_format": "l", |
383 "python_type": "long int" | 418 "python_type": "long int", |
419 "sdk_type": "OrthancPluginPixelFormat" | |
384 } | 420 } |
385 ], | 421 ], |
386 "c_function": "OrthancPluginConvertPixelFormat", | 422 "c_function": "OrthancPluginConvertPixelFormat", |
387 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0)", | 423 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0)", |
388 "count_args": 1, | 424 "count_args": 1, |
389 "has_args": true, | 425 "has_args": true, |
390 "return_object": "OrthancPluginImage", | 426 "return_object": "OrthancPluginImage", |
427 "return_sdk_type": "OrthancPluginImage *", | |
391 "self": ", self->object_", | 428 "self": ", self->object_", |
392 "short_name": "ConvertPixelFormat", | 429 "short_name": "ConvertPixelFormat", |
393 "tuple_format": "\"l\", &arg0" | 430 "tuple_format": "\"l\", &arg0" |
394 }, | 431 }, |
395 { | 432 { |
397 { | 434 { |
398 "initialization": " = 0", | 435 "initialization": " = 0", |
399 "name": "arg0", | 436 "name": "arg0", |
400 "orthanc_cast": "arg0", | 437 "orthanc_cast": "arg0", |
401 "python_format": "k", | 438 "python_format": "k", |
402 "python_type": "unsigned long" | 439 "python_type": "unsigned long", |
440 "sdk_type": "uint32_t" | |
403 }, | 441 }, |
404 { | 442 { |
405 "initialization": " = NULL", | 443 "initialization": " = NULL", |
406 "name": "arg1", | 444 "name": "arg1", |
407 "orthanc_cast": "arg1", | 445 "orthanc_cast": "arg1", |
408 "python_format": "s", | 446 "python_format": "s", |
409 "python_type": "const char*" | 447 "python_type": "const char*", |
448 "sdk_type": "const char *" | |
410 }, | 449 }, |
411 { | 450 { |
412 "initialization": " = 0", | 451 "initialization": " = 0", |
413 "name": "arg2", | 452 "name": "arg2", |
414 "orthanc_cast": "arg2", | 453 "orthanc_cast": "arg2", |
415 "python_format": "l", | 454 "python_format": "l", |
416 "python_type": "long int" | 455 "python_type": "long int", |
456 "sdk_type": "int32_t" | |
417 }, | 457 }, |
418 { | 458 { |
419 "initialization": " = 0", | 459 "initialization": " = 0", |
420 "name": "arg3", | 460 "name": "arg3", |
421 "orthanc_cast": "arg3", | 461 "orthanc_cast": "arg3", |
422 "python_format": "l", | 462 "python_format": "l", |
423 "python_type": "long int" | 463 "python_type": "long int", |
464 "sdk_type": "int32_t" | |
424 }, | 465 }, |
425 { | 466 { |
426 "initialization": " = 0", | 467 "initialization": " = 0", |
427 "name": "arg4", | 468 "name": "arg4", |
428 "orthanc_cast": "arg4", | 469 "orthanc_cast": "arg4", |
429 "python_format": "b", | 470 "python_format": "b", |
430 "python_type": "unsigned char" | 471 "python_type": "unsigned char", |
472 "sdk_type": "uint8_t" | |
431 }, | 473 }, |
432 { | 474 { |
433 "initialization": " = 0", | 475 "initialization": " = 0", |
434 "name": "arg5", | 476 "name": "arg5", |
435 "orthanc_cast": "arg5", | 477 "orthanc_cast": "arg5", |
436 "python_format": "b", | 478 "python_format": "b", |
437 "python_type": "unsigned char" | 479 "python_type": "unsigned char", |
480 "sdk_type": "uint8_t" | |
438 }, | 481 }, |
439 { | 482 { |
440 "initialization": " = 0", | 483 "initialization": " = 0", |
441 "name": "arg6", | 484 "name": "arg6", |
442 "orthanc_cast": "arg6", | 485 "orthanc_cast": "arg6", |
443 "python_format": "b", | 486 "python_format": "b", |
444 "python_type": "unsigned char" | 487 "python_type": "unsigned char", |
488 "sdk_type": "uint8_t" | |
445 } | 489 } |
446 ], | 490 ], |
447 "c_function": "OrthancPluginDrawText", | 491 "c_function": "OrthancPluginDrawText", |
448 "call_args": ", arg0, arg1, arg2, arg3, arg4, arg5, arg6", | 492 "call_args": ", arg0, arg1, arg2, arg3, arg4, arg5, arg6", |
449 "count_args": 7, | 493 "count_args": 7, |
450 "has_args": true, | 494 "has_args": true, |
451 "return_error": true, | 495 "return_error": true, |
496 "return_sdk_type": "OrthancPluginErrorCode", | |
452 "self": ", self->object_", | 497 "self": ", self->object_", |
453 "short_name": "DrawText", | 498 "short_name": "DrawText", |
454 "tuple_format": "\"ksllbbb\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5, &arg6" | 499 "tuple_format": "\"ksllbbb\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5, &arg6" |
455 } | 500 } |
456 ], | 501 ], |
466 { | 511 { |
467 "initialization": " = 0", | 512 "initialization": " = 0", |
468 "name": "arg0", | 513 "name": "arg0", |
469 "orthanc_cast": "arg0", | 514 "orthanc_cast": "arg0", |
470 "python_format": "i", | 515 "python_format": "i", |
471 "python_type": "int" | 516 "python_type": "int", |
517 "sdk_type": "int" | |
472 } | 518 } |
473 ], | 519 ], |
474 "c_function": "OrthancPluginSubmitJob", | 520 "c_function": "OrthancPluginSubmitJob", |
475 "call_args": ", arg0", | 521 "call_args": ", arg0", |
476 "count_args": 1, | 522 "count_args": 1, |
477 "has_args": true, | 523 "has_args": true, |
478 "return_dynamic_string": true, | 524 "return_dynamic_string": true, |
525 "return_sdk_type": "char *", | |
479 "self": ", self->object_", | 526 "self": ", self->object_", |
480 "short_name": "SubmitJob", | 527 "short_name": "SubmitJob", |
481 "tuple_format": "\"i\", &arg0" | 528 "tuple_format": "\"i\", &arg0" |
482 } | 529 } |
483 ], | 530 ], |
490 "methods": [ | 537 "methods": [ |
491 { | 538 { |
492 "args": [], | 539 "args": [], |
493 "c_function": "OrthancPluginGetPeersCount", | 540 "c_function": "OrthancPluginGetPeersCount", |
494 "return_long": true, | 541 "return_long": true, |
542 "return_sdk_type": "uint32_t", | |
495 "self": ", self->object_", | 543 "self": ", self->object_", |
496 "short_name": "GetPeersCount", | 544 "short_name": "GetPeersCount", |
497 "tuple_format": "\"\", " | 545 "tuple_format": "\"\", " |
498 }, | 546 }, |
499 { | 547 { |
501 { | 549 { |
502 "initialization": " = 0", | 550 "initialization": " = 0", |
503 "name": "arg0", | 551 "name": "arg0", |
504 "orthanc_cast": "arg0", | 552 "orthanc_cast": "arg0", |
505 "python_format": "k", | 553 "python_format": "k", |
506 "python_type": "unsigned long" | 554 "python_type": "unsigned long", |
555 "sdk_type": "uint32_t" | |
507 } | 556 } |
508 ], | 557 ], |
509 "c_function": "OrthancPluginGetPeerName", | 558 "c_function": "OrthancPluginGetPeerName", |
510 "call_args": ", arg0", | 559 "call_args": ", arg0", |
511 "count_args": 1, | 560 "count_args": 1, |
512 "has_args": true, | 561 "has_args": true, |
562 "return_sdk_type": "const char *", | |
513 "return_static_string": true, | 563 "return_static_string": true, |
514 "self": ", self->object_", | 564 "self": ", self->object_", |
515 "short_name": "GetPeerName", | 565 "short_name": "GetPeerName", |
516 "tuple_format": "\"k\", &arg0" | 566 "tuple_format": "\"k\", &arg0" |
517 }, | 567 }, |
520 { | 570 { |
521 "initialization": " = 0", | 571 "initialization": " = 0", |
522 "name": "arg0", | 572 "name": "arg0", |
523 "orthanc_cast": "arg0", | 573 "orthanc_cast": "arg0", |
524 "python_format": "k", | 574 "python_format": "k", |
525 "python_type": "unsigned long" | 575 "python_type": "unsigned long", |
576 "sdk_type": "uint32_t" | |
526 } | 577 } |
527 ], | 578 ], |
528 "c_function": "OrthancPluginGetPeerUrl", | 579 "c_function": "OrthancPluginGetPeerUrl", |
529 "call_args": ", arg0", | 580 "call_args": ", arg0", |
530 "count_args": 1, | 581 "count_args": 1, |
531 "has_args": true, | 582 "has_args": true, |
583 "return_sdk_type": "const char *", | |
532 "return_static_string": true, | 584 "return_static_string": true, |
533 "self": ", self->object_", | 585 "self": ", self->object_", |
534 "short_name": "GetPeerUrl", | 586 "short_name": "GetPeerUrl", |
535 "tuple_format": "\"k\", &arg0" | 587 "tuple_format": "\"k\", &arg0" |
536 }, | 588 }, |
539 { | 591 { |
540 "initialization": " = 0", | 592 "initialization": " = 0", |
541 "name": "arg0", | 593 "name": "arg0", |
542 "orthanc_cast": "arg0", | 594 "orthanc_cast": "arg0", |
543 "python_format": "k", | 595 "python_format": "k", |
544 "python_type": "unsigned long" | 596 "python_type": "unsigned long", |
597 "sdk_type": "uint32_t" | |
545 }, | 598 }, |
546 { | 599 { |
547 "initialization": " = NULL", | 600 "initialization": " = NULL", |
548 "name": "arg1", | 601 "name": "arg1", |
549 "orthanc_cast": "arg1", | 602 "orthanc_cast": "arg1", |
550 "python_format": "s", | 603 "python_format": "s", |
551 "python_type": "const char*" | 604 "python_type": "const char*", |
605 "sdk_type": "const char *" | |
552 } | 606 } |
553 ], | 607 ], |
554 "c_function": "OrthancPluginGetPeerUserProperty", | 608 "c_function": "OrthancPluginGetPeerUserProperty", |
555 "call_args": ", arg0, arg1", | 609 "call_args": ", arg0, arg1", |
556 "count_args": 2, | 610 "count_args": 2, |
557 "has_args": true, | 611 "has_args": true, |
612 "return_sdk_type": "const char *", | |
558 "return_static_string": true, | 613 "return_static_string": true, |
559 "self": ", self->object_", | 614 "self": ", self->object_", |
560 "short_name": "GetPeerUserProperty", | 615 "short_name": "GetPeerUserProperty", |
561 "tuple_format": "\"ks\", &arg0, &arg1" | 616 "tuple_format": "\"ks\", &arg0, &arg1" |
562 } | 617 } |
572 { | 627 { |
573 "name": "arg0", | 628 "name": "arg0", |
574 "orthanc_cast": "arg0.buf, arg0.len", | 629 "orthanc_cast": "arg0.buf, arg0.len", |
575 "python_format": "s*", | 630 "python_format": "s*", |
576 "python_type": "Py_buffer", | 631 "python_type": "Py_buffer", |
577 "release": "PyBuffer_Release(&arg0);" | 632 "release": "PyBuffer_Release(&arg0);", |
633 "sdk_type": "void_pointer_with_size" | |
578 }, | 634 }, |
579 { | 635 { |
580 "initialization": " = NULL", | 636 "initialization": " = NULL", |
581 "name": "arg2", | 637 "name": "arg2", |
582 "orthanc_cast": "arg2", | 638 "orthanc_cast": "arg2", |
583 "python_format": "s", | 639 "python_format": "s", |
584 "python_type": "const char*" | 640 "python_type": "const char*", |
641 "sdk_type": "const char *" | |
585 } | 642 } |
586 ], | 643 ], |
587 "c_function": "OrthancPluginAnswerBuffer", | 644 "c_function": "OrthancPluginAnswerBuffer", |
588 "call_args": ", arg0.buf, arg0.len, arg2", | 645 "call_args": ", arg0.buf, arg0.len, arg2", |
589 "count_args": 2, | 646 "count_args": 2, |
590 "has_args": true, | 647 "has_args": true, |
648 "return_sdk_type": "void", | |
591 "return_void": true, | 649 "return_void": true, |
592 "self": ", self->object_", | 650 "self": ", self->object_", |
593 "short_name": "AnswerBuffer", | 651 "short_name": "AnswerBuffer", |
594 "tuple_format": "\"s*s\", &arg0, &arg2" | 652 "tuple_format": "\"s*s\", &arg0, &arg2" |
595 }, | 653 }, |
598 { | 656 { |
599 "initialization": " = 0", | 657 "initialization": " = 0", |
600 "name": "arg0", | 658 "name": "arg0", |
601 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", | 659 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", |
602 "python_format": "l", | 660 "python_format": "l", |
603 "python_type": "long int" | 661 "python_type": "long int", |
662 "sdk_type": "OrthancPluginPixelFormat" | |
604 }, | 663 }, |
605 { | 664 { |
606 "initialization": " = 0", | 665 "initialization": " = 0", |
607 "name": "arg1", | 666 "name": "arg1", |
608 "orthanc_cast": "arg1", | 667 "orthanc_cast": "arg1", |
609 "python_format": "k", | 668 "python_format": "k", |
610 "python_type": "unsigned long" | 669 "python_type": "unsigned long", |
670 "sdk_type": "uint32_t" | |
611 }, | 671 }, |
612 { | 672 { |
613 "initialization": " = 0", | 673 "initialization": " = 0", |
614 "name": "arg2", | 674 "name": "arg2", |
615 "orthanc_cast": "arg2", | 675 "orthanc_cast": "arg2", |
616 "python_format": "k", | 676 "python_format": "k", |
617 "python_type": "unsigned long" | 677 "python_type": "unsigned long", |
678 "sdk_type": "uint32_t" | |
618 }, | 679 }, |
619 { | 680 { |
620 "initialization": " = 0", | 681 "initialization": " = 0", |
621 "name": "arg3", | 682 "name": "arg3", |
622 "orthanc_cast": "arg3", | 683 "orthanc_cast": "arg3", |
623 "python_format": "k", | 684 "python_format": "k", |
624 "python_type": "unsigned long" | 685 "python_type": "unsigned long", |
686 "sdk_type": "uint32_t" | |
625 }, | 687 }, |
626 { | 688 { |
627 "name": "arg4", | 689 "name": "arg4", |
628 "orthanc_cast": "arg4.buf", | 690 "orthanc_cast": "arg4.buf", |
629 "python_format": "s*", | 691 "python_format": "s*", |
630 "python_type": "Py_buffer", | 692 "python_type": "Py_buffer", |
631 "release": "PyBuffer_Release(&arg4);" | 693 "release": "PyBuffer_Release(&arg4);", |
694 "sdk_type": "const void *" | |
632 } | 695 } |
633 ], | 696 ], |
634 "c_function": "OrthancPluginCompressAndAnswerPngImage", | 697 "c_function": "OrthancPluginCompressAndAnswerPngImage", |
635 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf", | 698 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf", |
636 "count_args": 5, | 699 "count_args": 5, |
637 "has_args": true, | 700 "has_args": true, |
701 "return_sdk_type": "void", | |
638 "return_void": true, | 702 "return_void": true, |
639 "self": ", self->object_", | 703 "self": ", self->object_", |
640 "short_name": "CompressAndAnswerPngImage", | 704 "short_name": "CompressAndAnswerPngImage", |
641 "tuple_format": "\"lkkks*\", &arg0, &arg1, &arg2, &arg3, &arg4" | 705 "tuple_format": "\"lkkks*\", &arg0, &arg1, &arg2, &arg3, &arg4" |
642 }, | 706 }, |
645 { | 709 { |
646 "initialization": " = NULL", | 710 "initialization": " = NULL", |
647 "name": "arg0", | 711 "name": "arg0", |
648 "orthanc_cast": "arg0", | 712 "orthanc_cast": "arg0", |
649 "python_format": "s", | 713 "python_format": "s", |
650 "python_type": "const char*" | 714 "python_type": "const char*", |
715 "sdk_type": "const char *" | |
651 } | 716 } |
652 ], | 717 ], |
653 "c_function": "OrthancPluginRedirect", | 718 "c_function": "OrthancPluginRedirect", |
654 "call_args": ", arg0", | 719 "call_args": ", arg0", |
655 "count_args": 1, | 720 "count_args": 1, |
656 "has_args": true, | 721 "has_args": true, |
722 "return_sdk_type": "void", | |
657 "return_void": true, | 723 "return_void": true, |
658 "self": ", self->object_", | 724 "self": ", self->object_", |
659 "short_name": "Redirect", | 725 "short_name": "Redirect", |
660 "tuple_format": "\"s\", &arg0" | 726 "tuple_format": "\"s\", &arg0" |
661 }, | 727 }, |
664 { | 730 { |
665 "initialization": " = 0", | 731 "initialization": " = 0", |
666 "name": "arg0", | 732 "name": "arg0", |
667 "orthanc_cast": "arg0", | 733 "orthanc_cast": "arg0", |
668 "python_format": "H", | 734 "python_format": "H", |
669 "python_type": "unsigned short" | 735 "python_type": "unsigned short", |
736 "sdk_type": "uint16_t" | |
670 } | 737 } |
671 ], | 738 ], |
672 "c_function": "OrthancPluginSendHttpStatusCode", | 739 "c_function": "OrthancPluginSendHttpStatusCode", |
673 "call_args": ", arg0", | 740 "call_args": ", arg0", |
674 "count_args": 1, | 741 "count_args": 1, |
675 "has_args": true, | 742 "has_args": true, |
743 "return_sdk_type": "void", | |
676 "return_void": true, | 744 "return_void": true, |
677 "self": ", self->object_", | 745 "self": ", self->object_", |
678 "short_name": "SendHttpStatusCode", | 746 "short_name": "SendHttpStatusCode", |
679 "tuple_format": "\"H\", &arg0" | 747 "tuple_format": "\"H\", &arg0" |
680 }, | 748 }, |
683 { | 751 { |
684 "initialization": " = NULL", | 752 "initialization": " = NULL", |
685 "name": "arg0", | 753 "name": "arg0", |
686 "orthanc_cast": "arg0", | 754 "orthanc_cast": "arg0", |
687 "python_format": "s", | 755 "python_format": "s", |
688 "python_type": "const char*" | 756 "python_type": "const char*", |
757 "sdk_type": "const char *" | |
689 } | 758 } |
690 ], | 759 ], |
691 "c_function": "OrthancPluginSendUnauthorized", | 760 "c_function": "OrthancPluginSendUnauthorized", |
692 "call_args": ", arg0", | 761 "call_args": ", arg0", |
693 "count_args": 1, | 762 "count_args": 1, |
694 "has_args": true, | 763 "has_args": true, |
764 "return_sdk_type": "void", | |
695 "return_void": true, | 765 "return_void": true, |
696 "self": ", self->object_", | 766 "self": ", self->object_", |
697 "short_name": "SendUnauthorized", | 767 "short_name": "SendUnauthorized", |
698 "tuple_format": "\"s\", &arg0" | 768 "tuple_format": "\"s\", &arg0" |
699 }, | 769 }, |
702 { | 772 { |
703 "initialization": " = NULL", | 773 "initialization": " = NULL", |
704 "name": "arg0", | 774 "name": "arg0", |
705 "orthanc_cast": "arg0", | 775 "orthanc_cast": "arg0", |
706 "python_format": "s", | 776 "python_format": "s", |
707 "python_type": "const char*" | 777 "python_type": "const char*", |
778 "sdk_type": "const char *" | |
708 } | 779 } |
709 ], | 780 ], |
710 "c_function": "OrthancPluginSendMethodNotAllowed", | 781 "c_function": "OrthancPluginSendMethodNotAllowed", |
711 "call_args": ", arg0", | 782 "call_args": ", arg0", |
712 "count_args": 1, | 783 "count_args": 1, |
713 "has_args": true, | 784 "has_args": true, |
785 "return_sdk_type": "void", | |
714 "return_void": true, | 786 "return_void": true, |
715 "self": ", self->object_", | 787 "self": ", self->object_", |
716 "short_name": "SendMethodNotAllowed", | 788 "short_name": "SendMethodNotAllowed", |
717 "tuple_format": "\"s\", &arg0" | 789 "tuple_format": "\"s\", &arg0" |
718 }, | 790 }, |
721 { | 793 { |
722 "initialization": " = NULL", | 794 "initialization": " = NULL", |
723 "name": "arg0", | 795 "name": "arg0", |
724 "orthanc_cast": "arg0", | 796 "orthanc_cast": "arg0", |
725 "python_format": "s", | 797 "python_format": "s", |
726 "python_type": "const char*" | 798 "python_type": "const char*", |
799 "sdk_type": "const char *" | |
727 }, | 800 }, |
728 { | 801 { |
729 "initialization": " = NULL", | 802 "initialization": " = NULL", |
730 "name": "arg1", | 803 "name": "arg1", |
731 "orthanc_cast": "arg1", | 804 "orthanc_cast": "arg1", |
732 "python_format": "s", | 805 "python_format": "s", |
733 "python_type": "const char*" | 806 "python_type": "const char*", |
807 "sdk_type": "const char *" | |
734 } | 808 } |
735 ], | 809 ], |
736 "c_function": "OrthancPluginSetCookie", | 810 "c_function": "OrthancPluginSetCookie", |
737 "call_args": ", arg0, arg1", | 811 "call_args": ", arg0, arg1", |
738 "count_args": 2, | 812 "count_args": 2, |
739 "has_args": true, | 813 "has_args": true, |
814 "return_sdk_type": "void", | |
740 "return_void": true, | 815 "return_void": true, |
741 "self": ", self->object_", | 816 "self": ", self->object_", |
742 "short_name": "SetCookie", | 817 "short_name": "SetCookie", |
743 "tuple_format": "\"ss\", &arg0, &arg1" | 818 "tuple_format": "\"ss\", &arg0, &arg1" |
744 }, | 819 }, |
747 { | 822 { |
748 "initialization": " = NULL", | 823 "initialization": " = NULL", |
749 "name": "arg0", | 824 "name": "arg0", |
750 "orthanc_cast": "arg0", | 825 "orthanc_cast": "arg0", |
751 "python_format": "s", | 826 "python_format": "s", |
752 "python_type": "const char*" | 827 "python_type": "const char*", |
828 "sdk_type": "const char *" | |
753 }, | 829 }, |
754 { | 830 { |
755 "initialization": " = NULL", | 831 "initialization": " = NULL", |
756 "name": "arg1", | 832 "name": "arg1", |
757 "orthanc_cast": "arg1", | 833 "orthanc_cast": "arg1", |
758 "python_format": "s", | 834 "python_format": "s", |
759 "python_type": "const char*" | 835 "python_type": "const char*", |
836 "sdk_type": "const char *" | |
760 } | 837 } |
761 ], | 838 ], |
762 "c_function": "OrthancPluginSetHttpHeader", | 839 "c_function": "OrthancPluginSetHttpHeader", |
763 "call_args": ", arg0, arg1", | 840 "call_args": ", arg0, arg1", |
764 "count_args": 2, | 841 "count_args": 2, |
765 "has_args": true, | 842 "has_args": true, |
843 "return_sdk_type": "void", | |
766 "return_void": true, | 844 "return_void": true, |
767 "self": ", self->object_", | 845 "self": ", self->object_", |
768 "short_name": "SetHttpHeader", | 846 "short_name": "SetHttpHeader", |
769 "tuple_format": "\"ss\", &arg0, &arg1" | 847 "tuple_format": "\"ss\", &arg0, &arg1" |
770 }, | 848 }, |
773 { | 851 { |
774 "initialization": " = NULL", | 852 "initialization": " = NULL", |
775 "name": "arg0", | 853 "name": "arg0", |
776 "orthanc_cast": "arg0", | 854 "orthanc_cast": "arg0", |
777 "python_format": "s", | 855 "python_format": "s", |
778 "python_type": "const char*" | 856 "python_type": "const char*", |
857 "sdk_type": "const char *" | |
779 }, | 858 }, |
780 { | 859 { |
781 "initialization": " = NULL", | 860 "initialization": " = NULL", |
782 "name": "arg1", | 861 "name": "arg1", |
783 "orthanc_cast": "arg1", | 862 "orthanc_cast": "arg1", |
784 "python_format": "s", | 863 "python_format": "s", |
785 "python_type": "const char*" | 864 "python_type": "const char*", |
865 "sdk_type": "const char *" | |
786 } | 866 } |
787 ], | 867 ], |
788 "c_function": "OrthancPluginStartMultipartAnswer", | 868 "c_function": "OrthancPluginStartMultipartAnswer", |
789 "call_args": ", arg0, arg1", | 869 "call_args": ", arg0, arg1", |
790 "count_args": 2, | 870 "count_args": 2, |
791 "has_args": true, | 871 "has_args": true, |
792 "return_error": true, | 872 "return_error": true, |
873 "return_sdk_type": "OrthancPluginErrorCode", | |
793 "self": ", self->object_", | 874 "self": ", self->object_", |
794 "short_name": "StartMultipartAnswer", | 875 "short_name": "StartMultipartAnswer", |
795 "tuple_format": "\"ss\", &arg0, &arg1" | 876 "tuple_format": "\"ss\", &arg0, &arg1" |
796 }, | 877 }, |
797 { | 878 { |
799 { | 880 { |
800 "name": "arg0", | 881 "name": "arg0", |
801 "orthanc_cast": "arg0.buf, arg0.len", | 882 "orthanc_cast": "arg0.buf, arg0.len", |
802 "python_format": "s*", | 883 "python_format": "s*", |
803 "python_type": "Py_buffer", | 884 "python_type": "Py_buffer", |
804 "release": "PyBuffer_Release(&arg0);" | 885 "release": "PyBuffer_Release(&arg0);", |
886 "sdk_type": "void_pointer_with_size" | |
805 } | 887 } |
806 ], | 888 ], |
807 "c_function": "OrthancPluginSendMultipartItem", | 889 "c_function": "OrthancPluginSendMultipartItem", |
808 "call_args": ", arg0.buf, arg0.len", | 890 "call_args": ", arg0.buf, arg0.len", |
809 "count_args": 1, | 891 "count_args": 1, |
810 "has_args": true, | 892 "has_args": true, |
811 "return_error": true, | 893 "return_error": true, |
894 "return_sdk_type": "OrthancPluginErrorCode", | |
812 "self": ", self->object_", | 895 "self": ", self->object_", |
813 "short_name": "SendMultipartItem", | 896 "short_name": "SendMultipartItem", |
814 "tuple_format": "\"s*\", &arg0" | 897 "tuple_format": "\"s*\", &arg0" |
815 }, | 898 }, |
816 { | 899 { |
818 { | 901 { |
819 "initialization": " = 0", | 902 "initialization": " = 0", |
820 "name": "arg0", | 903 "name": "arg0", |
821 "orthanc_cast": "arg0", | 904 "orthanc_cast": "arg0", |
822 "python_format": "H", | 905 "python_format": "H", |
823 "python_type": "unsigned short" | 906 "python_type": "unsigned short", |
907 "sdk_type": "uint16_t" | |
824 }, | 908 }, |
825 { | 909 { |
826 "name": "arg1", | 910 "name": "arg1", |
827 "orthanc_cast": "arg1.buf, arg1.len", | 911 "orthanc_cast": "arg1.buf, arg1.len", |
828 "python_format": "s*", | 912 "python_format": "s*", |
829 "python_type": "Py_buffer", | 913 "python_type": "Py_buffer", |
830 "release": "PyBuffer_Release(&arg1);" | 914 "release": "PyBuffer_Release(&arg1);", |
915 "sdk_type": "void_pointer_with_size" | |
831 } | 916 } |
832 ], | 917 ], |
833 "c_function": "OrthancPluginSendHttpStatus", | 918 "c_function": "OrthancPluginSendHttpStatus", |
834 "call_args": ", arg0, arg1.buf, arg1.len", | 919 "call_args": ", arg0, arg1.buf, arg1.len", |
835 "count_args": 2, | 920 "count_args": 2, |
836 "has_args": true, | 921 "has_args": true, |
922 "return_sdk_type": "void", | |
837 "return_void": true, | 923 "return_void": true, |
838 "self": ", self->object_", | 924 "self": ", self->object_", |
839 "short_name": "SendHttpStatus", | 925 "short_name": "SendHttpStatus", |
840 "tuple_format": "\"Hs*\", &arg0, &arg1" | 926 "tuple_format": "\"Hs*\", &arg0, &arg1" |
841 }, | 927 }, |
844 { | 930 { |
845 "initialization": " = 0", | 931 "initialization": " = 0", |
846 "name": "arg0", | 932 "name": "arg0", |
847 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", | 933 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", |
848 "python_format": "l", | 934 "python_format": "l", |
849 "python_type": "long int" | 935 "python_type": "long int", |
936 "sdk_type": "OrthancPluginPixelFormat" | |
850 }, | 937 }, |
851 { | 938 { |
852 "initialization": " = 0", | 939 "initialization": " = 0", |
853 "name": "arg1", | 940 "name": "arg1", |
854 "orthanc_cast": "arg1", | 941 "orthanc_cast": "arg1", |
855 "python_format": "k", | 942 "python_format": "k", |
856 "python_type": "unsigned long" | 943 "python_type": "unsigned long", |
944 "sdk_type": "uint32_t" | |
857 }, | 945 }, |
858 { | 946 { |
859 "initialization": " = 0", | 947 "initialization": " = 0", |
860 "name": "arg2", | 948 "name": "arg2", |
861 "orthanc_cast": "arg2", | 949 "orthanc_cast": "arg2", |
862 "python_format": "k", | 950 "python_format": "k", |
863 "python_type": "unsigned long" | 951 "python_type": "unsigned long", |
952 "sdk_type": "uint32_t" | |
864 }, | 953 }, |
865 { | 954 { |
866 "initialization": " = 0", | 955 "initialization": " = 0", |
867 "name": "arg3", | 956 "name": "arg3", |
868 "orthanc_cast": "arg3", | 957 "orthanc_cast": "arg3", |
869 "python_format": "k", | 958 "python_format": "k", |
870 "python_type": "unsigned long" | 959 "python_type": "unsigned long", |
960 "sdk_type": "uint32_t" | |
871 }, | 961 }, |
872 { | 962 { |
873 "name": "arg4", | 963 "name": "arg4", |
874 "orthanc_cast": "arg4.buf", | 964 "orthanc_cast": "arg4.buf", |
875 "python_format": "s*", | 965 "python_format": "s*", |
876 "python_type": "Py_buffer", | 966 "python_type": "Py_buffer", |
877 "release": "PyBuffer_Release(&arg4);" | 967 "release": "PyBuffer_Release(&arg4);", |
968 "sdk_type": "const void *" | |
878 }, | 969 }, |
879 { | 970 { |
880 "initialization": " = 0", | 971 "initialization": " = 0", |
881 "name": "arg5", | 972 "name": "arg5", |
882 "orthanc_cast": "arg5", | 973 "orthanc_cast": "arg5", |
883 "python_format": "b", | 974 "python_format": "b", |
884 "python_type": "unsigned char" | 975 "python_type": "unsigned char", |
976 "sdk_type": "uint8_t" | |
885 } | 977 } |
886 ], | 978 ], |
887 "c_function": "OrthancPluginCompressAndAnswerJpegImage", | 979 "c_function": "OrthancPluginCompressAndAnswerJpegImage", |
888 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf, arg5", | 980 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf, arg5", |
889 "count_args": 6, | 981 "count_args": 6, |
890 "has_args": true, | 982 "has_args": true, |
983 "return_sdk_type": "void", | |
891 "return_void": true, | 984 "return_void": true, |
892 "self": ", self->object_", | 985 "self": ", self->object_", |
893 "short_name": "CompressAndAnswerJpegImage", | 986 "short_name": "CompressAndAnswerJpegImage", |
894 "tuple_format": "\"lkkks*b\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5" | 987 "tuple_format": "\"lkkks*b\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5" |
895 }, | 988 }, |
898 { | 991 { |
899 "initialization": " = NULL", | 992 "initialization": " = NULL", |
900 "name": "arg0", | 993 "name": "arg0", |
901 "orthanc_cast": "arg0", | 994 "orthanc_cast": "arg0", |
902 "python_format": "s", | 995 "python_format": "s", |
903 "python_type": "const char*" | 996 "python_type": "const char*", |
997 "sdk_type": "const char *" | |
904 }, | 998 }, |
905 { | 999 { |
906 "initialization": " = 0", | 1000 "initialization": " = 0", |
907 "name": "arg1", | 1001 "name": "arg1", |
908 "orthanc_cast": "arg1", | 1002 "orthanc_cast": "arg1", |
909 "python_format": "b", | 1003 "python_format": "b", |
910 "python_type": "unsigned char" | 1004 "python_type": "unsigned char", |
1005 "sdk_type": "uint8_t" | |
911 } | 1006 } |
912 ], | 1007 ], |
913 "c_function": "OrthancPluginSetHttpErrorDetails", | 1008 "c_function": "OrthancPluginSetHttpErrorDetails", |
914 "call_args": ", arg0, arg1", | 1009 "call_args": ", arg0, arg1", |
915 "count_args": 2, | 1010 "count_args": 2, |
916 "has_args": true, | 1011 "has_args": true, |
1012 "return_sdk_type": "void", | |
917 "return_void": true, | 1013 "return_void": true, |
918 "self": ", self->object_", | 1014 "self": ", self->object_", |
919 "short_name": "SetHttpErrorDetails", | 1015 "short_name": "SetHttpErrorDetails", |
920 "tuple_format": "\"sb\", &arg0, &arg1" | 1016 "tuple_format": "\"sb\", &arg0, &arg1" |
921 } | 1017 } |
937 { | 1033 { |
938 "initialization": " = NULL", | 1034 "initialization": " = NULL", |
939 "name": "arg0", | 1035 "name": "arg0", |
940 "orthanc_cast": "arg0", | 1036 "orthanc_cast": "arg0", |
941 "python_format": "s", | 1037 "python_format": "s", |
942 "python_type": "const char*" | 1038 "python_type": "const char*", |
1039 "sdk_type": "const char *" | |
943 }, | 1040 }, |
944 { | 1041 { |
945 "name": "arg1", | 1042 "name": "arg1", |
946 "orthanc_cast": "arg1.buf", | 1043 "orthanc_cast": "arg1.buf", |
947 "python_format": "s*", | 1044 "python_format": "s*", |
948 "python_type": "Py_buffer", | 1045 "python_type": "Py_buffer", |
949 "release": "PyBuffer_Release(&arg1);" | 1046 "release": "PyBuffer_Release(&arg1);", |
1047 "sdk_type": "const void *" | |
950 }, | 1048 }, |
951 { | 1049 { |
952 "initialization": " = 0", | 1050 "initialization": " = 0", |
953 "name": "arg2", | 1051 "name": "arg2", |
954 "orthanc_cast": "arg2", | 1052 "orthanc_cast": "arg2", |
955 "python_format": "K", | 1053 "python_format": "K", |
956 "python_type": "unsigned long long" | 1054 "python_type": "unsigned long long", |
1055 "sdk_type": "uint64_t" | |
957 }, | 1056 }, |
958 { | 1057 { |
959 "initialization": " = 0", | 1058 "initialization": " = 0", |
960 "name": "arg3", | 1059 "name": "arg3", |
961 "orthanc_cast": "static_cast<OrthancPluginContentType>(arg3)", | 1060 "orthanc_cast": "static_cast<OrthancPluginContentType>(arg3)", |
962 "python_format": "l", | 1061 "python_format": "l", |
963 "python_type": "long int" | 1062 "python_type": "long int", |
1063 "sdk_type": "OrthancPluginContentType" | |
964 } | 1064 } |
965 ], | 1065 ], |
966 "c_function": "OrthancPluginStorageAreaCreate", | 1066 "c_function": "OrthancPluginStorageAreaCreate", |
967 "call_args": ", arg0, arg1.buf, arg2, static_cast<OrthancPluginContentType>(arg3)", | 1067 "call_args": ", arg0, arg1.buf, arg2, static_cast<OrthancPluginContentType>(arg3)", |
968 "count_args": 4, | 1068 "count_args": 4, |
969 "has_args": true, | 1069 "has_args": true, |
970 "return_error": true, | 1070 "return_error": true, |
1071 "return_sdk_type": "OrthancPluginErrorCode", | |
971 "self": ", self->object_", | 1072 "self": ", self->object_", |
972 "short_name": "StorageAreaCreate", | 1073 "short_name": "StorageAreaCreate", |
973 "tuple_format": "\"ss*Kl\", &arg0, &arg1, &arg2, &arg3" | 1074 "tuple_format": "\"ss*Kl\", &arg0, &arg1, &arg2, &arg3" |
974 }, | 1075 }, |
975 { | 1076 { |
977 { | 1078 { |
978 "initialization": " = NULL", | 1079 "initialization": " = NULL", |
979 "name": "arg0", | 1080 "name": "arg0", |
980 "orthanc_cast": "arg0", | 1081 "orthanc_cast": "arg0", |
981 "python_format": "s", | 1082 "python_format": "s", |
982 "python_type": "const char*" | 1083 "python_type": "const char*", |
1084 "sdk_type": "const char *" | |
983 }, | 1085 }, |
984 { | 1086 { |
985 "initialization": " = 0", | 1087 "initialization": " = 0", |
986 "name": "arg1", | 1088 "name": "arg1", |
987 "orthanc_cast": "static_cast<OrthancPluginContentType>(arg1)", | 1089 "orthanc_cast": "static_cast<OrthancPluginContentType>(arg1)", |
988 "python_format": "l", | 1090 "python_format": "l", |
989 "python_type": "long int" | 1091 "python_type": "long int", |
1092 "sdk_type": "OrthancPluginContentType" | |
990 } | 1093 } |
991 ], | 1094 ], |
992 "c_function": "OrthancPluginStorageAreaRead", | 1095 "c_function": "OrthancPluginStorageAreaRead", |
993 "call_args": ", arg0, static_cast<OrthancPluginContentType>(arg1)", | 1096 "call_args": ", arg0, static_cast<OrthancPluginContentType>(arg1)", |
994 "count_args": 2, | 1097 "count_args": 2, |
995 "has_args": true, | 1098 "has_args": true, |
996 "return_bytes": true, | 1099 "return_bytes": true, |
1100 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
997 "self": ", self->object_", | 1101 "self": ", self->object_", |
998 "short_name": "StorageAreaRead", | 1102 "short_name": "StorageAreaRead", |
999 "tuple_format": "\"sl\", &arg0, &arg1" | 1103 "tuple_format": "\"sl\", &arg0, &arg1" |
1000 }, | 1104 }, |
1001 { | 1105 { |
1003 { | 1107 { |
1004 "initialization": " = NULL", | 1108 "initialization": " = NULL", |
1005 "name": "arg0", | 1109 "name": "arg0", |
1006 "orthanc_cast": "arg0", | 1110 "orthanc_cast": "arg0", |
1007 "python_format": "s", | 1111 "python_format": "s", |
1008 "python_type": "const char*" | 1112 "python_type": "const char*", |
1113 "sdk_type": "const char *" | |
1009 }, | 1114 }, |
1010 { | 1115 { |
1011 "initialization": " = 0", | 1116 "initialization": " = 0", |
1012 "name": "arg1", | 1117 "name": "arg1", |
1013 "orthanc_cast": "static_cast<OrthancPluginContentType>(arg1)", | 1118 "orthanc_cast": "static_cast<OrthancPluginContentType>(arg1)", |
1014 "python_format": "l", | 1119 "python_format": "l", |
1015 "python_type": "long int" | 1120 "python_type": "long int", |
1121 "sdk_type": "OrthancPluginContentType" | |
1016 } | 1122 } |
1017 ], | 1123 ], |
1018 "c_function": "OrthancPluginStorageAreaRemove", | 1124 "c_function": "OrthancPluginStorageAreaRemove", |
1019 "call_args": ", arg0, static_cast<OrthancPluginContentType>(arg1)", | 1125 "call_args": ", arg0, static_cast<OrthancPluginContentType>(arg1)", |
1020 "count_args": 2, | 1126 "count_args": 2, |
1021 "has_args": true, | 1127 "has_args": true, |
1022 "return_error": true, | 1128 "return_error": true, |
1129 "return_sdk_type": "OrthancPluginErrorCode", | |
1023 "self": ", self->object_", | 1130 "self": ", self->object_", |
1024 "short_name": "StorageAreaRemove", | 1131 "short_name": "StorageAreaRemove", |
1025 "tuple_format": "\"sl\", &arg0, &arg1" | 1132 "tuple_format": "\"sl\", &arg0, &arg1" |
1026 }, | 1133 }, |
1027 { | 1134 { |
1029 { | 1136 { |
1030 "initialization": " = 0", | 1137 "initialization": " = 0", |
1031 "name": "arg0", | 1138 "name": "arg0", |
1032 "orthanc_cast": "static_cast<OrthancPluginResourceType>(arg0)", | 1139 "orthanc_cast": "static_cast<OrthancPluginResourceType>(arg0)", |
1033 "python_format": "l", | 1140 "python_format": "l", |
1034 "python_type": "long int" | 1141 "python_type": "long int", |
1142 "sdk_type": "OrthancPluginResourceType" | |
1035 } | 1143 } |
1036 ], | 1144 ], |
1037 "c_function": "OrthancPluginReconstructMainDicomTags", | 1145 "c_function": "OrthancPluginReconstructMainDicomTags", |
1038 "call_args": ", static_cast<OrthancPluginResourceType>(arg0)", | 1146 "call_args": ", static_cast<OrthancPluginResourceType>(arg0)", |
1039 "count_args": 1, | 1147 "count_args": 1, |
1040 "has_args": true, | 1148 "has_args": true, |
1041 "return_error": true, | 1149 "return_error": true, |
1150 "return_sdk_type": "OrthancPluginErrorCode", | |
1042 "self": ", self->object_", | 1151 "self": ", self->object_", |
1043 "short_name": "ReconstructMainDicomTags", | 1152 "short_name": "ReconstructMainDicomTags", |
1044 "tuple_format": "\"l\", &arg0" | 1153 "tuple_format": "\"l\", &arg0" |
1045 } | 1154 } |
1046 ], | 1155 ], |
1059 "methods": [ | 1168 "methods": [ |
1060 { | 1169 { |
1061 "args": [], | 1170 "args": [], |
1062 "c_function": "OrthancPluginWorklistMarkIncomplete", | 1171 "c_function": "OrthancPluginWorklistMarkIncomplete", |
1063 "return_error": true, | 1172 "return_error": true, |
1173 "return_sdk_type": "OrthancPluginErrorCode", | |
1064 "self": ", self->object_", | 1174 "self": ", self->object_", |
1065 "short_name": "WorklistMarkIncomplete", | 1175 "short_name": "WorklistMarkIncomplete", |
1066 "tuple_format": "\"\", " | 1176 "tuple_format": "\"\", " |
1067 } | 1177 } |
1068 ], | 1178 ], |
1077 { | 1187 { |
1078 "name": "arg0", | 1188 "name": "arg0", |
1079 "orthanc_cast": "arg0.buf, arg0.len", | 1189 "orthanc_cast": "arg0.buf, arg0.len", |
1080 "python_format": "s*", | 1190 "python_format": "s*", |
1081 "python_type": "Py_buffer", | 1191 "python_type": "Py_buffer", |
1082 "release": "PyBuffer_Release(&arg0);" | 1192 "release": "PyBuffer_Release(&arg0);", |
1193 "sdk_type": "void_pointer_with_size" | |
1083 } | 1194 } |
1084 ], | 1195 ], |
1085 "c_function": "OrthancPluginWorklistIsMatch", | 1196 "c_function": "OrthancPluginWorklistIsMatch", |
1086 "call_args": ", arg0.buf, arg0.len", | 1197 "call_args": ", arg0.buf, arg0.len", |
1087 "count_args": 1, | 1198 "count_args": 1, |
1088 "has_args": true, | 1199 "has_args": true, |
1089 "return_long": true, | 1200 "return_long": true, |
1201 "return_sdk_type": "int32_t", | |
1090 "self": ", self->object_", | 1202 "self": ", self->object_", |
1091 "short_name": "WorklistIsMatch", | 1203 "short_name": "WorklistIsMatch", |
1092 "tuple_format": "\"s*\", &arg0" | 1204 "tuple_format": "\"s*\", &arg0" |
1093 }, | 1205 }, |
1094 { | 1206 { |
1095 "args": [], | 1207 "args": [], |
1096 "c_function": "OrthancPluginWorklistGetDicomQuery", | 1208 "c_function": "OrthancPluginWorklistGetDicomQuery", |
1097 "return_bytes": true, | 1209 "return_bytes": true, |
1210 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
1098 "self": ", self->object_", | 1211 "self": ", self->object_", |
1099 "short_name": "WorklistGetDicomQuery", | 1212 "short_name": "WorklistGetDicomQuery", |
1100 "tuple_format": "\"\", " | 1213 "tuple_format": "\"\", " |
1101 } | 1214 } |
1102 ], | 1215 ], |
2181 { | 2294 { |
2182 "initialization": " = 0", | 2295 "initialization": " = 0", |
2183 "name": "arg0", | 2296 "name": "arg0", |
2184 "orthanc_cast": "arg0", | 2297 "orthanc_cast": "arg0", |
2185 "python_format": "i", | 2298 "python_format": "i", |
2186 "python_type": "int" | 2299 "python_type": "int", |
2300 "sdk_type": "int" | |
2187 }, | 2301 }, |
2188 { | 2302 { |
2189 "initialization": " = 0", | 2303 "initialization": " = 0", |
2190 "name": "arg1", | 2304 "name": "arg1", |
2191 "orthanc_cast": "arg1", | 2305 "orthanc_cast": "arg1", |
2192 "python_format": "i", | 2306 "python_format": "i", |
2193 "python_type": "int" | 2307 "python_type": "int", |
2308 "sdk_type": "int" | |
2194 }, | 2309 }, |
2195 { | 2310 { |
2196 "initialization": " = 0", | 2311 "initialization": " = 0", |
2197 "name": "arg2", | 2312 "name": "arg2", |
2198 "orthanc_cast": "arg2", | 2313 "orthanc_cast": "arg2", |
2199 "python_format": "i", | 2314 "python_format": "i", |
2200 "python_type": "int" | 2315 "python_type": "int", |
2316 "sdk_type": "int" | |
2201 } | 2317 } |
2202 ], | 2318 ], |
2203 "c_function": "OrthancPluginCheckVersionAdvanced", | 2319 "c_function": "OrthancPluginCheckVersionAdvanced", |
2204 "call_args": ", arg0, arg1, arg2", | 2320 "call_args": ", arg0, arg1, arg2", |
2205 "count_args": 3, | 2321 "count_args": 3, |
2206 "has_args": true, | 2322 "has_args": true, |
2207 "return_long": true, | 2323 "return_long": true, |
2324 "return_sdk_type": "int", | |
2208 "short_name": "CheckVersionAdvanced", | 2325 "short_name": "CheckVersionAdvanced", |
2209 "tuple_format": "\"iii\", &arg0, &arg1, &arg2" | 2326 "tuple_format": "\"iii\", &arg0, &arg1, &arg2" |
2210 }, | 2327 }, |
2211 { | 2328 { |
2212 "args": [], | 2329 "args": [], |
2213 "c_function": "OrthancPluginCheckVersion", | 2330 "c_function": "OrthancPluginCheckVersion", |
2214 "return_long": true, | 2331 "return_long": true, |
2332 "return_sdk_type": "int", | |
2215 "short_name": "CheckVersion", | 2333 "short_name": "CheckVersion", |
2216 "tuple_format": "\"\", " | 2334 "tuple_format": "\"\", " |
2217 }, | 2335 }, |
2218 { | 2336 { |
2219 "args": [ | 2337 "args": [ |
2220 { | 2338 { |
2221 "initialization": " = NULL", | 2339 "initialization": " = NULL", |
2222 "name": "arg0", | 2340 "name": "arg0", |
2223 "orthanc_cast": "arg0", | 2341 "orthanc_cast": "arg0", |
2224 "python_format": "s", | 2342 "python_format": "s", |
2225 "python_type": "const char*" | 2343 "python_type": "const char*", |
2344 "sdk_type": "const char *" | |
2226 } | 2345 } |
2227 ], | 2346 ], |
2228 "c_function": "OrthancPluginLogError", | 2347 "c_function": "OrthancPluginLogError", |
2229 "call_args": ", arg0", | 2348 "call_args": ", arg0", |
2230 "count_args": 1, | 2349 "count_args": 1, |
2231 "has_args": true, | 2350 "has_args": true, |
2351 "return_sdk_type": "void", | |
2232 "return_void": true, | 2352 "return_void": true, |
2233 "short_name": "LogError", | 2353 "short_name": "LogError", |
2234 "tuple_format": "\"s\", &arg0" | 2354 "tuple_format": "\"s\", &arg0" |
2235 }, | 2355 }, |
2236 { | 2356 { |
2238 { | 2358 { |
2239 "initialization": " = NULL", | 2359 "initialization": " = NULL", |
2240 "name": "arg0", | 2360 "name": "arg0", |
2241 "orthanc_cast": "arg0", | 2361 "orthanc_cast": "arg0", |
2242 "python_format": "s", | 2362 "python_format": "s", |
2243 "python_type": "const char*" | 2363 "python_type": "const char*", |
2364 "sdk_type": "const char *" | |
2244 } | 2365 } |
2245 ], | 2366 ], |
2246 "c_function": "OrthancPluginLogWarning", | 2367 "c_function": "OrthancPluginLogWarning", |
2247 "call_args": ", arg0", | 2368 "call_args": ", arg0", |
2248 "count_args": 1, | 2369 "count_args": 1, |
2249 "has_args": true, | 2370 "has_args": true, |
2371 "return_sdk_type": "void", | |
2250 "return_void": true, | 2372 "return_void": true, |
2251 "short_name": "LogWarning", | 2373 "short_name": "LogWarning", |
2252 "tuple_format": "\"s\", &arg0" | 2374 "tuple_format": "\"s\", &arg0" |
2253 }, | 2375 }, |
2254 { | 2376 { |
2256 { | 2378 { |
2257 "initialization": " = NULL", | 2379 "initialization": " = NULL", |
2258 "name": "arg0", | 2380 "name": "arg0", |
2259 "orthanc_cast": "arg0", | 2381 "orthanc_cast": "arg0", |
2260 "python_format": "s", | 2382 "python_format": "s", |
2261 "python_type": "const char*" | 2383 "python_type": "const char*", |
2384 "sdk_type": "const char *" | |
2262 } | 2385 } |
2263 ], | 2386 ], |
2264 "c_function": "OrthancPluginLogInfo", | 2387 "c_function": "OrthancPluginLogInfo", |
2265 "call_args": ", arg0", | 2388 "call_args": ", arg0", |
2266 "count_args": 1, | 2389 "count_args": 1, |
2267 "has_args": true, | 2390 "has_args": true, |
2391 "return_sdk_type": "void", | |
2268 "return_void": true, | 2392 "return_void": true, |
2269 "short_name": "LogInfo", | 2393 "short_name": "LogInfo", |
2270 "tuple_format": "\"s\", &arg0" | 2394 "tuple_format": "\"s\", &arg0" |
2271 }, | 2395 }, |
2272 { | 2396 { |
2274 { | 2398 { |
2275 "initialization": " = NULL", | 2399 "initialization": " = NULL", |
2276 "name": "arg0", | 2400 "name": "arg0", |
2277 "orthanc_cast": "arg0", | 2401 "orthanc_cast": "arg0", |
2278 "python_format": "s", | 2402 "python_format": "s", |
2279 "python_type": "const char*" | 2403 "python_type": "const char*", |
2404 "sdk_type": "const char *" | |
2280 } | 2405 } |
2281 ], | 2406 ], |
2282 "c_function": "OrthancPluginGetDicomForInstance", | 2407 "c_function": "OrthancPluginGetDicomForInstance", |
2283 "call_args": ", arg0", | 2408 "call_args": ", arg0", |
2284 "count_args": 1, | 2409 "count_args": 1, |
2285 "has_args": true, | 2410 "has_args": true, |
2286 "return_bytes": true, | 2411 "return_bytes": true, |
2412 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
2287 "short_name": "GetDicomForInstance", | 2413 "short_name": "GetDicomForInstance", |
2288 "tuple_format": "\"s\", &arg0" | 2414 "tuple_format": "\"s\", &arg0" |
2289 }, | 2415 }, |
2290 { | 2416 { |
2291 "args": [ | 2417 "args": [ |
2292 { | 2418 { |
2293 "initialization": " = NULL", | 2419 "initialization": " = NULL", |
2294 "name": "arg0", | 2420 "name": "arg0", |
2295 "orthanc_cast": "arg0", | 2421 "orthanc_cast": "arg0", |
2296 "python_format": "s", | 2422 "python_format": "s", |
2297 "python_type": "const char*" | 2423 "python_type": "const char*", |
2424 "sdk_type": "const char *" | |
2298 } | 2425 } |
2299 ], | 2426 ], |
2300 "c_function": "OrthancPluginRestApiGet", | 2427 "c_function": "OrthancPluginRestApiGet", |
2301 "call_args": ", arg0", | 2428 "call_args": ", arg0", |
2302 "count_args": 1, | 2429 "count_args": 1, |
2303 "has_args": true, | 2430 "has_args": true, |
2304 "return_bytes": true, | 2431 "return_bytes": true, |
2432 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
2305 "short_name": "RestApiGet", | 2433 "short_name": "RestApiGet", |
2306 "tuple_format": "\"s\", &arg0" | 2434 "tuple_format": "\"s\", &arg0" |
2307 }, | 2435 }, |
2308 { | 2436 { |
2309 "args": [ | 2437 "args": [ |
2310 { | 2438 { |
2311 "initialization": " = NULL", | 2439 "initialization": " = NULL", |
2312 "name": "arg0", | 2440 "name": "arg0", |
2313 "orthanc_cast": "arg0", | 2441 "orthanc_cast": "arg0", |
2314 "python_format": "s", | 2442 "python_format": "s", |
2315 "python_type": "const char*" | 2443 "python_type": "const char*", |
2444 "sdk_type": "const char *" | |
2316 } | 2445 } |
2317 ], | 2446 ], |
2318 "c_function": "OrthancPluginRestApiGetAfterPlugins", | 2447 "c_function": "OrthancPluginRestApiGetAfterPlugins", |
2319 "call_args": ", arg0", | 2448 "call_args": ", arg0", |
2320 "count_args": 1, | 2449 "count_args": 1, |
2321 "has_args": true, | 2450 "has_args": true, |
2322 "return_bytes": true, | 2451 "return_bytes": true, |
2452 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
2323 "short_name": "RestApiGetAfterPlugins", | 2453 "short_name": "RestApiGetAfterPlugins", |
2324 "tuple_format": "\"s\", &arg0" | 2454 "tuple_format": "\"s\", &arg0" |
2325 }, | 2455 }, |
2326 { | 2456 { |
2327 "args": [ | 2457 "args": [ |
2328 { | 2458 { |
2329 "initialization": " = NULL", | 2459 "initialization": " = NULL", |
2330 "name": "arg0", | 2460 "name": "arg0", |
2331 "orthanc_cast": "arg0", | 2461 "orthanc_cast": "arg0", |
2332 "python_format": "s", | 2462 "python_format": "s", |
2333 "python_type": "const char*" | 2463 "python_type": "const char*", |
2464 "sdk_type": "const char *" | |
2334 }, | 2465 }, |
2335 { | 2466 { |
2336 "name": "arg1", | 2467 "name": "arg1", |
2337 "orthanc_cast": "arg1.buf, arg1.len", | 2468 "orthanc_cast": "arg1.buf, arg1.len", |
2338 "python_format": "s*", | 2469 "python_format": "s*", |
2339 "python_type": "Py_buffer", | 2470 "python_type": "Py_buffer", |
2340 "release": "PyBuffer_Release(&arg1);" | 2471 "release": "PyBuffer_Release(&arg1);", |
2472 "sdk_type": "void_pointer_with_size" | |
2341 } | 2473 } |
2342 ], | 2474 ], |
2343 "c_function": "OrthancPluginRestApiPost", | 2475 "c_function": "OrthancPluginRestApiPost", |
2344 "call_args": ", arg0, arg1.buf, arg1.len", | 2476 "call_args": ", arg0, arg1.buf, arg1.len", |
2345 "count_args": 2, | 2477 "count_args": 2, |
2346 "has_args": true, | 2478 "has_args": true, |
2347 "return_bytes": true, | 2479 "return_bytes": true, |
2480 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
2348 "short_name": "RestApiPost", | 2481 "short_name": "RestApiPost", |
2349 "tuple_format": "\"ss*\", &arg0, &arg1" | 2482 "tuple_format": "\"ss*\", &arg0, &arg1" |
2350 }, | 2483 }, |
2351 { | 2484 { |
2352 "args": [ | 2485 "args": [ |
2353 { | 2486 { |
2354 "initialization": " = NULL", | 2487 "initialization": " = NULL", |
2355 "name": "arg0", | 2488 "name": "arg0", |
2356 "orthanc_cast": "arg0", | 2489 "orthanc_cast": "arg0", |
2357 "python_format": "s", | 2490 "python_format": "s", |
2358 "python_type": "const char*" | 2491 "python_type": "const char*", |
2492 "sdk_type": "const char *" | |
2359 }, | 2493 }, |
2360 { | 2494 { |
2361 "name": "arg1", | 2495 "name": "arg1", |
2362 "orthanc_cast": "arg1.buf, arg1.len", | 2496 "orthanc_cast": "arg1.buf, arg1.len", |
2363 "python_format": "s*", | 2497 "python_format": "s*", |
2364 "python_type": "Py_buffer", | 2498 "python_type": "Py_buffer", |
2365 "release": "PyBuffer_Release(&arg1);" | 2499 "release": "PyBuffer_Release(&arg1);", |
2500 "sdk_type": "void_pointer_with_size" | |
2366 } | 2501 } |
2367 ], | 2502 ], |
2368 "c_function": "OrthancPluginRestApiPostAfterPlugins", | 2503 "c_function": "OrthancPluginRestApiPostAfterPlugins", |
2369 "call_args": ", arg0, arg1.buf, arg1.len", | 2504 "call_args": ", arg0, arg1.buf, arg1.len", |
2370 "count_args": 2, | 2505 "count_args": 2, |
2371 "has_args": true, | 2506 "has_args": true, |
2372 "return_bytes": true, | 2507 "return_bytes": true, |
2508 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
2373 "short_name": "RestApiPostAfterPlugins", | 2509 "short_name": "RestApiPostAfterPlugins", |
2374 "tuple_format": "\"ss*\", &arg0, &arg1" | 2510 "tuple_format": "\"ss*\", &arg0, &arg1" |
2375 }, | 2511 }, |
2376 { | 2512 { |
2377 "args": [ | 2513 "args": [ |
2378 { | 2514 { |
2379 "initialization": " = NULL", | 2515 "initialization": " = NULL", |
2380 "name": "arg0", | 2516 "name": "arg0", |
2381 "orthanc_cast": "arg0", | 2517 "orthanc_cast": "arg0", |
2382 "python_format": "s", | 2518 "python_format": "s", |
2383 "python_type": "const char*" | 2519 "python_type": "const char*", |
2520 "sdk_type": "const char *" | |
2384 } | 2521 } |
2385 ], | 2522 ], |
2386 "c_function": "OrthancPluginRestApiDelete", | 2523 "c_function": "OrthancPluginRestApiDelete", |
2387 "call_args": ", arg0", | 2524 "call_args": ", arg0", |
2388 "count_args": 1, | 2525 "count_args": 1, |
2389 "has_args": true, | 2526 "has_args": true, |
2390 "return_error": true, | 2527 "return_error": true, |
2528 "return_sdk_type": "OrthancPluginErrorCode", | |
2391 "short_name": "RestApiDelete", | 2529 "short_name": "RestApiDelete", |
2392 "tuple_format": "\"s\", &arg0" | 2530 "tuple_format": "\"s\", &arg0" |
2393 }, | 2531 }, |
2394 { | 2532 { |
2395 "args": [ | 2533 "args": [ |
2396 { | 2534 { |
2397 "initialization": " = NULL", | 2535 "initialization": " = NULL", |
2398 "name": "arg0", | 2536 "name": "arg0", |
2399 "orthanc_cast": "arg0", | 2537 "orthanc_cast": "arg0", |
2400 "python_format": "s", | 2538 "python_format": "s", |
2401 "python_type": "const char*" | 2539 "python_type": "const char*", |
2540 "sdk_type": "const char *" | |
2402 } | 2541 } |
2403 ], | 2542 ], |
2404 "c_function": "OrthancPluginRestApiDeleteAfterPlugins", | 2543 "c_function": "OrthancPluginRestApiDeleteAfterPlugins", |
2405 "call_args": ", arg0", | 2544 "call_args": ", arg0", |
2406 "count_args": 1, | 2545 "count_args": 1, |
2407 "has_args": true, | 2546 "has_args": true, |
2408 "return_error": true, | 2547 "return_error": true, |
2548 "return_sdk_type": "OrthancPluginErrorCode", | |
2409 "short_name": "RestApiDeleteAfterPlugins", | 2549 "short_name": "RestApiDeleteAfterPlugins", |
2410 "tuple_format": "\"s\", &arg0" | 2550 "tuple_format": "\"s\", &arg0" |
2411 }, | 2551 }, |
2412 { | 2552 { |
2413 "args": [ | 2553 "args": [ |
2414 { | 2554 { |
2415 "initialization": " = NULL", | 2555 "initialization": " = NULL", |
2416 "name": "arg0", | 2556 "name": "arg0", |
2417 "orthanc_cast": "arg0", | 2557 "orthanc_cast": "arg0", |
2418 "python_format": "s", | 2558 "python_format": "s", |
2419 "python_type": "const char*" | 2559 "python_type": "const char*", |
2560 "sdk_type": "const char *" | |
2420 }, | 2561 }, |
2421 { | 2562 { |
2422 "name": "arg1", | 2563 "name": "arg1", |
2423 "orthanc_cast": "arg1.buf, arg1.len", | 2564 "orthanc_cast": "arg1.buf, arg1.len", |
2424 "python_format": "s*", | 2565 "python_format": "s*", |
2425 "python_type": "Py_buffer", | 2566 "python_type": "Py_buffer", |
2426 "release": "PyBuffer_Release(&arg1);" | 2567 "release": "PyBuffer_Release(&arg1);", |
2568 "sdk_type": "void_pointer_with_size" | |
2427 } | 2569 } |
2428 ], | 2570 ], |
2429 "c_function": "OrthancPluginRestApiPut", | 2571 "c_function": "OrthancPluginRestApiPut", |
2430 "call_args": ", arg0, arg1.buf, arg1.len", | 2572 "call_args": ", arg0, arg1.buf, arg1.len", |
2431 "count_args": 2, | 2573 "count_args": 2, |
2432 "has_args": true, | 2574 "has_args": true, |
2433 "return_bytes": true, | 2575 "return_bytes": true, |
2576 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
2434 "short_name": "RestApiPut", | 2577 "short_name": "RestApiPut", |
2435 "tuple_format": "\"ss*\", &arg0, &arg1" | 2578 "tuple_format": "\"ss*\", &arg0, &arg1" |
2436 }, | 2579 }, |
2437 { | 2580 { |
2438 "args": [ | 2581 "args": [ |
2439 { | 2582 { |
2440 "initialization": " = NULL", | 2583 "initialization": " = NULL", |
2441 "name": "arg0", | 2584 "name": "arg0", |
2442 "orthanc_cast": "arg0", | 2585 "orthanc_cast": "arg0", |
2443 "python_format": "s", | 2586 "python_format": "s", |
2444 "python_type": "const char*" | 2587 "python_type": "const char*", |
2588 "sdk_type": "const char *" | |
2445 }, | 2589 }, |
2446 { | 2590 { |
2447 "name": "arg1", | 2591 "name": "arg1", |
2448 "orthanc_cast": "arg1.buf, arg1.len", | 2592 "orthanc_cast": "arg1.buf, arg1.len", |
2449 "python_format": "s*", | 2593 "python_format": "s*", |
2450 "python_type": "Py_buffer", | 2594 "python_type": "Py_buffer", |
2451 "release": "PyBuffer_Release(&arg1);" | 2595 "release": "PyBuffer_Release(&arg1);", |
2596 "sdk_type": "void_pointer_with_size" | |
2452 } | 2597 } |
2453 ], | 2598 ], |
2454 "c_function": "OrthancPluginRestApiPutAfterPlugins", | 2599 "c_function": "OrthancPluginRestApiPutAfterPlugins", |
2455 "call_args": ", arg0, arg1.buf, arg1.len", | 2600 "call_args": ", arg0, arg1.buf, arg1.len", |
2456 "count_args": 2, | 2601 "count_args": 2, |
2457 "has_args": true, | 2602 "has_args": true, |
2458 "return_bytes": true, | 2603 "return_bytes": true, |
2604 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
2459 "short_name": "RestApiPutAfterPlugins", | 2605 "short_name": "RestApiPutAfterPlugins", |
2460 "tuple_format": "\"ss*\", &arg0, &arg1" | 2606 "tuple_format": "\"ss*\", &arg0, &arg1" |
2461 }, | 2607 }, |
2462 { | 2608 { |
2463 "args": [ | 2609 "args": [ |
2464 { | 2610 { |
2465 "initialization": " = NULL", | 2611 "initialization": " = NULL", |
2466 "name": "arg0", | 2612 "name": "arg0", |
2467 "orthanc_cast": "arg0", | 2613 "orthanc_cast": "arg0", |
2468 "python_format": "s", | 2614 "python_format": "s", |
2469 "python_type": "const char*" | 2615 "python_type": "const char*", |
2616 "sdk_type": "const char *" | |
2470 } | 2617 } |
2471 ], | 2618 ], |
2472 "c_function": "OrthancPluginLookupPatient", | 2619 "c_function": "OrthancPluginLookupPatient", |
2473 "call_args": ", arg0", | 2620 "call_args": ", arg0", |
2474 "count_args": 1, | 2621 "count_args": 1, |
2475 "has_args": true, | 2622 "has_args": true, |
2476 "return_dynamic_string": true, | 2623 "return_dynamic_string": true, |
2624 "return_sdk_type": "char *", | |
2477 "short_name": "LookupPatient", | 2625 "short_name": "LookupPatient", |
2478 "tuple_format": "\"s\", &arg0" | 2626 "tuple_format": "\"s\", &arg0" |
2479 }, | 2627 }, |
2480 { | 2628 { |
2481 "args": [ | 2629 "args": [ |
2482 { | 2630 { |
2483 "initialization": " = NULL", | 2631 "initialization": " = NULL", |
2484 "name": "arg0", | 2632 "name": "arg0", |
2485 "orthanc_cast": "arg0", | 2633 "orthanc_cast": "arg0", |
2486 "python_format": "s", | 2634 "python_format": "s", |
2487 "python_type": "const char*" | 2635 "python_type": "const char*", |
2636 "sdk_type": "const char *" | |
2488 } | 2637 } |
2489 ], | 2638 ], |
2490 "c_function": "OrthancPluginLookupStudy", | 2639 "c_function": "OrthancPluginLookupStudy", |
2491 "call_args": ", arg0", | 2640 "call_args": ", arg0", |
2492 "count_args": 1, | 2641 "count_args": 1, |
2493 "has_args": true, | 2642 "has_args": true, |
2494 "return_dynamic_string": true, | 2643 "return_dynamic_string": true, |
2644 "return_sdk_type": "char *", | |
2495 "short_name": "LookupStudy", | 2645 "short_name": "LookupStudy", |
2496 "tuple_format": "\"s\", &arg0" | 2646 "tuple_format": "\"s\", &arg0" |
2497 }, | 2647 }, |
2498 { | 2648 { |
2499 "args": [ | 2649 "args": [ |
2500 { | 2650 { |
2501 "initialization": " = NULL", | 2651 "initialization": " = NULL", |
2502 "name": "arg0", | 2652 "name": "arg0", |
2503 "orthanc_cast": "arg0", | 2653 "orthanc_cast": "arg0", |
2504 "python_format": "s", | 2654 "python_format": "s", |
2505 "python_type": "const char*" | 2655 "python_type": "const char*", |
2656 "sdk_type": "const char *" | |
2506 } | 2657 } |
2507 ], | 2658 ], |
2508 "c_function": "OrthancPluginLookupStudyWithAccessionNumber", | 2659 "c_function": "OrthancPluginLookupStudyWithAccessionNumber", |
2509 "call_args": ", arg0", | 2660 "call_args": ", arg0", |
2510 "count_args": 1, | 2661 "count_args": 1, |
2511 "has_args": true, | 2662 "has_args": true, |
2512 "return_dynamic_string": true, | 2663 "return_dynamic_string": true, |
2664 "return_sdk_type": "char *", | |
2513 "short_name": "LookupStudyWithAccessionNumber", | 2665 "short_name": "LookupStudyWithAccessionNumber", |
2514 "tuple_format": "\"s\", &arg0" | 2666 "tuple_format": "\"s\", &arg0" |
2515 }, | 2667 }, |
2516 { | 2668 { |
2517 "args": [ | 2669 "args": [ |
2518 { | 2670 { |
2519 "initialization": " = NULL", | 2671 "initialization": " = NULL", |
2520 "name": "arg0", | 2672 "name": "arg0", |
2521 "orthanc_cast": "arg0", | 2673 "orthanc_cast": "arg0", |
2522 "python_format": "s", | 2674 "python_format": "s", |
2523 "python_type": "const char*" | 2675 "python_type": "const char*", |
2676 "sdk_type": "const char *" | |
2524 } | 2677 } |
2525 ], | 2678 ], |
2526 "c_function": "OrthancPluginLookupSeries", | 2679 "c_function": "OrthancPluginLookupSeries", |
2527 "call_args": ", arg0", | 2680 "call_args": ", arg0", |
2528 "count_args": 1, | 2681 "count_args": 1, |
2529 "has_args": true, | 2682 "has_args": true, |
2530 "return_dynamic_string": true, | 2683 "return_dynamic_string": true, |
2684 "return_sdk_type": "char *", | |
2531 "short_name": "LookupSeries", | 2685 "short_name": "LookupSeries", |
2532 "tuple_format": "\"s\", &arg0" | 2686 "tuple_format": "\"s\", &arg0" |
2533 }, | 2687 }, |
2534 { | 2688 { |
2535 "args": [ | 2689 "args": [ |
2536 { | 2690 { |
2537 "initialization": " = NULL", | 2691 "initialization": " = NULL", |
2538 "name": "arg0", | 2692 "name": "arg0", |
2539 "orthanc_cast": "arg0", | 2693 "orthanc_cast": "arg0", |
2540 "python_format": "s", | 2694 "python_format": "s", |
2541 "python_type": "const char*" | 2695 "python_type": "const char*", |
2696 "sdk_type": "const char *" | |
2542 } | 2697 } |
2543 ], | 2698 ], |
2544 "c_function": "OrthancPluginLookupInstance", | 2699 "c_function": "OrthancPluginLookupInstance", |
2545 "call_args": ", arg0", | 2700 "call_args": ", arg0", |
2546 "count_args": 1, | 2701 "count_args": 1, |
2547 "has_args": true, | 2702 "has_args": true, |
2548 "return_dynamic_string": true, | 2703 "return_dynamic_string": true, |
2704 "return_sdk_type": "char *", | |
2549 "short_name": "LookupInstance", | 2705 "short_name": "LookupInstance", |
2550 "tuple_format": "\"s\", &arg0" | 2706 "tuple_format": "\"s\", &arg0" |
2551 }, | 2707 }, |
2552 { | 2708 { |
2553 "args": [], | 2709 "args": [], |
2554 "c_function": "OrthancPluginGetOrthancPath", | 2710 "c_function": "OrthancPluginGetOrthancPath", |
2555 "return_dynamic_string": true, | 2711 "return_dynamic_string": true, |
2712 "return_sdk_type": "char *", | |
2556 "short_name": "GetOrthancPath", | 2713 "short_name": "GetOrthancPath", |
2557 "tuple_format": "\"\", " | 2714 "tuple_format": "\"\", " |
2558 }, | 2715 }, |
2559 { | 2716 { |
2560 "args": [], | 2717 "args": [], |
2561 "c_function": "OrthancPluginGetOrthancDirectory", | 2718 "c_function": "OrthancPluginGetOrthancDirectory", |
2562 "return_dynamic_string": true, | 2719 "return_dynamic_string": true, |
2720 "return_sdk_type": "char *", | |
2563 "short_name": "GetOrthancDirectory", | 2721 "short_name": "GetOrthancDirectory", |
2564 "tuple_format": "\"\", " | 2722 "tuple_format": "\"\", " |
2565 }, | 2723 }, |
2566 { | 2724 { |
2567 "args": [], | 2725 "args": [], |
2568 "c_function": "OrthancPluginGetConfigurationPath", | 2726 "c_function": "OrthancPluginGetConfigurationPath", |
2569 "return_dynamic_string": true, | 2727 "return_dynamic_string": true, |
2728 "return_sdk_type": "char *", | |
2570 "short_name": "GetConfigurationPath", | 2729 "short_name": "GetConfigurationPath", |
2571 "tuple_format": "\"\", " | 2730 "tuple_format": "\"\", " |
2572 }, | 2731 }, |
2573 { | 2732 { |
2574 "args": [ | 2733 "args": [ |
2575 { | 2734 { |
2576 "initialization": " = NULL", | 2735 "initialization": " = NULL", |
2577 "name": "arg0", | 2736 "name": "arg0", |
2578 "orthanc_cast": "arg0", | 2737 "orthanc_cast": "arg0", |
2579 "python_format": "s", | 2738 "python_format": "s", |
2580 "python_type": "const char*" | 2739 "python_type": "const char*", |
2740 "sdk_type": "const char *" | |
2581 } | 2741 } |
2582 ], | 2742 ], |
2583 "c_function": "OrthancPluginSetRootUri", | 2743 "c_function": "OrthancPluginSetRootUri", |
2584 "call_args": ", arg0", | 2744 "call_args": ", arg0", |
2585 "count_args": 1, | 2745 "count_args": 1, |
2586 "has_args": true, | 2746 "has_args": true, |
2747 "return_sdk_type": "void", | |
2587 "return_void": true, | 2748 "return_void": true, |
2588 "short_name": "SetRootUri", | 2749 "short_name": "SetRootUri", |
2589 "tuple_format": "\"s\", &arg0" | 2750 "tuple_format": "\"s\", &arg0" |
2590 }, | 2751 }, |
2591 { | 2752 { |
2593 { | 2754 { |
2594 "initialization": " = NULL", | 2755 "initialization": " = NULL", |
2595 "name": "arg0", | 2756 "name": "arg0", |
2596 "orthanc_cast": "arg0", | 2757 "orthanc_cast": "arg0", |
2597 "python_format": "s", | 2758 "python_format": "s", |
2598 "python_type": "const char*" | 2759 "python_type": "const char*", |
2760 "sdk_type": "const char *" | |
2599 } | 2761 } |
2600 ], | 2762 ], |
2601 "c_function": "OrthancPluginSetDescription", | 2763 "c_function": "OrthancPluginSetDescription", |
2602 "call_args": ", arg0", | 2764 "call_args": ", arg0", |
2603 "count_args": 1, | 2765 "count_args": 1, |
2604 "has_args": true, | 2766 "has_args": true, |
2767 "return_sdk_type": "void", | |
2605 "return_void": true, | 2768 "return_void": true, |
2606 "short_name": "SetDescription", | 2769 "short_name": "SetDescription", |
2607 "tuple_format": "\"s\", &arg0" | 2770 "tuple_format": "\"s\", &arg0" |
2608 }, | 2771 }, |
2609 { | 2772 { |
2611 { | 2774 { |
2612 "initialization": " = NULL", | 2775 "initialization": " = NULL", |
2613 "name": "arg0", | 2776 "name": "arg0", |
2614 "orthanc_cast": "arg0", | 2777 "orthanc_cast": "arg0", |
2615 "python_format": "s", | 2778 "python_format": "s", |
2616 "python_type": "const char*" | 2779 "python_type": "const char*", |
2780 "sdk_type": "const char *" | |
2617 } | 2781 } |
2618 ], | 2782 ], |
2619 "c_function": "OrthancPluginExtendOrthancExplorer", | 2783 "c_function": "OrthancPluginExtendOrthancExplorer", |
2620 "call_args": ", arg0", | 2784 "call_args": ", arg0", |
2621 "count_args": 1, | 2785 "count_args": 1, |
2622 "has_args": true, | 2786 "has_args": true, |
2787 "return_sdk_type": "void", | |
2623 "return_void": true, | 2788 "return_void": true, |
2624 "short_name": "ExtendOrthancExplorer", | 2789 "short_name": "ExtendOrthancExplorer", |
2625 "tuple_format": "\"s\", &arg0" | 2790 "tuple_format": "\"s\", &arg0" |
2626 }, | 2791 }, |
2627 { | 2792 { |
2629 { | 2794 { |
2630 "initialization": " = 0", | 2795 "initialization": " = 0", |
2631 "name": "arg0", | 2796 "name": "arg0", |
2632 "orthanc_cast": "arg0", | 2797 "orthanc_cast": "arg0", |
2633 "python_format": "l", | 2798 "python_format": "l", |
2634 "python_type": "long int" | 2799 "python_type": "long int", |
2800 "sdk_type": "int32_t" | |
2635 }, | 2801 }, |
2636 { | 2802 { |
2637 "initialization": " = NULL", | 2803 "initialization": " = NULL", |
2638 "name": "arg1", | 2804 "name": "arg1", |
2639 "orthanc_cast": "arg1", | 2805 "orthanc_cast": "arg1", |
2640 "python_format": "s", | 2806 "python_format": "s", |
2641 "python_type": "const char*" | 2807 "python_type": "const char*", |
2808 "sdk_type": "const char *" | |
2642 } | 2809 } |
2643 ], | 2810 ], |
2644 "c_function": "OrthancPluginGetGlobalProperty", | 2811 "c_function": "OrthancPluginGetGlobalProperty", |
2645 "call_args": ", arg0, arg1", | 2812 "call_args": ", arg0, arg1", |
2646 "count_args": 2, | 2813 "count_args": 2, |
2647 "has_args": true, | 2814 "has_args": true, |
2648 "return_dynamic_string": true, | 2815 "return_dynamic_string": true, |
2816 "return_sdk_type": "char *", | |
2649 "short_name": "GetGlobalProperty", | 2817 "short_name": "GetGlobalProperty", |
2650 "tuple_format": "\"ls\", &arg0, &arg1" | 2818 "tuple_format": "\"ls\", &arg0, &arg1" |
2651 }, | 2819 }, |
2652 { | 2820 { |
2653 "args": [ | 2821 "args": [ |
2654 { | 2822 { |
2655 "initialization": " = 0", | 2823 "initialization": " = 0", |
2656 "name": "arg0", | 2824 "name": "arg0", |
2657 "orthanc_cast": "arg0", | 2825 "orthanc_cast": "arg0", |
2658 "python_format": "l", | 2826 "python_format": "l", |
2659 "python_type": "long int" | 2827 "python_type": "long int", |
2828 "sdk_type": "int32_t" | |
2660 }, | 2829 }, |
2661 { | 2830 { |
2662 "initialization": " = NULL", | 2831 "initialization": " = NULL", |
2663 "name": "arg1", | 2832 "name": "arg1", |
2664 "orthanc_cast": "arg1", | 2833 "orthanc_cast": "arg1", |
2665 "python_format": "s", | 2834 "python_format": "s", |
2666 "python_type": "const char*" | 2835 "python_type": "const char*", |
2836 "sdk_type": "const char *" | |
2667 } | 2837 } |
2668 ], | 2838 ], |
2669 "c_function": "OrthancPluginSetGlobalProperty", | 2839 "c_function": "OrthancPluginSetGlobalProperty", |
2670 "call_args": ", arg0, arg1", | 2840 "call_args": ", arg0, arg1", |
2671 "count_args": 2, | 2841 "count_args": 2, |
2672 "has_args": true, | 2842 "has_args": true, |
2673 "return_error": true, | 2843 "return_error": true, |
2844 "return_sdk_type": "OrthancPluginErrorCode", | |
2674 "short_name": "SetGlobalProperty", | 2845 "short_name": "SetGlobalProperty", |
2675 "tuple_format": "\"ls\", &arg0, &arg1" | 2846 "tuple_format": "\"ls\", &arg0, &arg1" |
2676 }, | 2847 }, |
2677 { | 2848 { |
2678 "args": [], | 2849 "args": [], |
2679 "c_function": "OrthancPluginGetCommandLineArgumentsCount", | 2850 "c_function": "OrthancPluginGetCommandLineArgumentsCount", |
2680 "return_long": true, | 2851 "return_long": true, |
2852 "return_sdk_type": "uint32_t", | |
2681 "short_name": "GetCommandLineArgumentsCount", | 2853 "short_name": "GetCommandLineArgumentsCount", |
2682 "tuple_format": "\"\", " | 2854 "tuple_format": "\"\", " |
2683 }, | 2855 }, |
2684 { | 2856 { |
2685 "args": [ | 2857 "args": [ |
2686 { | 2858 { |
2687 "initialization": " = 0", | 2859 "initialization": " = 0", |
2688 "name": "arg0", | 2860 "name": "arg0", |
2689 "orthanc_cast": "arg0", | 2861 "orthanc_cast": "arg0", |
2690 "python_format": "k", | 2862 "python_format": "k", |
2691 "python_type": "unsigned long" | 2863 "python_type": "unsigned long", |
2864 "sdk_type": "uint32_t" | |
2692 } | 2865 } |
2693 ], | 2866 ], |
2694 "c_function": "OrthancPluginGetCommandLineArgument", | 2867 "c_function": "OrthancPluginGetCommandLineArgument", |
2695 "call_args": ", arg0", | 2868 "call_args": ", arg0", |
2696 "count_args": 1, | 2869 "count_args": 1, |
2697 "has_args": true, | 2870 "has_args": true, |
2698 "return_dynamic_string": true, | 2871 "return_dynamic_string": true, |
2872 "return_sdk_type": "char *", | |
2699 "short_name": "GetCommandLineArgument", | 2873 "short_name": "GetCommandLineArgument", |
2700 "tuple_format": "\"k\", &arg0" | 2874 "tuple_format": "\"k\", &arg0" |
2701 }, | 2875 }, |
2702 { | 2876 { |
2703 "args": [], | 2877 "args": [], |
2704 "c_function": "OrthancPluginGetExpectedDatabaseVersion", | 2878 "c_function": "OrthancPluginGetExpectedDatabaseVersion", |
2705 "return_long": true, | 2879 "return_long": true, |
2880 "return_sdk_type": "uint32_t", | |
2706 "short_name": "GetExpectedDatabaseVersion", | 2881 "short_name": "GetExpectedDatabaseVersion", |
2707 "tuple_format": "\"\", " | 2882 "tuple_format": "\"\", " |
2708 }, | 2883 }, |
2709 { | 2884 { |
2710 "args": [], | 2885 "args": [], |
2711 "c_function": "OrthancPluginGetConfiguration", | 2886 "c_function": "OrthancPluginGetConfiguration", |
2712 "return_dynamic_string": true, | 2887 "return_dynamic_string": true, |
2888 "return_sdk_type": "char *", | |
2713 "short_name": "GetConfiguration", | 2889 "short_name": "GetConfiguration", |
2714 "tuple_format": "\"\", " | 2890 "tuple_format": "\"\", " |
2715 }, | 2891 }, |
2716 { | 2892 { |
2717 "args": [ | 2893 "args": [ |
2718 { | 2894 { |
2719 "name": "arg0", | 2895 "name": "arg0", |
2720 "orthanc_cast": "arg0.buf, arg0.len", | 2896 "orthanc_cast": "arg0.buf, arg0.len", |
2721 "python_format": "s*", | 2897 "python_format": "s*", |
2722 "python_type": "Py_buffer", | 2898 "python_type": "Py_buffer", |
2723 "release": "PyBuffer_Release(&arg0);" | 2899 "release": "PyBuffer_Release(&arg0);", |
2900 "sdk_type": "void_pointer_with_size" | |
2724 }, | 2901 }, |
2725 { | 2902 { |
2726 "initialization": " = 0", | 2903 "initialization": " = 0", |
2727 "name": "arg2", | 2904 "name": "arg2", |
2728 "orthanc_cast": "static_cast<OrthancPluginCompressionType>(arg2)", | 2905 "orthanc_cast": "static_cast<OrthancPluginCompressionType>(arg2)", |
2729 "python_format": "l", | 2906 "python_format": "l", |
2730 "python_type": "long int" | 2907 "python_type": "long int", |
2908 "sdk_type": "OrthancPluginCompressionType" | |
2731 }, | 2909 }, |
2732 { | 2910 { |
2733 "initialization": " = 0", | 2911 "initialization": " = 0", |
2734 "name": "arg3", | 2912 "name": "arg3", |
2735 "orthanc_cast": "arg3", | 2913 "orthanc_cast": "arg3", |
2736 "python_format": "b", | 2914 "python_format": "b", |
2737 "python_type": "unsigned char" | 2915 "python_type": "unsigned char", |
2916 "sdk_type": "uint8_t" | |
2738 } | 2917 } |
2739 ], | 2918 ], |
2740 "c_function": "OrthancPluginBufferCompression", | 2919 "c_function": "OrthancPluginBufferCompression", |
2741 "call_args": ", arg0.buf, arg0.len, static_cast<OrthancPluginCompressionType>(arg2), arg3", | 2920 "call_args": ", arg0.buf, arg0.len, static_cast<OrthancPluginCompressionType>(arg2), arg3", |
2742 "count_args": 3, | 2921 "count_args": 3, |
2743 "has_args": true, | 2922 "has_args": true, |
2744 "return_bytes": true, | 2923 "return_bytes": true, |
2924 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
2745 "short_name": "BufferCompression", | 2925 "short_name": "BufferCompression", |
2746 "tuple_format": "\"s*lb\", &arg0, &arg2, &arg3" | 2926 "tuple_format": "\"s*lb\", &arg0, &arg2, &arg3" |
2747 }, | 2927 }, |
2748 { | 2928 { |
2749 "args": [ | 2929 "args": [ |
2750 { | 2930 { |
2751 "initialization": " = NULL", | 2931 "initialization": " = NULL", |
2752 "name": "arg0", | 2932 "name": "arg0", |
2753 "orthanc_cast": "arg0", | 2933 "orthanc_cast": "arg0", |
2754 "python_format": "s", | 2934 "python_format": "s", |
2755 "python_type": "const char*" | 2935 "python_type": "const char*", |
2936 "sdk_type": "const char *" | |
2756 } | 2937 } |
2757 ], | 2938 ], |
2758 "c_function": "OrthancPluginReadFile", | 2939 "c_function": "OrthancPluginReadFile", |
2759 "call_args": ", arg0", | 2940 "call_args": ", arg0", |
2760 "count_args": 1, | 2941 "count_args": 1, |
2761 "has_args": true, | 2942 "has_args": true, |
2762 "return_bytes": true, | 2943 "return_bytes": true, |
2944 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
2763 "short_name": "ReadFile", | 2945 "short_name": "ReadFile", |
2764 "tuple_format": "\"s\", &arg0" | 2946 "tuple_format": "\"s\", &arg0" |
2765 }, | 2947 }, |
2766 { | 2948 { |
2767 "args": [ | 2949 "args": [ |
2768 { | 2950 { |
2769 "initialization": " = NULL", | 2951 "initialization": " = NULL", |
2770 "name": "arg0", | 2952 "name": "arg0", |
2771 "orthanc_cast": "arg0", | 2953 "orthanc_cast": "arg0", |
2772 "python_format": "s", | 2954 "python_format": "s", |
2773 "python_type": "const char*" | 2955 "python_type": "const char*", |
2956 "sdk_type": "const char *" | |
2774 }, | 2957 }, |
2775 { | 2958 { |
2776 "name": "arg1", | 2959 "name": "arg1", |
2777 "orthanc_cast": "arg1.buf, arg1.len", | 2960 "orthanc_cast": "arg1.buf, arg1.len", |
2778 "python_format": "s*", | 2961 "python_format": "s*", |
2779 "python_type": "Py_buffer", | 2962 "python_type": "Py_buffer", |
2780 "release": "PyBuffer_Release(&arg1);" | 2963 "release": "PyBuffer_Release(&arg1);", |
2964 "sdk_type": "void_pointer_with_size" | |
2781 } | 2965 } |
2782 ], | 2966 ], |
2783 "c_function": "OrthancPluginWriteFile", | 2967 "c_function": "OrthancPluginWriteFile", |
2784 "call_args": ", arg0, arg1.buf, arg1.len", | 2968 "call_args": ", arg0, arg1.buf, arg1.len", |
2785 "count_args": 2, | 2969 "count_args": 2, |
2786 "has_args": true, | 2970 "has_args": true, |
2787 "return_error": true, | 2971 "return_error": true, |
2972 "return_sdk_type": "OrthancPluginErrorCode", | |
2788 "short_name": "WriteFile", | 2973 "short_name": "WriteFile", |
2789 "tuple_format": "\"ss*\", &arg0, &arg1" | 2974 "tuple_format": "\"ss*\", &arg0, &arg1" |
2790 }, | 2975 }, |
2791 { | 2976 { |
2792 "args": [ | 2977 "args": [ |
2793 { | 2978 { |
2794 "initialization": " = 0", | 2979 "initialization": " = 0", |
2795 "name": "arg0", | 2980 "name": "arg0", |
2796 "orthanc_cast": "static_cast<OrthancPluginErrorCode>(arg0)", | 2981 "orthanc_cast": "static_cast<OrthancPluginErrorCode>(arg0)", |
2797 "python_format": "l", | 2982 "python_format": "l", |
2798 "python_type": "long int" | 2983 "python_type": "long int", |
2984 "sdk_type": "OrthancPluginErrorCode" | |
2799 } | 2985 } |
2800 ], | 2986 ], |
2801 "c_function": "OrthancPluginGetErrorDescription", | 2987 "c_function": "OrthancPluginGetErrorDescription", |
2802 "call_args": ", static_cast<OrthancPluginErrorCode>(arg0)", | 2988 "call_args": ", static_cast<OrthancPluginErrorCode>(arg0)", |
2803 "count_args": 1, | 2989 "count_args": 1, |
2804 "has_args": true, | 2990 "has_args": true, |
2991 "return_sdk_type": "const char *", | |
2805 "return_static_string": true, | 2992 "return_static_string": true, |
2806 "short_name": "GetErrorDescription", | 2993 "short_name": "GetErrorDescription", |
2807 "tuple_format": "\"l\", &arg0" | 2994 "tuple_format": "\"l\", &arg0" |
2808 }, | 2995 }, |
2809 { | 2996 { |
2811 { | 2998 { |
2812 "name": "arg0", | 2999 "name": "arg0", |
2813 "orthanc_cast": "arg0.buf, arg0.len", | 3000 "orthanc_cast": "arg0.buf, arg0.len", |
2814 "python_format": "s*", | 3001 "python_format": "s*", |
2815 "python_type": "Py_buffer", | 3002 "python_type": "Py_buffer", |
2816 "release": "PyBuffer_Release(&arg0);" | 3003 "release": "PyBuffer_Release(&arg0);", |
3004 "sdk_type": "void_pointer_with_size" | |
2817 }, | 3005 }, |
2818 { | 3006 { |
2819 "initialization": " = 0", | 3007 "initialization": " = 0", |
2820 "name": "arg2", | 3008 "name": "arg2", |
2821 "orthanc_cast": "static_cast<OrthancPluginImageFormat>(arg2)", | 3009 "orthanc_cast": "static_cast<OrthancPluginImageFormat>(arg2)", |
2822 "python_format": "l", | 3010 "python_format": "l", |
2823 "python_type": "long int" | 3011 "python_type": "long int", |
3012 "sdk_type": "OrthancPluginImageFormat" | |
2824 } | 3013 } |
2825 ], | 3014 ], |
2826 "c_function": "OrthancPluginUncompressImage", | 3015 "c_function": "OrthancPluginUncompressImage", |
2827 "call_args": ", arg0.buf, arg0.len, static_cast<OrthancPluginImageFormat>(arg2)", | 3016 "call_args": ", arg0.buf, arg0.len, static_cast<OrthancPluginImageFormat>(arg2)", |
2828 "count_args": 2, | 3017 "count_args": 2, |
2829 "has_args": true, | 3018 "has_args": true, |
2830 "return_object": "OrthancPluginImage", | 3019 "return_object": "OrthancPluginImage", |
3020 "return_sdk_type": "OrthancPluginImage *", | |
2831 "short_name": "UncompressImage", | 3021 "short_name": "UncompressImage", |
2832 "tuple_format": "\"s*l\", &arg0, &arg2" | 3022 "tuple_format": "\"s*l\", &arg0, &arg2" |
2833 }, | 3023 }, |
2834 { | 3024 { |
2835 "args": [ | 3025 "args": [ |
2836 { | 3026 { |
2837 "initialization": " = 0", | 3027 "initialization": " = 0", |
2838 "name": "arg0", | 3028 "name": "arg0", |
2839 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", | 3029 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", |
2840 "python_format": "l", | 3030 "python_format": "l", |
2841 "python_type": "long int" | 3031 "python_type": "long int", |
3032 "sdk_type": "OrthancPluginPixelFormat" | |
2842 }, | 3033 }, |
2843 { | 3034 { |
2844 "initialization": " = 0", | 3035 "initialization": " = 0", |
2845 "name": "arg1", | 3036 "name": "arg1", |
2846 "orthanc_cast": "arg1", | 3037 "orthanc_cast": "arg1", |
2847 "python_format": "k", | 3038 "python_format": "k", |
2848 "python_type": "unsigned long" | 3039 "python_type": "unsigned long", |
3040 "sdk_type": "uint32_t" | |
2849 }, | 3041 }, |
2850 { | 3042 { |
2851 "initialization": " = 0", | 3043 "initialization": " = 0", |
2852 "name": "arg2", | 3044 "name": "arg2", |
2853 "orthanc_cast": "arg2", | 3045 "orthanc_cast": "arg2", |
2854 "python_format": "k", | 3046 "python_format": "k", |
2855 "python_type": "unsigned long" | 3047 "python_type": "unsigned long", |
3048 "sdk_type": "uint32_t" | |
2856 }, | 3049 }, |
2857 { | 3050 { |
2858 "initialization": " = 0", | 3051 "initialization": " = 0", |
2859 "name": "arg3", | 3052 "name": "arg3", |
2860 "orthanc_cast": "arg3", | 3053 "orthanc_cast": "arg3", |
2861 "python_format": "k", | 3054 "python_format": "k", |
2862 "python_type": "unsigned long" | 3055 "python_type": "unsigned long", |
3056 "sdk_type": "uint32_t" | |
2863 }, | 3057 }, |
2864 { | 3058 { |
2865 "name": "arg4", | 3059 "name": "arg4", |
2866 "orthanc_cast": "arg4.buf", | 3060 "orthanc_cast": "arg4.buf", |
2867 "python_format": "s*", | 3061 "python_format": "s*", |
2868 "python_type": "Py_buffer", | 3062 "python_type": "Py_buffer", |
2869 "release": "PyBuffer_Release(&arg4);" | 3063 "release": "PyBuffer_Release(&arg4);", |
3064 "sdk_type": "const void *" | |
2870 } | 3065 } |
2871 ], | 3066 ], |
2872 "c_function": "OrthancPluginCompressPngImage", | 3067 "c_function": "OrthancPluginCompressPngImage", |
2873 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf", | 3068 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf", |
2874 "count_args": 5, | 3069 "count_args": 5, |
2875 "has_args": true, | 3070 "has_args": true, |
2876 "return_bytes": true, | 3071 "return_bytes": true, |
3072 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
2877 "short_name": "CompressPngImage", | 3073 "short_name": "CompressPngImage", |
2878 "tuple_format": "\"lkkks*\", &arg0, &arg1, &arg2, &arg3, &arg4" | 3074 "tuple_format": "\"lkkks*\", &arg0, &arg1, &arg2, &arg3, &arg4" |
2879 }, | 3075 }, |
2880 { | 3076 { |
2881 "args": [ | 3077 "args": [ |
2882 { | 3078 { |
2883 "initialization": " = 0", | 3079 "initialization": " = 0", |
2884 "name": "arg0", | 3080 "name": "arg0", |
2885 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", | 3081 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", |
2886 "python_format": "l", | 3082 "python_format": "l", |
2887 "python_type": "long int" | 3083 "python_type": "long int", |
3084 "sdk_type": "OrthancPluginPixelFormat" | |
2888 }, | 3085 }, |
2889 { | 3086 { |
2890 "initialization": " = 0", | 3087 "initialization": " = 0", |
2891 "name": "arg1", | 3088 "name": "arg1", |
2892 "orthanc_cast": "arg1", | 3089 "orthanc_cast": "arg1", |
2893 "python_format": "k", | 3090 "python_format": "k", |
2894 "python_type": "unsigned long" | 3091 "python_type": "unsigned long", |
3092 "sdk_type": "uint32_t" | |
2895 }, | 3093 }, |
2896 { | 3094 { |
2897 "initialization": " = 0", | 3095 "initialization": " = 0", |
2898 "name": "arg2", | 3096 "name": "arg2", |
2899 "orthanc_cast": "arg2", | 3097 "orthanc_cast": "arg2", |
2900 "python_format": "k", | 3098 "python_format": "k", |
2901 "python_type": "unsigned long" | 3099 "python_type": "unsigned long", |
3100 "sdk_type": "uint32_t" | |
2902 }, | 3101 }, |
2903 { | 3102 { |
2904 "initialization": " = 0", | 3103 "initialization": " = 0", |
2905 "name": "arg3", | 3104 "name": "arg3", |
2906 "orthanc_cast": "arg3", | 3105 "orthanc_cast": "arg3", |
2907 "python_format": "k", | 3106 "python_format": "k", |
2908 "python_type": "unsigned long" | 3107 "python_type": "unsigned long", |
3108 "sdk_type": "uint32_t" | |
2909 }, | 3109 }, |
2910 { | 3110 { |
2911 "name": "arg4", | 3111 "name": "arg4", |
2912 "orthanc_cast": "arg4.buf", | 3112 "orthanc_cast": "arg4.buf", |
2913 "python_format": "s*", | 3113 "python_format": "s*", |
2914 "python_type": "Py_buffer", | 3114 "python_type": "Py_buffer", |
2915 "release": "PyBuffer_Release(&arg4);" | 3115 "release": "PyBuffer_Release(&arg4);", |
3116 "sdk_type": "const void *" | |
2916 }, | 3117 }, |
2917 { | 3118 { |
2918 "initialization": " = 0", | 3119 "initialization": " = 0", |
2919 "name": "arg5", | 3120 "name": "arg5", |
2920 "orthanc_cast": "arg5", | 3121 "orthanc_cast": "arg5", |
2921 "python_format": "b", | 3122 "python_format": "b", |
2922 "python_type": "unsigned char" | 3123 "python_type": "unsigned char", |
3124 "sdk_type": "uint8_t" | |
2923 } | 3125 } |
2924 ], | 3126 ], |
2925 "c_function": "OrthancPluginCompressJpegImage", | 3127 "c_function": "OrthancPluginCompressJpegImage", |
2926 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf, arg5", | 3128 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf, arg5", |
2927 "count_args": 6, | 3129 "count_args": 6, |
2928 "has_args": true, | 3130 "has_args": true, |
2929 "return_bytes": true, | 3131 "return_bytes": true, |
3132 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
2930 "short_name": "CompressJpegImage", | 3133 "short_name": "CompressJpegImage", |
2931 "tuple_format": "\"lkkks*b\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5" | 3134 "tuple_format": "\"lkkks*b\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5" |
2932 }, | 3135 }, |
2933 { | 3136 { |
2934 "args": [ | 3137 "args": [ |
2935 { | 3138 { |
2936 "initialization": " = NULL", | 3139 "initialization": " = NULL", |
2937 "name": "arg0", | 3140 "name": "arg0", |
2938 "orthanc_cast": "arg0", | 3141 "orthanc_cast": "arg0", |
2939 "python_format": "s", | 3142 "python_format": "s", |
2940 "python_type": "const char*" | 3143 "python_type": "const char*", |
3144 "sdk_type": "const char *" | |
2941 }, | 3145 }, |
2942 { | 3146 { |
2943 "initialization": " = NULL", | 3147 "initialization": " = NULL", |
2944 "name": "arg1", | 3148 "name": "arg1", |
2945 "orthanc_cast": "arg1", | 3149 "orthanc_cast": "arg1", |
2946 "python_format": "s", | 3150 "python_format": "s", |
2947 "python_type": "const char*" | 3151 "python_type": "const char*", |
3152 "sdk_type": "const char *" | |
2948 }, | 3153 }, |
2949 { | 3154 { |
2950 "initialization": " = NULL", | 3155 "initialization": " = NULL", |
2951 "name": "arg2", | 3156 "name": "arg2", |
2952 "orthanc_cast": "arg2", | 3157 "orthanc_cast": "arg2", |
2953 "python_format": "s", | 3158 "python_format": "s", |
2954 "python_type": "const char*" | 3159 "python_type": "const char*", |
3160 "sdk_type": "const char *" | |
2955 } | 3161 } |
2956 ], | 3162 ], |
2957 "c_function": "OrthancPluginHttpGet", | 3163 "c_function": "OrthancPluginHttpGet", |
2958 "call_args": ", arg0, arg1, arg2", | 3164 "call_args": ", arg0, arg1, arg2", |
2959 "count_args": 3, | 3165 "count_args": 3, |
2960 "has_args": true, | 3166 "has_args": true, |
2961 "return_bytes": true, | 3167 "return_bytes": true, |
3168 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
2962 "short_name": "HttpGet", | 3169 "short_name": "HttpGet", |
2963 "tuple_format": "\"sss\", &arg0, &arg1, &arg2" | 3170 "tuple_format": "\"sss\", &arg0, &arg1, &arg2" |
2964 }, | 3171 }, |
2965 { | 3172 { |
2966 "args": [ | 3173 "args": [ |
2967 { | 3174 { |
2968 "initialization": " = NULL", | 3175 "initialization": " = NULL", |
2969 "name": "arg0", | 3176 "name": "arg0", |
2970 "orthanc_cast": "arg0", | 3177 "orthanc_cast": "arg0", |
2971 "python_format": "s", | 3178 "python_format": "s", |
2972 "python_type": "const char*" | 3179 "python_type": "const char*", |
3180 "sdk_type": "const char *" | |
2973 }, | 3181 }, |
2974 { | 3182 { |
2975 "name": "arg1", | 3183 "name": "arg1", |
2976 "orthanc_cast": "arg1.buf, arg1.len", | 3184 "orthanc_cast": "arg1.buf, arg1.len", |
2977 "python_format": "s*", | 3185 "python_format": "s*", |
2978 "python_type": "Py_buffer", | 3186 "python_type": "Py_buffer", |
2979 "release": "PyBuffer_Release(&arg1);" | 3187 "release": "PyBuffer_Release(&arg1);", |
3188 "sdk_type": "void_pointer_with_size" | |
2980 }, | 3189 }, |
2981 { | 3190 { |
2982 "initialization": " = NULL", | 3191 "initialization": " = NULL", |
2983 "name": "arg3", | 3192 "name": "arg3", |
2984 "orthanc_cast": "arg3", | 3193 "orthanc_cast": "arg3", |
2985 "python_format": "s", | 3194 "python_format": "s", |
2986 "python_type": "const char*" | 3195 "python_type": "const char*", |
3196 "sdk_type": "const char *" | |
2987 }, | 3197 }, |
2988 { | 3198 { |
2989 "initialization": " = NULL", | 3199 "initialization": " = NULL", |
2990 "name": "arg4", | 3200 "name": "arg4", |
2991 "orthanc_cast": "arg4", | 3201 "orthanc_cast": "arg4", |
2992 "python_format": "s", | 3202 "python_format": "s", |
2993 "python_type": "const char*" | 3203 "python_type": "const char*", |
3204 "sdk_type": "const char *" | |
2994 } | 3205 } |
2995 ], | 3206 ], |
2996 "c_function": "OrthancPluginHttpPost", | 3207 "c_function": "OrthancPluginHttpPost", |
2997 "call_args": ", arg0, arg1.buf, arg1.len, arg3, arg4", | 3208 "call_args": ", arg0, arg1.buf, arg1.len, arg3, arg4", |
2998 "count_args": 4, | 3209 "count_args": 4, |
2999 "has_args": true, | 3210 "has_args": true, |
3000 "return_bytes": true, | 3211 "return_bytes": true, |
3212 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
3001 "short_name": "HttpPost", | 3213 "short_name": "HttpPost", |
3002 "tuple_format": "\"ss*ss\", &arg0, &arg1, &arg3, &arg4" | 3214 "tuple_format": "\"ss*ss\", &arg0, &arg1, &arg3, &arg4" |
3003 }, | 3215 }, |
3004 { | 3216 { |
3005 "args": [ | 3217 "args": [ |
3006 { | 3218 { |
3007 "initialization": " = NULL", | 3219 "initialization": " = NULL", |
3008 "name": "arg0", | 3220 "name": "arg0", |
3009 "orthanc_cast": "arg0", | 3221 "orthanc_cast": "arg0", |
3010 "python_format": "s", | 3222 "python_format": "s", |
3011 "python_type": "const char*" | 3223 "python_type": "const char*", |
3224 "sdk_type": "const char *" | |
3012 }, | 3225 }, |
3013 { | 3226 { |
3014 "name": "arg1", | 3227 "name": "arg1", |
3015 "orthanc_cast": "arg1.buf, arg1.len", | 3228 "orthanc_cast": "arg1.buf, arg1.len", |
3016 "python_format": "s*", | 3229 "python_format": "s*", |
3017 "python_type": "Py_buffer", | 3230 "python_type": "Py_buffer", |
3018 "release": "PyBuffer_Release(&arg1);" | 3231 "release": "PyBuffer_Release(&arg1);", |
3232 "sdk_type": "void_pointer_with_size" | |
3019 }, | 3233 }, |
3020 { | 3234 { |
3021 "initialization": " = NULL", | 3235 "initialization": " = NULL", |
3022 "name": "arg3", | 3236 "name": "arg3", |
3023 "orthanc_cast": "arg3", | 3237 "orthanc_cast": "arg3", |
3024 "python_format": "s", | 3238 "python_format": "s", |
3025 "python_type": "const char*" | 3239 "python_type": "const char*", |
3240 "sdk_type": "const char *" | |
3026 }, | 3241 }, |
3027 { | 3242 { |
3028 "initialization": " = NULL", | 3243 "initialization": " = NULL", |
3029 "name": "arg4", | 3244 "name": "arg4", |
3030 "orthanc_cast": "arg4", | 3245 "orthanc_cast": "arg4", |
3031 "python_format": "s", | 3246 "python_format": "s", |
3032 "python_type": "const char*" | 3247 "python_type": "const char*", |
3248 "sdk_type": "const char *" | |
3033 } | 3249 } |
3034 ], | 3250 ], |
3035 "c_function": "OrthancPluginHttpPut", | 3251 "c_function": "OrthancPluginHttpPut", |
3036 "call_args": ", arg0, arg1.buf, arg1.len, arg3, arg4", | 3252 "call_args": ", arg0, arg1.buf, arg1.len, arg3, arg4", |
3037 "count_args": 4, | 3253 "count_args": 4, |
3038 "has_args": true, | 3254 "has_args": true, |
3039 "return_bytes": true, | 3255 "return_bytes": true, |
3256 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
3040 "short_name": "HttpPut", | 3257 "short_name": "HttpPut", |
3041 "tuple_format": "\"ss*ss\", &arg0, &arg1, &arg3, &arg4" | 3258 "tuple_format": "\"ss*ss\", &arg0, &arg1, &arg3, &arg4" |
3042 }, | 3259 }, |
3043 { | 3260 { |
3044 "args": [ | 3261 "args": [ |
3045 { | 3262 { |
3046 "initialization": " = NULL", | 3263 "initialization": " = NULL", |
3047 "name": "arg0", | 3264 "name": "arg0", |
3048 "orthanc_cast": "arg0", | 3265 "orthanc_cast": "arg0", |
3049 "python_format": "s", | 3266 "python_format": "s", |
3050 "python_type": "const char*" | 3267 "python_type": "const char*", |
3268 "sdk_type": "const char *" | |
3051 }, | 3269 }, |
3052 { | 3270 { |
3053 "initialization": " = NULL", | 3271 "initialization": " = NULL", |
3054 "name": "arg1", | 3272 "name": "arg1", |
3055 "orthanc_cast": "arg1", | 3273 "orthanc_cast": "arg1", |
3056 "python_format": "s", | 3274 "python_format": "s", |
3057 "python_type": "const char*" | 3275 "python_type": "const char*", |
3276 "sdk_type": "const char *" | |
3058 }, | 3277 }, |
3059 { | 3278 { |
3060 "initialization": " = NULL", | 3279 "initialization": " = NULL", |
3061 "name": "arg2", | 3280 "name": "arg2", |
3062 "orthanc_cast": "arg2", | 3281 "orthanc_cast": "arg2", |
3063 "python_format": "s", | 3282 "python_format": "s", |
3064 "python_type": "const char*" | 3283 "python_type": "const char*", |
3284 "sdk_type": "const char *" | |
3065 } | 3285 } |
3066 ], | 3286 ], |
3067 "c_function": "OrthancPluginHttpDelete", | 3287 "c_function": "OrthancPluginHttpDelete", |
3068 "call_args": ", arg0, arg1, arg2", | 3288 "call_args": ", arg0, arg1, arg2", |
3069 "count_args": 3, | 3289 "count_args": 3, |
3070 "has_args": true, | 3290 "has_args": true, |
3071 "return_error": true, | 3291 "return_error": true, |
3292 "return_sdk_type": "OrthancPluginErrorCode", | |
3072 "short_name": "HttpDelete", | 3293 "short_name": "HttpDelete", |
3073 "tuple_format": "\"sss\", &arg0, &arg1, &arg2" | 3294 "tuple_format": "\"sss\", &arg0, &arg1, &arg2" |
3074 }, | 3295 }, |
3075 { | 3296 { |
3076 "args": [], | 3297 "args": [], |
3077 "c_function": "OrthancPluginGetFontsCount", | 3298 "c_function": "OrthancPluginGetFontsCount", |
3078 "return_long": true, | 3299 "return_long": true, |
3300 "return_sdk_type": "uint32_t", | |
3079 "short_name": "GetFontsCount", | 3301 "short_name": "GetFontsCount", |
3080 "tuple_format": "\"\", " | 3302 "tuple_format": "\"\", " |
3081 }, | 3303 }, |
3082 { | 3304 { |
3083 "args": [ | 3305 "args": [ |
3084 { | 3306 { |
3085 "initialization": " = 0", | 3307 "initialization": " = 0", |
3086 "name": "arg0", | 3308 "name": "arg0", |
3087 "orthanc_cast": "arg0", | 3309 "orthanc_cast": "arg0", |
3088 "python_format": "k", | 3310 "python_format": "k", |
3089 "python_type": "unsigned long" | 3311 "python_type": "unsigned long", |
3312 "sdk_type": "uint32_t" | |
3090 } | 3313 } |
3091 ], | 3314 ], |
3092 "c_function": "OrthancPluginGetFontName", | 3315 "c_function": "OrthancPluginGetFontName", |
3093 "call_args": ", arg0", | 3316 "call_args": ", arg0", |
3094 "count_args": 1, | 3317 "count_args": 1, |
3095 "has_args": true, | 3318 "has_args": true, |
3319 "return_sdk_type": "const char *", | |
3096 "return_static_string": true, | 3320 "return_static_string": true, |
3097 "short_name": "GetFontName", | 3321 "short_name": "GetFontName", |
3098 "tuple_format": "\"k\", &arg0" | 3322 "tuple_format": "\"k\", &arg0" |
3099 }, | 3323 }, |
3100 { | 3324 { |
3102 { | 3326 { |
3103 "initialization": " = 0", | 3327 "initialization": " = 0", |
3104 "name": "arg0", | 3328 "name": "arg0", |
3105 "orthanc_cast": "arg0", | 3329 "orthanc_cast": "arg0", |
3106 "python_format": "k", | 3330 "python_format": "k", |
3107 "python_type": "unsigned long" | 3331 "python_type": "unsigned long", |
3332 "sdk_type": "uint32_t" | |
3108 } | 3333 } |
3109 ], | 3334 ], |
3110 "c_function": "OrthancPluginGetFontSize", | 3335 "c_function": "OrthancPluginGetFontSize", |
3111 "call_args": ", arg0", | 3336 "call_args": ", arg0", |
3112 "count_args": 1, | 3337 "count_args": 1, |
3113 "has_args": true, | 3338 "has_args": true, |
3114 "return_long": true, | 3339 "return_long": true, |
3340 "return_sdk_type": "uint32_t", | |
3115 "short_name": "GetFontSize", | 3341 "short_name": "GetFontSize", |
3116 "tuple_format": "\"k\", &arg0" | 3342 "tuple_format": "\"k\", &arg0" |
3117 }, | 3343 }, |
3118 { | 3344 { |
3119 "args": [ | 3345 "args": [ |
3120 { | 3346 { |
3121 "initialization": " = 0", | 3347 "initialization": " = 0", |
3122 "name": "arg0", | 3348 "name": "arg0", |
3123 "orthanc_cast": "arg0", | 3349 "orthanc_cast": "arg0", |
3124 "python_format": "l", | 3350 "python_format": "l", |
3125 "python_type": "long int" | 3351 "python_type": "long int", |
3352 "sdk_type": "int32_t" | |
3126 }, | 3353 }, |
3127 { | 3354 { |
3128 "initialization": " = 0", | 3355 "initialization": " = 0", |
3129 "name": "arg1", | 3356 "name": "arg1", |
3130 "orthanc_cast": "arg1", | 3357 "orthanc_cast": "arg1", |
3131 "python_format": "H", | 3358 "python_format": "H", |
3132 "python_type": "unsigned short" | 3359 "python_type": "unsigned short", |
3360 "sdk_type": "uint16_t" | |
3133 }, | 3361 }, |
3134 { | 3362 { |
3135 "initialization": " = NULL", | 3363 "initialization": " = NULL", |
3136 "name": "arg2", | 3364 "name": "arg2", |
3137 "orthanc_cast": "arg2", | 3365 "orthanc_cast": "arg2", |
3138 "python_format": "s", | 3366 "python_format": "s", |
3139 "python_type": "const char*" | 3367 "python_type": "const char*", |
3368 "sdk_type": "const char *" | |
3140 } | 3369 } |
3141 ], | 3370 ], |
3142 "c_function": "OrthancPluginRegisterErrorCode", | 3371 "c_function": "OrthancPluginRegisterErrorCode", |
3143 "call_args": ", arg0, arg1, arg2", | 3372 "call_args": ", arg0, arg1, arg2", |
3144 "count_args": 3, | 3373 "count_args": 3, |
3145 "has_args": true, | 3374 "has_args": true, |
3146 "return_error": true, | 3375 "return_error": true, |
3376 "return_sdk_type": "OrthancPluginErrorCode", | |
3147 "short_name": "RegisterErrorCode", | 3377 "short_name": "RegisterErrorCode", |
3148 "tuple_format": "\"lHs\", &arg0, &arg1, &arg2" | 3378 "tuple_format": "\"lHs\", &arg0, &arg1, &arg2" |
3149 }, | 3379 }, |
3150 { | 3380 { |
3151 "args": [ | 3381 "args": [ |
3152 { | 3382 { |
3153 "initialization": " = 0", | 3383 "initialization": " = 0", |
3154 "name": "arg0", | 3384 "name": "arg0", |
3155 "orthanc_cast": "arg0", | 3385 "orthanc_cast": "arg0", |
3156 "python_format": "H", | 3386 "python_format": "H", |
3157 "python_type": "unsigned short" | 3387 "python_type": "unsigned short", |
3388 "sdk_type": "uint16_t" | |
3158 }, | 3389 }, |
3159 { | 3390 { |
3160 "initialization": " = 0", | 3391 "initialization": " = 0", |
3161 "name": "arg1", | 3392 "name": "arg1", |
3162 "orthanc_cast": "arg1", | 3393 "orthanc_cast": "arg1", |
3163 "python_format": "H", | 3394 "python_format": "H", |
3164 "python_type": "unsigned short" | 3395 "python_type": "unsigned short", |
3396 "sdk_type": "uint16_t" | |
3165 }, | 3397 }, |
3166 { | 3398 { |
3167 "initialization": " = 0", | 3399 "initialization": " = 0", |
3168 "name": "arg2", | 3400 "name": "arg2", |
3169 "orthanc_cast": "static_cast<OrthancPluginValueRepresentation>(arg2)", | 3401 "orthanc_cast": "static_cast<OrthancPluginValueRepresentation>(arg2)", |
3170 "python_format": "l", | 3402 "python_format": "l", |
3171 "python_type": "long int" | 3403 "python_type": "long int", |
3404 "sdk_type": "OrthancPluginValueRepresentation" | |
3172 }, | 3405 }, |
3173 { | 3406 { |
3174 "initialization": " = NULL", | 3407 "initialization": " = NULL", |
3175 "name": "arg3", | 3408 "name": "arg3", |
3176 "orthanc_cast": "arg3", | 3409 "orthanc_cast": "arg3", |
3177 "python_format": "s", | 3410 "python_format": "s", |
3178 "python_type": "const char*" | 3411 "python_type": "const char*", |
3412 "sdk_type": "const char *" | |
3179 }, | 3413 }, |
3180 { | 3414 { |
3181 "initialization": " = 0", | 3415 "initialization": " = 0", |
3182 "name": "arg4", | 3416 "name": "arg4", |
3183 "orthanc_cast": "arg4", | 3417 "orthanc_cast": "arg4", |
3184 "python_format": "k", | 3418 "python_format": "k", |
3185 "python_type": "unsigned long" | 3419 "python_type": "unsigned long", |
3420 "sdk_type": "uint32_t" | |
3186 }, | 3421 }, |
3187 { | 3422 { |
3188 "initialization": " = 0", | 3423 "initialization": " = 0", |
3189 "name": "arg5", | 3424 "name": "arg5", |
3190 "orthanc_cast": "arg5", | 3425 "orthanc_cast": "arg5", |
3191 "python_format": "k", | 3426 "python_format": "k", |
3192 "python_type": "unsigned long" | 3427 "python_type": "unsigned long", |
3428 "sdk_type": "uint32_t" | |
3193 } | 3429 } |
3194 ], | 3430 ], |
3195 "c_function": "OrthancPluginRegisterDictionaryTag", | 3431 "c_function": "OrthancPluginRegisterDictionaryTag", |
3196 "call_args": ", arg0, arg1, static_cast<OrthancPluginValueRepresentation>(arg2), arg3, arg4, arg5", | 3432 "call_args": ", arg0, arg1, static_cast<OrthancPluginValueRepresentation>(arg2), arg3, arg4, arg5", |
3197 "count_args": 6, | 3433 "count_args": 6, |
3198 "has_args": true, | 3434 "has_args": true, |
3199 "return_error": true, | 3435 "return_error": true, |
3436 "return_sdk_type": "OrthancPluginErrorCode", | |
3200 "short_name": "RegisterDictionaryTag", | 3437 "short_name": "RegisterDictionaryTag", |
3201 "tuple_format": "\"HHlskk\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5" | 3438 "tuple_format": "\"HHlskk\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5" |
3202 }, | 3439 }, |
3203 { | 3440 { |
3204 "args": [ | 3441 "args": [ |
3205 { | 3442 { |
3206 "initialization": " = 0", | 3443 "initialization": " = 0", |
3207 "name": "arg0", | 3444 "name": "arg0", |
3208 "orthanc_cast": "arg0", | 3445 "orthanc_cast": "arg0", |
3209 "python_format": "H", | 3446 "python_format": "H", |
3210 "python_type": "unsigned short" | 3447 "python_type": "unsigned short", |
3448 "sdk_type": "uint16_t" | |
3211 }, | 3449 }, |
3212 { | 3450 { |
3213 "initialization": " = 0", | 3451 "initialization": " = 0", |
3214 "name": "arg1", | 3452 "name": "arg1", |
3215 "orthanc_cast": "arg1", | 3453 "orthanc_cast": "arg1", |
3216 "python_format": "H", | 3454 "python_format": "H", |
3217 "python_type": "unsigned short" | 3455 "python_type": "unsigned short", |
3456 "sdk_type": "uint16_t" | |
3218 }, | 3457 }, |
3219 { | 3458 { |
3220 "initialization": " = 0", | 3459 "initialization": " = 0", |
3221 "name": "arg2", | 3460 "name": "arg2", |
3222 "orthanc_cast": "static_cast<OrthancPluginValueRepresentation>(arg2)", | 3461 "orthanc_cast": "static_cast<OrthancPluginValueRepresentation>(arg2)", |
3223 "python_format": "l", | 3462 "python_format": "l", |
3224 "python_type": "long int" | 3463 "python_type": "long int", |
3464 "sdk_type": "OrthancPluginValueRepresentation" | |
3225 }, | 3465 }, |
3226 { | 3466 { |
3227 "initialization": " = NULL", | 3467 "initialization": " = NULL", |
3228 "name": "arg3", | 3468 "name": "arg3", |
3229 "orthanc_cast": "arg3", | 3469 "orthanc_cast": "arg3", |
3230 "python_format": "s", | 3470 "python_format": "s", |
3231 "python_type": "const char*" | 3471 "python_type": "const char*", |
3472 "sdk_type": "const char *" | |
3232 }, | 3473 }, |
3233 { | 3474 { |
3234 "initialization": " = 0", | 3475 "initialization": " = 0", |
3235 "name": "arg4", | 3476 "name": "arg4", |
3236 "orthanc_cast": "arg4", | 3477 "orthanc_cast": "arg4", |
3237 "python_format": "k", | 3478 "python_format": "k", |
3238 "python_type": "unsigned long" | 3479 "python_type": "unsigned long", |
3480 "sdk_type": "uint32_t" | |
3239 }, | 3481 }, |
3240 { | 3482 { |
3241 "initialization": " = 0", | 3483 "initialization": " = 0", |
3242 "name": "arg5", | 3484 "name": "arg5", |
3243 "orthanc_cast": "arg5", | 3485 "orthanc_cast": "arg5", |
3244 "python_format": "k", | 3486 "python_format": "k", |
3245 "python_type": "unsigned long" | 3487 "python_type": "unsigned long", |
3488 "sdk_type": "uint32_t" | |
3246 }, | 3489 }, |
3247 { | 3490 { |
3248 "initialization": " = NULL", | 3491 "initialization": " = NULL", |
3249 "name": "arg6", | 3492 "name": "arg6", |
3250 "orthanc_cast": "arg6", | 3493 "orthanc_cast": "arg6", |
3251 "python_format": "s", | 3494 "python_format": "s", |
3252 "python_type": "const char*" | 3495 "python_type": "const char*", |
3496 "sdk_type": "const char *" | |
3253 } | 3497 } |
3254 ], | 3498 ], |
3255 "c_function": "OrthancPluginRegisterPrivateDictionaryTag", | 3499 "c_function": "OrthancPluginRegisterPrivateDictionaryTag", |
3256 "call_args": ", arg0, arg1, static_cast<OrthancPluginValueRepresentation>(arg2), arg3, arg4, arg5, arg6", | 3500 "call_args": ", arg0, arg1, static_cast<OrthancPluginValueRepresentation>(arg2), arg3, arg4, arg5, arg6", |
3257 "count_args": 7, | 3501 "count_args": 7, |
3258 "has_args": true, | 3502 "has_args": true, |
3259 "return_error": true, | 3503 "return_error": true, |
3504 "return_sdk_type": "OrthancPluginErrorCode", | |
3260 "short_name": "RegisterPrivateDictionaryTag", | 3505 "short_name": "RegisterPrivateDictionaryTag", |
3261 "tuple_format": "\"HHlskks\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5, &arg6" | 3506 "tuple_format": "\"HHlskks\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5, &arg6" |
3262 }, | 3507 }, |
3263 { | 3508 { |
3264 "args": [ | 3509 "args": [ |
3265 { | 3510 { |
3266 "name": "arg0", | 3511 "name": "arg0", |
3267 "orthanc_cast": "arg0.buf, arg0.len", | 3512 "orthanc_cast": "arg0.buf, arg0.len", |
3268 "python_format": "s*", | 3513 "python_format": "s*", |
3269 "python_type": "Py_buffer", | 3514 "python_type": "Py_buffer", |
3270 "release": "PyBuffer_Release(&arg0);" | 3515 "release": "PyBuffer_Release(&arg0);", |
3516 "sdk_type": "void_pointer_with_size" | |
3271 }, | 3517 }, |
3272 { | 3518 { |
3273 "initialization": " = 0", | 3519 "initialization": " = 0", |
3274 "name": "arg2", | 3520 "name": "arg2", |
3275 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFormat>(arg2)", | 3521 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFormat>(arg2)", |
3276 "python_format": "l", | 3522 "python_format": "l", |
3277 "python_type": "long int" | 3523 "python_type": "long int", |
3524 "sdk_type": "OrthancPluginDicomToJsonFormat" | |
3278 }, | 3525 }, |
3279 { | 3526 { |
3280 "initialization": " = 0", | 3527 "initialization": " = 0", |
3281 "name": "arg3", | 3528 "name": "arg3", |
3282 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFlags>(arg3)", | 3529 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFlags>(arg3)", |
3283 "python_format": "l", | 3530 "python_format": "l", |
3284 "python_type": "long int" | 3531 "python_type": "long int", |
3532 "sdk_type": "OrthancPluginDicomToJsonFlags" | |
3285 }, | 3533 }, |
3286 { | 3534 { |
3287 "initialization": " = 0", | 3535 "initialization": " = 0", |
3288 "name": "arg4", | 3536 "name": "arg4", |
3289 "orthanc_cast": "arg4", | 3537 "orthanc_cast": "arg4", |
3290 "python_format": "k", | 3538 "python_format": "k", |
3291 "python_type": "unsigned long" | 3539 "python_type": "unsigned long", |
3540 "sdk_type": "uint32_t" | |
3292 } | 3541 } |
3293 ], | 3542 ], |
3294 "c_function": "OrthancPluginDicomBufferToJson", | 3543 "c_function": "OrthancPluginDicomBufferToJson", |
3295 "call_args": ", arg0.buf, arg0.len, static_cast<OrthancPluginDicomToJsonFormat>(arg2), static_cast<OrthancPluginDicomToJsonFlags>(arg3), arg4", | 3544 "call_args": ", arg0.buf, arg0.len, static_cast<OrthancPluginDicomToJsonFormat>(arg2), static_cast<OrthancPluginDicomToJsonFlags>(arg3), arg4", |
3296 "count_args": 4, | 3545 "count_args": 4, |
3297 "has_args": true, | 3546 "has_args": true, |
3298 "return_dynamic_string": true, | 3547 "return_dynamic_string": true, |
3548 "return_sdk_type": "char *", | |
3299 "short_name": "DicomBufferToJson", | 3549 "short_name": "DicomBufferToJson", |
3300 "tuple_format": "\"s*llk\", &arg0, &arg2, &arg3, &arg4" | 3550 "tuple_format": "\"s*llk\", &arg0, &arg2, &arg3, &arg4" |
3301 }, | 3551 }, |
3302 { | 3552 { |
3303 "args": [ | 3553 "args": [ |
3304 { | 3554 { |
3305 "initialization": " = NULL", | 3555 "initialization": " = NULL", |
3306 "name": "arg0", | 3556 "name": "arg0", |
3307 "orthanc_cast": "arg0", | 3557 "orthanc_cast": "arg0", |
3308 "python_format": "s", | 3558 "python_format": "s", |
3309 "python_type": "const char*" | 3559 "python_type": "const char*", |
3560 "sdk_type": "const char *" | |
3310 }, | 3561 }, |
3311 { | 3562 { |
3312 "initialization": " = 0", | 3563 "initialization": " = 0", |
3313 "name": "arg1", | 3564 "name": "arg1", |
3314 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFormat>(arg1)", | 3565 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFormat>(arg1)", |
3315 "python_format": "l", | 3566 "python_format": "l", |
3316 "python_type": "long int" | 3567 "python_type": "long int", |
3568 "sdk_type": "OrthancPluginDicomToJsonFormat" | |
3317 }, | 3569 }, |
3318 { | 3570 { |
3319 "initialization": " = 0", | 3571 "initialization": " = 0", |
3320 "name": "arg2", | 3572 "name": "arg2", |
3321 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFlags>(arg2)", | 3573 "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFlags>(arg2)", |
3322 "python_format": "l", | 3574 "python_format": "l", |
3323 "python_type": "long int" | 3575 "python_type": "long int", |
3576 "sdk_type": "OrthancPluginDicomToJsonFlags" | |
3324 }, | 3577 }, |
3325 { | 3578 { |
3326 "initialization": " = 0", | 3579 "initialization": " = 0", |
3327 "name": "arg3", | 3580 "name": "arg3", |
3328 "orthanc_cast": "arg3", | 3581 "orthanc_cast": "arg3", |
3329 "python_format": "k", | 3582 "python_format": "k", |
3330 "python_type": "unsigned long" | 3583 "python_type": "unsigned long", |
3584 "sdk_type": "uint32_t" | |
3331 } | 3585 } |
3332 ], | 3586 ], |
3333 "c_function": "OrthancPluginDicomInstanceToJson", | 3587 "c_function": "OrthancPluginDicomInstanceToJson", |
3334 "call_args": ", arg0, static_cast<OrthancPluginDicomToJsonFormat>(arg1), static_cast<OrthancPluginDicomToJsonFlags>(arg2), arg3", | 3588 "call_args": ", arg0, static_cast<OrthancPluginDicomToJsonFormat>(arg1), static_cast<OrthancPluginDicomToJsonFlags>(arg2), arg3", |
3335 "count_args": 4, | 3589 "count_args": 4, |
3336 "has_args": true, | 3590 "has_args": true, |
3337 "return_dynamic_string": true, | 3591 "return_dynamic_string": true, |
3592 "return_sdk_type": "char *", | |
3338 "short_name": "DicomInstanceToJson", | 3593 "short_name": "DicomInstanceToJson", |
3339 "tuple_format": "\"sllk\", &arg0, &arg1, &arg2, &arg3" | 3594 "tuple_format": "\"sllk\", &arg0, &arg1, &arg2, &arg3" |
3340 }, | 3595 }, |
3341 { | 3596 { |
3342 "args": [ | 3597 "args": [ |
3343 { | 3598 { |
3344 "initialization": " = 0", | 3599 "initialization": " = 0", |
3345 "name": "arg0", | 3600 "name": "arg0", |
3346 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", | 3601 "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", |
3347 "python_format": "l", | 3602 "python_format": "l", |
3348 "python_type": "long int" | 3603 "python_type": "long int", |
3604 "sdk_type": "OrthancPluginPixelFormat" | |
3349 }, | 3605 }, |
3350 { | 3606 { |
3351 "initialization": " = 0", | 3607 "initialization": " = 0", |
3352 "name": "arg1", | 3608 "name": "arg1", |
3353 "orthanc_cast": "arg1", | 3609 "orthanc_cast": "arg1", |
3354 "python_format": "k", | 3610 "python_format": "k", |
3355 "python_type": "unsigned long" | 3611 "python_type": "unsigned long", |
3612 "sdk_type": "uint32_t" | |
3356 }, | 3613 }, |
3357 { | 3614 { |
3358 "initialization": " = 0", | 3615 "initialization": " = 0", |
3359 "name": "arg2", | 3616 "name": "arg2", |
3360 "orthanc_cast": "arg2", | 3617 "orthanc_cast": "arg2", |
3361 "python_format": "k", | 3618 "python_format": "k", |
3362 "python_type": "unsigned long" | 3619 "python_type": "unsigned long", |
3620 "sdk_type": "uint32_t" | |
3363 } | 3621 } |
3364 ], | 3622 ], |
3365 "c_function": "OrthancPluginCreateImage", | 3623 "c_function": "OrthancPluginCreateImage", |
3366 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2", | 3624 "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2", |
3367 "count_args": 3, | 3625 "count_args": 3, |
3368 "has_args": true, | 3626 "has_args": true, |
3369 "return_object": "OrthancPluginImage", | 3627 "return_object": "OrthancPluginImage", |
3628 "return_sdk_type": "OrthancPluginImage *", | |
3370 "short_name": "CreateImage", | 3629 "short_name": "CreateImage", |
3371 "tuple_format": "\"lkk\", &arg0, &arg1, &arg2" | 3630 "tuple_format": "\"lkk\", &arg0, &arg1, &arg2" |
3372 }, | 3631 }, |
3373 { | 3632 { |
3374 "args": [ | 3633 "args": [ |
3375 { | 3634 { |
3376 "name": "arg0", | 3635 "name": "arg0", |
3377 "orthanc_cast": "arg0.buf, arg0.len", | 3636 "orthanc_cast": "arg0.buf, arg0.len", |
3378 "python_format": "s*", | 3637 "python_format": "s*", |
3379 "python_type": "Py_buffer", | 3638 "python_type": "Py_buffer", |
3380 "release": "PyBuffer_Release(&arg0);" | 3639 "release": "PyBuffer_Release(&arg0);", |
3640 "sdk_type": "void_pointer_with_size" | |
3381 }, | 3641 }, |
3382 { | 3642 { |
3383 "initialization": " = 0", | 3643 "initialization": " = 0", |
3384 "name": "arg2", | 3644 "name": "arg2", |
3385 "orthanc_cast": "arg2", | 3645 "orthanc_cast": "arg2", |
3386 "python_format": "k", | 3646 "python_format": "k", |
3387 "python_type": "unsigned long" | 3647 "python_type": "unsigned long", |
3648 "sdk_type": "uint32_t" | |
3388 } | 3649 } |
3389 ], | 3650 ], |
3390 "c_function": "OrthancPluginDecodeDicomImage", | 3651 "c_function": "OrthancPluginDecodeDicomImage", |
3391 "call_args": ", arg0.buf, arg0.len, arg2", | 3652 "call_args": ", arg0.buf, arg0.len, arg2", |
3392 "count_args": 2, | 3653 "count_args": 2, |
3393 "has_args": true, | 3654 "has_args": true, |
3394 "return_object": "OrthancPluginImage", | 3655 "return_object": "OrthancPluginImage", |
3656 "return_sdk_type": "OrthancPluginImage *", | |
3395 "short_name": "DecodeDicomImage", | 3657 "short_name": "DecodeDicomImage", |
3396 "tuple_format": "\"s*k\", &arg0, &arg2" | 3658 "tuple_format": "\"s*k\", &arg0, &arg2" |
3397 }, | 3659 }, |
3398 { | 3660 { |
3399 "args": [ | 3661 "args": [ |
3400 { | 3662 { |
3401 "name": "arg0", | 3663 "name": "arg0", |
3402 "orthanc_cast": "arg0.buf, arg0.len", | 3664 "orthanc_cast": "arg0.buf, arg0.len", |
3403 "python_format": "s*", | 3665 "python_format": "s*", |
3404 "python_type": "Py_buffer", | 3666 "python_type": "Py_buffer", |
3405 "release": "PyBuffer_Release(&arg0);" | 3667 "release": "PyBuffer_Release(&arg0);", |
3668 "sdk_type": "void_pointer_with_size" | |
3406 } | 3669 } |
3407 ], | 3670 ], |
3408 "c_function": "OrthancPluginComputeMd5", | 3671 "c_function": "OrthancPluginComputeMd5", |
3409 "call_args": ", arg0.buf, arg0.len", | 3672 "call_args": ", arg0.buf, arg0.len", |
3410 "count_args": 1, | 3673 "count_args": 1, |
3411 "has_args": true, | 3674 "has_args": true, |
3412 "return_dynamic_string": true, | 3675 "return_dynamic_string": true, |
3676 "return_sdk_type": "char *", | |
3413 "short_name": "ComputeMd5", | 3677 "short_name": "ComputeMd5", |
3414 "tuple_format": "\"s*\", &arg0" | 3678 "tuple_format": "\"s*\", &arg0" |
3415 }, | 3679 }, |
3416 { | 3680 { |
3417 "args": [ | 3681 "args": [ |
3418 { | 3682 { |
3419 "name": "arg0", | 3683 "name": "arg0", |
3420 "orthanc_cast": "arg0.buf, arg0.len", | 3684 "orthanc_cast": "arg0.buf, arg0.len", |
3421 "python_format": "s*", | 3685 "python_format": "s*", |
3422 "python_type": "Py_buffer", | 3686 "python_type": "Py_buffer", |
3423 "release": "PyBuffer_Release(&arg0);" | 3687 "release": "PyBuffer_Release(&arg0);", |
3688 "sdk_type": "void_pointer_with_size" | |
3424 } | 3689 } |
3425 ], | 3690 ], |
3426 "c_function": "OrthancPluginComputeSha1", | 3691 "c_function": "OrthancPluginComputeSha1", |
3427 "call_args": ", arg0.buf, arg0.len", | 3692 "call_args": ", arg0.buf, arg0.len", |
3428 "count_args": 1, | 3693 "count_args": 1, |
3429 "has_args": true, | 3694 "has_args": true, |
3430 "return_dynamic_string": true, | 3695 "return_dynamic_string": true, |
3696 "return_sdk_type": "char *", | |
3431 "short_name": "ComputeSha1", | 3697 "short_name": "ComputeSha1", |
3432 "tuple_format": "\"s*\", &arg0" | 3698 "tuple_format": "\"s*\", &arg0" |
3433 }, | 3699 }, |
3434 { | 3700 { |
3435 "args": [], | 3701 "args": [], |
3436 "c_function": "OrthancPluginGenerateUuid", | 3702 "c_function": "OrthancPluginGenerateUuid", |
3437 "return_dynamic_string": true, | 3703 "return_dynamic_string": true, |
3704 "return_sdk_type": "char *", | |
3438 "short_name": "GenerateUuid", | 3705 "short_name": "GenerateUuid", |
3439 "tuple_format": "\"\", " | 3706 "tuple_format": "\"\", " |
3440 }, | 3707 }, |
3441 { | 3708 { |
3442 "args": [ | 3709 "args": [ |
3443 { | 3710 { |
3444 "name": "arg0", | 3711 "name": "arg0", |
3445 "orthanc_cast": "arg0.buf, arg0.len", | 3712 "orthanc_cast": "arg0.buf, arg0.len", |
3446 "python_format": "s*", | 3713 "python_format": "s*", |
3447 "python_type": "Py_buffer", | 3714 "python_type": "Py_buffer", |
3448 "release": "PyBuffer_Release(&arg0);" | 3715 "release": "PyBuffer_Release(&arg0);", |
3716 "sdk_type": "void_pointer_with_size" | |
3449 } | 3717 } |
3450 ], | 3718 ], |
3451 "c_function": "OrthancPluginCreateFindMatcher", | 3719 "c_function": "OrthancPluginCreateFindMatcher", |
3452 "call_args": ", arg0.buf, arg0.len", | 3720 "call_args": ", arg0.buf, arg0.len", |
3453 "count_args": 1, | 3721 "count_args": 1, |
3454 "has_args": true, | 3722 "has_args": true, |
3455 "return_object": "OrthancPluginFindMatcher", | 3723 "return_object": "OrthancPluginFindMatcher", |
3724 "return_sdk_type": "OrthancPluginFindMatcher *", | |
3456 "short_name": "CreateFindMatcher", | 3725 "short_name": "CreateFindMatcher", |
3457 "tuple_format": "\"s*\", &arg0" | 3726 "tuple_format": "\"s*\", &arg0" |
3458 }, | 3727 }, |
3459 { | 3728 { |
3460 "args": [], | 3729 "args": [], |
3461 "c_function": "OrthancPluginGetPeers", | 3730 "c_function": "OrthancPluginGetPeers", |
3462 "return_object": "OrthancPluginPeers", | 3731 "return_object": "OrthancPluginPeers", |
3732 "return_sdk_type": "OrthancPluginPeers *", | |
3463 "short_name": "GetPeers", | 3733 "short_name": "GetPeers", |
3464 "tuple_format": "\"\", " | 3734 "tuple_format": "\"\", " |
3465 }, | 3735 }, |
3466 { | 3736 { |
3467 "args": [ | 3737 "args": [ |
3468 { | 3738 { |
3469 "initialization": " = NULL", | 3739 "initialization": " = NULL", |
3470 "name": "arg0", | 3740 "name": "arg0", |
3471 "orthanc_cast": "arg0", | 3741 "orthanc_cast": "arg0", |
3472 "python_format": "s", | 3742 "python_format": "s", |
3473 "python_type": "const char*" | 3743 "python_type": "const char*", |
3744 "sdk_type": "const char *" | |
3474 } | 3745 } |
3475 ], | 3746 ], |
3476 "c_function": "OrthancPluginAutodetectMimeType", | 3747 "c_function": "OrthancPluginAutodetectMimeType", |
3477 "call_args": ", arg0", | 3748 "call_args": ", arg0", |
3478 "count_args": 1, | 3749 "count_args": 1, |
3479 "has_args": true, | 3750 "has_args": true, |
3751 "return_sdk_type": "const char *", | |
3480 "return_static_string": true, | 3752 "return_static_string": true, |
3481 "short_name": "AutodetectMimeType", | 3753 "short_name": "AutodetectMimeType", |
3482 "tuple_format": "\"s\", &arg0" | 3754 "tuple_format": "\"s\", &arg0" |
3483 }, | 3755 }, |
3484 { | 3756 { |
3486 { | 3758 { |
3487 "initialization": " = NULL", | 3759 "initialization": " = NULL", |
3488 "name": "arg0", | 3760 "name": "arg0", |
3489 "orthanc_cast": "arg0", | 3761 "orthanc_cast": "arg0", |
3490 "python_format": "s", | 3762 "python_format": "s", |
3491 "python_type": "const char*" | 3763 "python_type": "const char*", |
3764 "sdk_type": "const char *" | |
3492 }, | 3765 }, |
3493 { | 3766 { |
3494 "initialization": " = 0", | 3767 "initialization": " = 0", |
3495 "name": "arg1", | 3768 "name": "arg1", |
3496 "orthanc_cast": "arg1", | 3769 "orthanc_cast": "arg1", |
3497 "python_format": "f", | 3770 "python_format": "f", |
3498 "python_type": "float" | 3771 "python_type": "float", |
3772 "sdk_type": "float" | |
3499 }, | 3773 }, |
3500 { | 3774 { |
3501 "initialization": " = 0", | 3775 "initialization": " = 0", |
3502 "name": "arg2", | 3776 "name": "arg2", |
3503 "orthanc_cast": "static_cast<OrthancPluginMetricsType>(arg2)", | 3777 "orthanc_cast": "static_cast<OrthancPluginMetricsType>(arg2)", |
3504 "python_format": "l", | 3778 "python_format": "l", |
3505 "python_type": "long int" | 3779 "python_type": "long int", |
3780 "sdk_type": "OrthancPluginMetricsType" | |
3506 } | 3781 } |
3507 ], | 3782 ], |
3508 "c_function": "OrthancPluginSetMetricsValue", | 3783 "c_function": "OrthancPluginSetMetricsValue", |
3509 "call_args": ", arg0, arg1, static_cast<OrthancPluginMetricsType>(arg2)", | 3784 "call_args": ", arg0, arg1, static_cast<OrthancPluginMetricsType>(arg2)", |
3510 "count_args": 3, | 3785 "count_args": 3, |
3511 "has_args": true, | 3786 "has_args": true, |
3787 "return_sdk_type": "void", | |
3512 "return_void": true, | 3788 "return_void": true, |
3513 "short_name": "SetMetricsValue", | 3789 "short_name": "SetMetricsValue", |
3514 "tuple_format": "\"sfl\", &arg0, &arg1, &arg2" | 3790 "tuple_format": "\"sfl\", &arg0, &arg1, &arg2" |
3515 }, | 3791 }, |
3516 { | 3792 { |
3518 { | 3794 { |
3519 "initialization": " = 0", | 3795 "initialization": " = 0", |
3520 "name": "arg0", | 3796 "name": "arg0", |
3521 "orthanc_cast": "arg0", | 3797 "orthanc_cast": "arg0", |
3522 "python_format": "H", | 3798 "python_format": "H", |
3523 "python_type": "unsigned short" | 3799 "python_type": "unsigned short", |
3800 "sdk_type": "uint16_t" | |
3524 }, | 3801 }, |
3525 { | 3802 { |
3526 "initialization": " = 0", | 3803 "initialization": " = 0", |
3527 "name": "arg1", | 3804 "name": "arg1", |
3528 "orthanc_cast": "arg1", | 3805 "orthanc_cast": "arg1", |
3529 "python_format": "H", | 3806 "python_format": "H", |
3530 "python_type": "unsigned short" | 3807 "python_type": "unsigned short", |
3808 "sdk_type": "uint16_t" | |
3531 }, | 3809 }, |
3532 { | 3810 { |
3533 "initialization": " = NULL", | 3811 "initialization": " = NULL", |
3534 "name": "arg2", | 3812 "name": "arg2", |
3535 "orthanc_cast": "arg2", | 3813 "orthanc_cast": "arg2", |
3536 "python_format": "s", | 3814 "python_format": "s", |
3537 "python_type": "const char*" | 3815 "python_type": "const char*", |
3816 "sdk_type": "const char *" | |
3538 } | 3817 } |
3539 ], | 3818 ], |
3540 "c_function": "OrthancPluginGetTagName", | 3819 "c_function": "OrthancPluginGetTagName", |
3541 "call_args": ", arg0, arg1, arg2", | 3820 "call_args": ", arg0, arg1, arg2", |
3542 "count_args": 3, | 3821 "count_args": 3, |
3543 "has_args": true, | 3822 "has_args": true, |
3544 "return_dynamic_string": true, | 3823 "return_dynamic_string": true, |
3824 "return_sdk_type": "char *", | |
3545 "short_name": "GetTagName", | 3825 "short_name": "GetTagName", |
3546 "tuple_format": "\"HHs\", &arg0, &arg1, &arg2" | 3826 "tuple_format": "\"HHs\", &arg0, &arg1, &arg2" |
3547 }, | 3827 }, |
3548 { | 3828 { |
3549 "args": [ | 3829 "args": [ |
3550 { | 3830 { |
3551 "name": "arg0", | 3831 "name": "arg0", |
3552 "orthanc_cast": "arg0.buf, arg0.len", | 3832 "orthanc_cast": "arg0.buf, arg0.len", |
3553 "python_format": "s*", | 3833 "python_format": "s*", |
3554 "python_type": "Py_buffer", | 3834 "python_type": "Py_buffer", |
3555 "release": "PyBuffer_Release(&arg0);" | 3835 "release": "PyBuffer_Release(&arg0);", |
3836 "sdk_type": "void_pointer_with_size" | |
3556 } | 3837 } |
3557 ], | 3838 ], |
3558 "c_function": "OrthancPluginCreateDicomInstance", | 3839 "c_function": "OrthancPluginCreateDicomInstance", |
3559 "call_args": ", arg0.buf, arg0.len", | 3840 "call_args": ", arg0.buf, arg0.len", |
3560 "count_args": 1, | 3841 "count_args": 1, |
3561 "has_args": true, | 3842 "has_args": true, |
3562 "return_object": "OrthancPluginDicomInstance", | 3843 "return_object": "OrthancPluginDicomInstance", |
3844 "return_sdk_type": "OrthancPluginDicomInstance *", | |
3563 "short_name": "CreateDicomInstance", | 3845 "short_name": "CreateDicomInstance", |
3564 "tuple_format": "\"s*\", &arg0" | 3846 "tuple_format": "\"s*\", &arg0" |
3565 }, | 3847 }, |
3566 { | 3848 { |
3567 "args": [ | 3849 "args": [ |
3568 { | 3850 { |
3569 "name": "arg0", | 3851 "name": "arg0", |
3570 "orthanc_cast": "arg0.buf, arg0.len", | 3852 "orthanc_cast": "arg0.buf, arg0.len", |
3571 "python_format": "s*", | 3853 "python_format": "s*", |
3572 "python_type": "Py_buffer", | 3854 "python_type": "Py_buffer", |
3573 "release": "PyBuffer_Release(&arg0);" | 3855 "release": "PyBuffer_Release(&arg0);", |
3856 "sdk_type": "void_pointer_with_size" | |
3574 }, | 3857 }, |
3575 { | 3858 { |
3576 "initialization": " = NULL", | 3859 "initialization": " = NULL", |
3577 "name": "arg2", | 3860 "name": "arg2", |
3578 "orthanc_cast": "arg2", | 3861 "orthanc_cast": "arg2", |
3579 "python_format": "s", | 3862 "python_format": "s", |
3580 "python_type": "const char*" | 3863 "python_type": "const char*", |
3864 "sdk_type": "const char *" | |
3581 } | 3865 } |
3582 ], | 3866 ], |
3583 "c_function": "OrthancPluginTranscodeDicomInstance", | 3867 "c_function": "OrthancPluginTranscodeDicomInstance", |
3584 "call_args": ", arg0.buf, arg0.len, arg2", | 3868 "call_args": ", arg0.buf, arg0.len, arg2", |
3585 "count_args": 2, | 3869 "count_args": 2, |
3586 "has_args": true, | 3870 "has_args": true, |
3587 "return_object": "OrthancPluginDicomInstance", | 3871 "return_object": "OrthancPluginDicomInstance", |
3872 "return_sdk_type": "OrthancPluginDicomInstance *", | |
3588 "short_name": "TranscodeDicomInstance", | 3873 "short_name": "TranscodeDicomInstance", |
3589 "tuple_format": "\"s*s\", &arg0, &arg2" | 3874 "tuple_format": "\"s*s\", &arg0, &arg2" |
3590 }, | 3875 }, |
3591 { | 3876 { |
3592 "args": [ | 3877 "args": [ |
3593 { | 3878 { |
3594 "initialization": " = 0", | 3879 "initialization": " = 0", |
3595 "name": "arg0", | 3880 "name": "arg0", |
3596 "orthanc_cast": "arg0", | 3881 "orthanc_cast": "arg0", |
3597 "python_format": "k", | 3882 "python_format": "k", |
3598 "python_type": "unsigned long" | 3883 "python_type": "unsigned long", |
3884 "sdk_type": "uint32_t" | |
3599 } | 3885 } |
3600 ], | 3886 ], |
3601 "c_function": "OrthancPluginCreateMemoryBuffer", | 3887 "c_function": "OrthancPluginCreateMemoryBuffer", |
3602 "call_args": ", arg0", | 3888 "call_args": ", arg0", |
3603 "count_args": 1, | 3889 "count_args": 1, |
3604 "has_args": true, | 3890 "has_args": true, |
3605 "return_bytes": true, | 3891 "return_bytes": true, |
3892 "return_sdk_type": "OrthancPluginMemoryBuffer *", | |
3606 "short_name": "CreateMemoryBuffer", | 3893 "short_name": "CreateMemoryBuffer", |
3607 "tuple_format": "\"k\", &arg0" | 3894 "tuple_format": "\"k\", &arg0" |
3608 }, | 3895 }, |
3609 { | 3896 { |
3610 "args": [], | 3897 "args": [], |
3611 "c_function": "OrthancPluginGenerateRestApiAuthorizationToken", | 3898 "c_function": "OrthancPluginGenerateRestApiAuthorizationToken", |
3612 "return_dynamic_string": true, | 3899 "return_dynamic_string": true, |
3900 "return_sdk_type": "char *", | |
3613 "short_name": "GenerateRestApiAuthorizationToken", | 3901 "short_name": "GenerateRestApiAuthorizationToken", |
3614 "tuple_format": "\"\", " | 3902 "tuple_format": "\"\", " |
3615 } | 3903 } |
3616 ] | 3904 ] |
3617 } | 3905 } |