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