comparison Sources/Autogenerated/CodeModel.json @ 149:0705e324fcc8

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