comparison OrthancCppClient/Package/AUTOGENERATED/ExternC.cpp @ 540:eaca3d38b2aa laaw

many fixes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 12 Sep 2013 12:55:07 +0200
parents a65f808de5bd
children ffedcc8f0938
comparison
equal deleted inserted replaced
537:2890721b0f57 540:eaca3d38b2aa
153 { 153 {
154 return LAAW_EXTERNC_CopyString("..."); 154 return LAAW_EXTERNC_CopyString("...");
155 } 155 }
156 } 156 }
157 157
158 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_e05097c153f676e5a5ee54dcfc78256f(void* thisObject) 158 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_d7497fd24e4b453f2965bae9ef8330b0(void* thisObject)
159 { 159 {
160 try 160 try
161 { 161 {
162 #ifdef LAAW_EXTERNC_START_FUNCTION 162 #ifdef LAAW_EXTERNC_START_FUNCTION
163 LAAW_EXTERNC_START_FUNCTION; 163 LAAW_EXTERNC_START_FUNCTION;
164 #endif 164 #endif
165 165
166 OrthancClient::OrthancConnection* this_ = static_cast<OrthancClient::OrthancConnection*>(thisObject); 166 OrthancClient::OrthancConnection* this_ = static_cast<OrthancClient::OrthancConnection*>(thisObject);
167 this_->Reload(); 167 this_->Refresh();
168 168
169 return NULL; 169 return NULL;
170 } 170 }
171 catch (::Laaw::LaawException& e) 171 catch (::Laaw::LaawException& e)
172 { 172 {
245 { 245 {
246 return LAAW_EXTERNC_CopyString("..."); 246 return LAAW_EXTERNC_CopyString("...");
247 } 247 }
248 } 248 }
249 249
250 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_aeb20dc75b9246188db857317e5e0ce7(void* thisObject, uint32_t arg0)
251 {
252 try
253 {
254 #ifdef LAAW_EXTERNC_START_FUNCTION
255 LAAW_EXTERNC_START_FUNCTION;
256 #endif
257
258 OrthancClient::OrthancConnection* this_ = static_cast<OrthancClient::OrthancConnection*>(thisObject);
259 this_->DeletePatient(arg0);
260
261 return NULL;
262 }
263 catch (::Laaw::LaawException& e)
264 {
265 return LAAW_EXTERNC_CopyString(e.What());
266 }
267 catch (...)
268 {
269 return LAAW_EXTERNC_CopyString("...");
270 }
271 }
272
273 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_62689803d9871e4d9c51a648640b320b(void* thisObject, const char* arg0)
274 {
275 try
276 {
277 #ifdef LAAW_EXTERNC_START_FUNCTION
278 LAAW_EXTERNC_START_FUNCTION;
279 #endif
280
281 OrthancClient::OrthancConnection* this_ = static_cast<OrthancClient::OrthancConnection*>(thisObject);
282 this_->StoreFile(reinterpret_cast< const char* >(arg0));
283
284 return NULL;
285 }
286 catch (::Laaw::LaawException& e)
287 {
288 return LAAW_EXTERNC_CopyString(e.What());
289 }
290 catch (...)
291 {
292 return LAAW_EXTERNC_CopyString("...");
293 }
294 }
295
296 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_2fb64c9e5a67eccd413b0e913469a421(void* thisObject, const void* arg0, uint64_t arg1)
297 {
298 try
299 {
300 #ifdef LAAW_EXTERNC_START_FUNCTION
301 LAAW_EXTERNC_START_FUNCTION;
302 #endif
303
304 OrthancClient::OrthancConnection* this_ = static_cast<OrthancClient::OrthancConnection*>(thisObject);
305 this_->Store(reinterpret_cast< const void* >(arg0), arg1);
306
307 return NULL;
308 }
309 catch (::Laaw::LaawException& e)
310 {
311 return LAAW_EXTERNC_CopyString(e.What());
312 }
313 catch (...)
314 {
315 return LAAW_EXTERNC_CopyString("...");
316 }
317 }
318
250 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_6cf0d7268667f9b0aa4511bacf184919(void** newObject, void* arg0, const char* arg1) 319 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_6cf0d7268667f9b0aa4511bacf184919(void** newObject, void* arg0, const char* arg1)
251 { 320 {
252 try 321 try
253 { 322 {
254 #ifdef LAAW_EXTERNC_START_FUNCTION 323 #ifdef LAAW_EXTERNC_START_FUNCTION
1236 LAAW_EXTERNC_START_FUNCTION; 1305 LAAW_EXTERNC_START_FUNCTION;
1237 #endif 1306 #endif
1238 1307
1239 OrthancClient::Instance* this_ = static_cast<OrthancClient::Instance*>(thisObject); 1308 OrthancClient::Instance* this_ = static_cast<OrthancClient::Instance*>(thisObject);
1240 this_->DiscardImage(); 1309 this_->DiscardImage();
1310
1311 return NULL;
1312 }
1313 catch (::Laaw::LaawException& e)
1314 {
1315 return LAAW_EXTERNC_CopyString(e.What());
1316 }
1317 catch (...)
1318 {
1319 return LAAW_EXTERNC_CopyString("...");
1320 }
1321 }
1322
1323 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_d604f44bd5195e082e745e9cbc164f4c(void* thisObject)
1324 {
1325 try
1326 {
1327 #ifdef LAAW_EXTERNC_START_FUNCTION
1328 LAAW_EXTERNC_START_FUNCTION;
1329 #endif
1330
1331 OrthancClient::Instance* this_ = static_cast<OrthancClient::Instance*>(thisObject);
1332 this_->DiscardDicom();
1333
1334 return NULL;
1335 }
1336 catch (::Laaw::LaawException& e)
1337 {
1338 return LAAW_EXTERNC_CopyString(e.What());
1339 }
1340 catch (...)
1341 {
1342 return LAAW_EXTERNC_CopyString("...");
1343 }
1344 }
1345
1346 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_9ca979fffd08fa256306d4e68d8b0e91(void* thisObject, uint64_t* result)
1347 {
1348 try
1349 {
1350 #ifdef LAAW_EXTERNC_START_FUNCTION
1351 LAAW_EXTERNC_START_FUNCTION;
1352 #endif
1353
1354 OrthancClient::Instance* this_ = static_cast<OrthancClient::Instance*>(thisObject);
1355 *result = this_->GetDicomSize();
1356
1357 return NULL;
1358 }
1359 catch (::Laaw::LaawException& e)
1360 {
1361 return LAAW_EXTERNC_CopyString(e.What());
1362 }
1363 catch (...)
1364 {
1365 return LAAW_EXTERNC_CopyString("...");
1366 }
1367 }
1368
1369 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_6f2d77a26edc91c28d89408dbc3c271e(void* thisObject, const void** result)
1370 {
1371 try
1372 {
1373 #ifdef LAAW_EXTERNC_START_FUNCTION
1374 LAAW_EXTERNC_START_FUNCTION;
1375 #endif
1376
1377 OrthancClient::Instance* this_ = static_cast<OrthancClient::Instance*>(thisObject);
1378 *result = this_->GetDicom();
1241 1379
1242 return NULL; 1380 return NULL;
1243 } 1381 }
1244 catch (::Laaw::LaawException& e) 1382 catch (::Laaw::LaawException& e)
1245 { 1383 {