annotate OrthancCppClient/SharedLibrary/AUTOGENERATED/ExternC.cpp @ 837:a4d2be5154a9

missing file
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Jun 2014 13:01:02 +0200
parents 55bce9b55054
children a04fa8586114
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
528
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 /**
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 * Laaw - Lightweight, Automated API Wrapper
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 * Copyright (C) 2010-2013 Jomago - Alain Mazy, Benjamin Golinvaux,
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4 * Sebastien Jodogne
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 *
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6 * This program is free software: you can redistribute it and/or
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 * modify it under the terms of the GNU General Public License as
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8 * published by the Free Software Foundation, either version 3 of the
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9 * License, or (at your option) any later version.
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10 *
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11 * In addition, as a special exception, the copyright holders of this
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12 * program give permission to link the code of its release with the
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13 * OpenSSL project's "OpenSSL" library (or with modified versions of it
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
14 * that use the same license as the "OpenSSL" library), and distribute
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
15 * the linked executables. You must obey the GNU General Public License
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
16 * in all respects for all of the code used other than "OpenSSL". If you
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
17 * modify file(s) with this exception, you may extend this exception to
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
18 * your version of the file(s), but you are not obligated to do so. If
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
19 * you do not wish to do so, delete this exception statement from your
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
20 * version. If you delete this exception statement from all source files
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21 * in the program, then also delete it here.
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22 *
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23 * This program is distributed in the hope that it will be useful, but
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
24 * WITHOUT ANY WARRANTY; without even the implied warranty of
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
26 * General Public License for more details.
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
27 *
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
28 * You should have received a copy of the GNU General Public License
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
29 * along with this program. If not, see <http://www.gnu.org/licenses/>.
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
30 **/
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
31
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
32
728
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
33 #include <laaw/laaw.h>
528
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
34 #include <string.h> // For strcpy() and strlen()
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
35 #include <stdlib.h> // For free()
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
36
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
37 static char* LAAW_EXTERNC_CopyString(const char* str)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
38 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
39 char* copy = reinterpret_cast<char*>(malloc(strlen(str) + 1));
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
40 strcpy(copy, str);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
41 return copy;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
42 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
43
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
44 extern "C"
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
45 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
46 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_1f1acb322ea4d0aad65172824607673c(void** newObject, const char* arg0)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
47 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
48 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
49 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
50 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
51 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
52 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
53
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
54 *newObject = new OrthancClient::OrthancConnection(reinterpret_cast< const char* >(arg0));
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
55
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
56 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
57 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
58 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
59 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
60 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
61 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
62 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
63 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
64 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
65 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
66 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
67
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
68 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_f3fd272e4636f6a531aabb72ee01cd5b(void** newObject, const char* arg0, const char* arg1, const char* arg2)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
69 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
70 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
71 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
72 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
73 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
74 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
75
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
76 *newObject = new OrthancClient::OrthancConnection(reinterpret_cast< const char* >(arg0), reinterpret_cast< const char* >(arg1), reinterpret_cast< const char* >(arg2));
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
77
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
78 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
79 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
80 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
81 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
82 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
83 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
84 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
85 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
86 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
87 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
88 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
89
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
90 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_12d3de0a96e9efb11136a9811bb9ed38(void* thisObject)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
91 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
92 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
93 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
94 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
95 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
96 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
97
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
98 delete static_cast<OrthancClient::OrthancConnection*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
99
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
100 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
101 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
102 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
103 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
104 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
105 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
106 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
107 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
108 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
109 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
110 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
111
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
112 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_557aee7b61817292a0f31269d3c35db7(const void* thisObject, uint32_t* result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
113 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
114 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
115 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
116 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
117 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
118 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
119
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
120 const OrthancClient::OrthancConnection* this_ = static_cast<const OrthancClient::OrthancConnection*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
121 *result = this_->GetThreadCount();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
122
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
123 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
124 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
125 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
126 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
127 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
128 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
129 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
130 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
131 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
132 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
133 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
134
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
135 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_0b8dff0ce67f10954a49b059e348837e(void* thisObject, uint32_t arg0)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
136 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
137 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
138 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
139 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
140 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
141 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
142
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
143 OrthancClient::OrthancConnection* this_ = static_cast<OrthancClient::OrthancConnection*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
144 this_->SetThreadCount(arg0);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
145
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
146 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
147 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
148 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
149 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
150 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
151 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
152 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
153 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
154 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
155 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
156 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
157
593
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
158 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_e05097c153f676e5a5ee54dcfc78256f(void* thisObject)
528
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
159 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
160 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
161 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
162 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
163 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
164 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
165
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
166 OrthancClient::OrthancConnection* this_ = static_cast<OrthancClient::OrthancConnection*>(thisObject);
593
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
167 this_->Reload();
528
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
168
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
169 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
170 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
171 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
172 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
173 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
174 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
175 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
176 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
177 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
178 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
179 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
180
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
181 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_e840242bf58d17d3c1d722da09ce88e0(const void* thisObject, const char** result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
182 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
183 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
184 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
185 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
186 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
187 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
188
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
189 const OrthancClient::OrthancConnection* this_ = static_cast<const OrthancClient::OrthancConnection*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
190 *result = this_->GetOrthancUrl();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
191
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
192 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
193 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
194 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
195 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
196 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
197 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
198 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
199 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
200 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
201 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
202 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
203
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
204 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_c9af31433001b5dfc012a552dc6d0050(void* thisObject, uint32_t* result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
205 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
206 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
207 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
208 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
209 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
210 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
211
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
212 OrthancClient::OrthancConnection* this_ = static_cast<OrthancClient::OrthancConnection*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
213 *result = this_->GetPatientCount();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
214
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
215 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
216 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
217 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
218 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
219 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
220 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
221 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
222 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
223 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
224 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
225 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
226
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
227 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_3fba4d6b818180a44cd1cae6046334dc(void* thisObject, void** result, uint32_t arg0)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
228 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
229 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
230 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
231 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
232 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
233 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
234
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
235 OrthancClient::OrthancConnection* this_ = static_cast<OrthancClient::OrthancConnection*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
236 *result = &this_->GetPatient(arg0);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
237
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
238 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
239 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
240 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
241 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
242 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
243 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
244 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
245 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
246 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
247 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
248 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
249
540
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
250 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_aeb20dc75b9246188db857317e5e0ce7(void* thisObject, uint32_t arg0)
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
251 {
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
252 try
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
253 {
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
254 #ifdef LAAW_EXTERNC_START_FUNCTION
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
255 LAAW_EXTERNC_START_FUNCTION;
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
256 #endif
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
257
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
258 OrthancClient::OrthancConnection* this_ = static_cast<OrthancClient::OrthancConnection*>(thisObject);
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
259 this_->DeletePatient(arg0);
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
260
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
261 return NULL;
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
262 }
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
263 catch (::Laaw::LaawException& e)
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
264 {
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
265 return LAAW_EXTERNC_CopyString(e.What());
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
266 }
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
267 catch (...)
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
268 {
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
269 return LAAW_EXTERNC_CopyString("...");
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
270 }
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
271 }
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
272
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
273 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_62689803d9871e4d9c51a648640b320b(void* thisObject, const char* arg0)
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
274 {
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
275 try
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
276 {
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
277 #ifdef LAAW_EXTERNC_START_FUNCTION
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
278 LAAW_EXTERNC_START_FUNCTION;
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
279 #endif
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
280
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
281 OrthancClient::OrthancConnection* this_ = static_cast<OrthancClient::OrthancConnection*>(thisObject);
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
282 this_->StoreFile(reinterpret_cast< const char* >(arg0));
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
283
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
284 return NULL;
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
285 }
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
286 catch (::Laaw::LaawException& e)
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
287 {
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
288 return LAAW_EXTERNC_CopyString(e.What());
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
289 }
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
290 catch (...)
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
291 {
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
292 return LAAW_EXTERNC_CopyString("...");
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
293 }
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
294 }
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
295
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
296 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_2fb64c9e5a67eccd413b0e913469a421(void* thisObject, const void* arg0, uint64_t arg1)
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
297 {
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
298 try
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
299 {
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
300 #ifdef LAAW_EXTERNC_START_FUNCTION
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
301 LAAW_EXTERNC_START_FUNCTION;
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
302 #endif
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
303
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
304 OrthancClient::OrthancConnection* this_ = static_cast<OrthancClient::OrthancConnection*>(thisObject);
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
305 this_->Store(reinterpret_cast< const void* >(arg0), arg1);
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
306
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
307 return NULL;
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
308 }
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
309 catch (::Laaw::LaawException& e)
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
310 {
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
311 return LAAW_EXTERNC_CopyString(e.What());
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
312 }
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
313 catch (...)
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
314 {
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
315 return LAAW_EXTERNC_CopyString("...");
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
316 }
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
317 }
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
318
528
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
319 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_6cf0d7268667f9b0aa4511bacf184919(void** newObject, void* arg0, const char* arg1)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
320 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
321 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
322 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
323 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
324 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
325 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
326
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
327 *newObject = new OrthancClient::Patient(*reinterpret_cast< ::OrthancClient::OrthancConnection* >(arg0), reinterpret_cast< const char* >(arg1));
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
328
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
329 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
330 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
331 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
332 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
333 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
334 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
335 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
336 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
337 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
338 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
339 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
340
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
341 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_7d81cd502ee27e859735d0ea7112b5a1(void* thisObject)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
342 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
343 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
344 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
345 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
346 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
347 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
348
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
349 delete static_cast<OrthancClient::Patient*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
350
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
351 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
352 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
353 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
354 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
355 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
356 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
357 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
358 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
359 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
360 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
361 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
362
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
363 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_f756172daf04516eec3a566adabb4335(void* thisObject)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
364 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
365 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
366 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
367 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
368 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
369 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
370
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
371 OrthancClient::Patient* this_ = static_cast<OrthancClient::Patient*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
372 this_->Reload();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
373
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
374 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
375 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
376 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
377 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
378 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
379 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
380 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
381 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
382 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
383 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
384 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
385
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
386 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_ddb68763ec902a97d579666a73a20118(void* thisObject, uint32_t* result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
387 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
388 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
389 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
390 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
391 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
392 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
393
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
394 OrthancClient::Patient* this_ = static_cast<OrthancClient::Patient*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
395 *result = this_->GetStudyCount();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
396
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
397 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
398 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
399 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
400 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
401 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
402 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
403 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
404 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
405 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
406 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
407 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
408
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
409 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_fba3c68b4be7558dbc65f7ce1ab57d63(void* thisObject, void** result, uint32_t arg0)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
410 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
411 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
412 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
413 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
414 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
415 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
416
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
417 OrthancClient::Patient* this_ = static_cast<OrthancClient::Patient*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
418 *result = &this_->GetStudy(arg0);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
419
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
420 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
421 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
422 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
423 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
424 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
425 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
426 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
427 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
428 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
429 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
430 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
431
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
432 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_b4ca99d958f843493e58d1ef967340e1(const void* thisObject, const char** result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
433 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
434 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
435 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
436 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
437 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
438 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
439
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
440 const OrthancClient::Patient* this_ = static_cast<const OrthancClient::Patient*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
441 *result = this_->GetId();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
442
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
443 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
444 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
445 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
446 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
447 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
448 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
449 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
450 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
451 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
452 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
453 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
454
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
455 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_78d5cc76d282437b6f93ec3b82c35701(const void* thisObject, const char** result, const char* arg0, const char* arg1)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
456 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
457 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
458 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
459 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
460 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
461 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
462
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
463 const OrthancClient::Patient* this_ = static_cast<const OrthancClient::Patient*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
464 *result = this_->GetMainDicomTag(reinterpret_cast< const char* >(arg0), reinterpret_cast< const char* >(arg1));
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
465
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
466 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
467 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
468 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
469 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
470 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
471 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
472 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
473 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
474 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
475 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
476 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
477
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
478 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_193599b9e345384fcdfcd47c29c55342(void** newObject, void* arg0, const char* arg1)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
479 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
480 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
481 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
482 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
483 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
484 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
485
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
486 *newObject = new OrthancClient::Series(*reinterpret_cast< ::OrthancClient::OrthancConnection* >(arg0), reinterpret_cast< const char* >(arg1));
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
487
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
488 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
489 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
490 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
491 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
492 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
493 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
494 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
495 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
496 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
497 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
498 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
499
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
500 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_7c97f17063a357d38c5fab1136ad12a0(void* thisObject)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
501 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
502 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
503 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
504 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
505 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
506 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
507
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
508 delete static_cast<OrthancClient::Series*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
509
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
510 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
511 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
512 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
513 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
514 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
515 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
516 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
517 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
518 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
519 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
520 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
521
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
522 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_48a2a1a9d68c047e22bfba23014643d2(void* thisObject)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
523 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
524 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
525 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
526 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
527 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
528 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
529
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
530 OrthancClient::Series* this_ = static_cast<OrthancClient::Series*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
531 this_->Reload();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
532
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
533 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
534 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
535 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
536 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
537 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
538 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
539 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
540 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
541 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
542 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
543 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
544
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
545 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_852bf8296ca21c5fde5ec565cc10721d(void* thisObject, uint32_t* result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
546 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
547 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
548 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
549 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
550 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
551 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
552
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
553 OrthancClient::Series* this_ = static_cast<OrthancClient::Series*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
554 *result = this_->GetInstanceCount();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
555
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
556 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
557 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
558 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
559 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
560 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
561 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
562 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
563 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
564 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
565 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
566 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
567
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
568 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_efd04574e0779faa83df1f2d8f9888db(void* thisObject, void** result, uint32_t arg0)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
569 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
570 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
571 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
572 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
573 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
574 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
575
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
576 OrthancClient::Series* this_ = static_cast<OrthancClient::Series*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
577 *result = &this_->GetInstance(arg0);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
578
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
579 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
580 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
581 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
582 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
583 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
584 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
585 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
586 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
587 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
588 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
589 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
590
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
591 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_736247ff5e8036dac38163da6f666ed5(const void* thisObject, const char** result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
592 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
593 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
594 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
595 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
596 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
597 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
598
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
599 const OrthancClient::Series* this_ = static_cast<const OrthancClient::Series*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
600 *result = this_->GetId();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
601
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
602 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
603 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
604 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
605 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
606 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
607 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
608 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
609 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
610 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
611 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
612 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
613
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
614 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_d82d2598a7a73f4b6fcc0c09c25b08ca(const void* thisObject, const char** result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
615 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
616 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
617 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
618 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
619 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
620 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
621
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
622 const OrthancClient::Series* this_ = static_cast<const OrthancClient::Series*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
623 *result = this_->GetUrl();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
624
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
625 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
626 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
627 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
628 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
629 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
630 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
631 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
632 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
633 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
634 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
635 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
636
593
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
637 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_88134b978f9acb2aecdadf54aeab3c64(const void* thisObject, const char** result, const char* arg0, const char* arg1)
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
638 {
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
639 try
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
640 {
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
641 #ifdef LAAW_EXTERNC_START_FUNCTION
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
642 LAAW_EXTERNC_START_FUNCTION;
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
643 #endif
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
644
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
645 const OrthancClient::Series* this_ = static_cast<const OrthancClient::Series*>(thisObject);
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
646 *result = this_->GetMainDicomTag(reinterpret_cast< const char* >(arg0), reinterpret_cast< const char* >(arg1));
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
647
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
648 return NULL;
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
649 }
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
650 catch (::Laaw::LaawException& e)
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
651 {
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
652 return LAAW_EXTERNC_CopyString(e.What());
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
653 }
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
654 catch (...)
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
655 {
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
656 return LAAW_EXTERNC_CopyString("...");
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
657 }
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
658 }
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
659
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
660 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_152cb1b704c053d24b0dab7461ba6ea3(void* thisObject, int32_t* result)
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
661 {
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
662 try
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
663 {
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
664 #ifdef LAAW_EXTERNC_START_FUNCTION
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
665 LAAW_EXTERNC_START_FUNCTION;
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
666 #endif
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
667
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
668 OrthancClient::Series* this_ = static_cast<OrthancClient::Series*>(thisObject);
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
669 *result = this_->Is3DImage();
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
670
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
671 return NULL;
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
672 }
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
673 catch (::Laaw::LaawException& e)
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
674 {
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
675 return LAAW_EXTERNC_CopyString(e.What());
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
676 }
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
677 catch (...)
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
678 {
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
679 return LAAW_EXTERNC_CopyString("...");
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
680 }
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
681 }
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
682
528
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
683 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_eee03f337ec81d9f1783cd41e5238757(void* thisObject, uint32_t* result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
684 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
685 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
686 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
687 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
688 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
689 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
690
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
691 OrthancClient::Series* this_ = static_cast<OrthancClient::Series*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
692 *result = this_->GetWidth();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
693
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
694 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
695 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
696 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
697 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
698 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
699 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
700 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
701 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
702 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
703 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
704 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
705
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
706 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_006f08237bd7611636fc721baebfb4c5(void* thisObject, uint32_t* result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
707 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
708 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
709 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
710 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
711 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
712 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
713
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
714 OrthancClient::Series* this_ = static_cast<OrthancClient::Series*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
715 *result = this_->GetHeight();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
716
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
717 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
718 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
719 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
720 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
721 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
722 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
723 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
724 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
725 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
726 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
727 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
728
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
729 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_b794f5cd3dad7d7b575dd1fd902afdd0(void* thisObject, float* result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
730 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
731 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
732 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
733 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
734 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
735 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
736
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
737 OrthancClient::Series* this_ = static_cast<OrthancClient::Series*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
738 *result = this_->GetVoxelSizeX();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
739
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
740 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
741 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
742 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
743 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
744 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
745 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
746 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
747 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
748 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
749 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
750 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
751
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
752 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_8ee2e50dd9df8f66a3c1766090dd03ab(void* thisObject, float* result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
753 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
754 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
755 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
756 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
757 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
758 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
759
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
760 OrthancClient::Series* this_ = static_cast<OrthancClient::Series*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
761 *result = this_->GetVoxelSizeY();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
762
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
763 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
764 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
765 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
766 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
767 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
768 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
769 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
770 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
771 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
772 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
773 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
774
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
775 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_046aed35bbe4751691f4c34cc249a61d(void* thisObject, float* result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
776 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
777 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
778 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
779 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
780 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
781 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
782
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
783 OrthancClient::Series* this_ = static_cast<OrthancClient::Series*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
784 *result = this_->GetVoxelSizeZ();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
785
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
786 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
787 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
788 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
789 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
790 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
791 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
792 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
793 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
794 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
795 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
796 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
797
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
798 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_4dcc7a0fd025efba251ac6e9b701c2c5(void* thisObject, void* arg0, int32_t arg1, int64_t arg2, int64_t arg3)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
799 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
800 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
801 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
802 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
803 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
804 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
805
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
806 OrthancClient::Series* this_ = static_cast<OrthancClient::Series*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
807 this_->Load3DImage(reinterpret_cast< void* >(arg0), static_cast< ::Orthanc::PixelFormat >(arg1), arg2, arg3);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
808
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
809 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
810 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
811 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
812 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
813 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
814 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
815 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
816 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
817 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
818 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
819 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
820
548
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
821 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_b2601a161c24ad0a1d3586246f87452c(void* thisObject, void* arg0, int32_t arg1, int64_t arg2, int64_t arg3, float* arg4)
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
822 {
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
823 try
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
824 {
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
825 #ifdef LAAW_EXTERNC_START_FUNCTION
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
826 LAAW_EXTERNC_START_FUNCTION;
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
827 #endif
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
828
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
829 OrthancClient::Series* this_ = static_cast<OrthancClient::Series*>(thisObject);
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
830 this_->Load3DImage(reinterpret_cast< void* >(arg0), static_cast< ::Orthanc::PixelFormat >(arg1), arg2, arg3, reinterpret_cast< float* >(arg4));
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
831
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
832 return NULL;
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
833 }
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
834 catch (::Laaw::LaawException& e)
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
835 {
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
836 return LAAW_EXTERNC_CopyString(e.What());
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
837 }
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
838 catch (...)
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
839 {
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
840 return LAAW_EXTERNC_CopyString("...");
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
841 }
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
842 }
ffedcc8f0938 progress
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 540
diff changeset
843
528
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
844 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_b01c6003238eb46c8db5dc823d7ca678(void** newObject, void* arg0, const char* arg1)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
845 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
846 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
847 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
848 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
849 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
850 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
851
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
852 *newObject = new OrthancClient::Study(*reinterpret_cast< ::OrthancClient::OrthancConnection* >(arg0), reinterpret_cast< const char* >(arg1));
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
853
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
854 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
855 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
856 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
857 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
858 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
859 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
860 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
861 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
862 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
863 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
864 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
865
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
866 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_0147007fb99bad8cd95a139ec8795376(void* thisObject)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
867 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
868 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
869 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
870 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
871 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
872 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
873
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
874 delete static_cast<OrthancClient::Study*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
875
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
876 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
877 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
878 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
879 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
880 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
881 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
882 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
883 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
884 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
885 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
886 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
887
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
888 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_e65b20b7e0170b67544cd6664a4639b7(void* thisObject)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
889 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
890 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
891 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
892 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
893 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
894 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
895
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
896 OrthancClient::Study* this_ = static_cast<OrthancClient::Study*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
897 this_->Reload();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
898
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
899 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
900 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
901 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
902 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
903 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
904 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
905 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
906 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
907 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
908 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
909 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
910
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
911 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_470e981b0e41f17231ba0ae6f3033321(void* thisObject, uint32_t* result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
912 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
913 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
914 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
915 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
916 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
917 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
918
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
919 OrthancClient::Study* this_ = static_cast<OrthancClient::Study*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
920 *result = this_->GetSeriesCount();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
921
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
922 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
923 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
924 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
925 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
926 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
927 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
928 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
929 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
930 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
931 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
932 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
933
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
934 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_04cefd138b6ea15ad909858f2a0a8f05(void* thisObject, void** result, uint32_t arg0)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
935 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
936 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
937 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
938 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
939 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
940 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
941
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
942 OrthancClient::Study* this_ = static_cast<OrthancClient::Study*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
943 *result = &this_->GetSeries(arg0);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
944
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
945 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
946 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
947 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
948 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
949 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
950 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
951 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
952 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
953 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
954 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
955 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
956
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
957 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_aee5b1f6f0c082f2c3b0986f9f6a18c7(const void* thisObject, const char** result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
958 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
959 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
960 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
961 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
962 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
963 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
964
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
965 const OrthancClient::Study* this_ = static_cast<const OrthancClient::Study*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
966 *result = this_->GetId();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
967
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
968 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
969 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
970 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
971 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
972 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
973 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
974 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
975 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
976 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
977 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
978 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
979
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
980 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_93965682bace75491413e1f0b8d5a654(const void* thisObject, const char** result, const char* arg0, const char* arg1)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
981 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
982 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
983 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
984 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
985 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
986 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
987
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
988 const OrthancClient::Study* this_ = static_cast<const OrthancClient::Study*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
989 *result = this_->GetMainDicomTag(reinterpret_cast< const char* >(arg0), reinterpret_cast< const char* >(arg1));
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
990
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
991 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
992 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
993 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
994 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
995 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
996 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
997 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
998 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
999 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1000 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1001 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1002
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1003 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_6c5ad02f91b583e29cebd0bd319ce21d(void** newObject, void* arg0, const char* arg1)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1004 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1005 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1006 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1007 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1008 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1009 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1010
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1011 *newObject = new OrthancClient::Instance(*reinterpret_cast< ::OrthancClient::OrthancConnection* >(arg0), reinterpret_cast< const char* >(arg1));
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1012
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1013 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1014 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1015 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1016 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1017 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1018 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1019 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1020 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1021 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1022 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1023 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1024
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1025 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_4068241c44a9c1367fe0e57be523f207(void* thisObject)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1026 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1027 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1028 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1029 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1030 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1031 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1032
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1033 delete static_cast<OrthancClient::Instance*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1034
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1035 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1036 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1037 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1038 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1039 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1040 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1041 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1042 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1043 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1044 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1045 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1046
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1047 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_236ee8b403bc99535a8a4695c0cd45cb(const void* thisObject, const char** result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1048 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1049 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1050 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1051 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1052 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1053 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1054
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1055 const OrthancClient::Instance* this_ = static_cast<const OrthancClient::Instance*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1056 *result = this_->GetId();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1057
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1058 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1059 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1060 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1061 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1062 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1063 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1064 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1065 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1066 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1067 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1068 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1069
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1070 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_2a437b7aba6bb01e81113835be8f0146(void* thisObject, int32_t arg0)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1071 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1072 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1073 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1074 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1075 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1076 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1077
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1078 OrthancClient::Instance* this_ = static_cast<OrthancClient::Instance*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1079 this_->SetImageExtractionMode(static_cast< ::Orthanc::ImageExtractionMode >(arg0));
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1080
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1081 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1082 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1083 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1084 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1085 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1086 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1087 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1088 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1089 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1090 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1091 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1092
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1093 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_2bcbcb850934ae0bb4c6f0cc940e6cda(const void* thisObject, int32_t* result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1094 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1095 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1096 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1097 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1098 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1099 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1100
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1101 const OrthancClient::Instance* this_ = static_cast<const OrthancClient::Instance*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1102 *result = this_->GetImageExtractionMode();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1103
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1104 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1105 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1106 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1107 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1108 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1109 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1110 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1111 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1112 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1113 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1114 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1115
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1116 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_8d415c3a78a48e7e61d9fd24e7c79484(const void* thisObject, const char** result, const char* arg0)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1117 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1118 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1119 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1120 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1121 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1122 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1123
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1124 const OrthancClient::Instance* this_ = static_cast<const OrthancClient::Instance*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1125 *result = this_->GetTagAsString(reinterpret_cast< const char* >(arg0));
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1126
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1127 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1128 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1129 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1130 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1131 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1132 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1133 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1134 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1135 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1136 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1137 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1138
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1139 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_70d2f8398bbc63b5f792b69b4ad5fecb(const void* thisObject, float* result, const char* arg0)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1140 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1141 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1142 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1143 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1144 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1145 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1146
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1147 const OrthancClient::Instance* this_ = static_cast<const OrthancClient::Instance*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1148 *result = this_->GetTagAsFloat(reinterpret_cast< const char* >(arg0));
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1149
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1150 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1151 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1152 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1153 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1154 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1155 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1156 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1157 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1158 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1159 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1160 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1161
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1162 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_1729a067d902771517388eedd7346b23(const void* thisObject, int32_t* result, const char* arg0)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1163 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1164 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1165 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1166 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1167 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1168 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1169
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1170 const OrthancClient::Instance* this_ = static_cast<const OrthancClient::Instance*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1171 *result = this_->GetTagAsInt(reinterpret_cast< const char* >(arg0));
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1172
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1173 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1174 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1175 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1176 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1177 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1178 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1179 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1180 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1181 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1182 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1183 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1184
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1185 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_72e2aeee66cd3abd8ab7e987321c3745(void* thisObject, uint32_t* result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1186 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1187 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1188 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1189 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1190 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1191 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1192
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1193 OrthancClient::Instance* this_ = static_cast<OrthancClient::Instance*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1194 *result = this_->GetWidth();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1195
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1196 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1197 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1198 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1199 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1200 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1201 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1202 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1203 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1204 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1205 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1206 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1207
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1208 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_1ea3df5a1ac1a1a687fe7325adddb6f0(void* thisObject, uint32_t* result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1209 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1210 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1211 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1212 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1213 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1214 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1215
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1216 OrthancClient::Instance* this_ = static_cast<OrthancClient::Instance*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1217 *result = this_->GetHeight();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1218
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1219 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1220 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1221 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1222 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1223 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1224 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1225 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1226 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1227 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1228 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1229 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1230
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1231 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_99b4f370e4f532d8b763e2cb49db92f8(void* thisObject, uint32_t* result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1232 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1233 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1234 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1235 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1236 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1237 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1238
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1239 OrthancClient::Instance* this_ = static_cast<OrthancClient::Instance*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1240 *result = this_->GetPitch();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1241
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1242 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1243 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1244 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1245 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1246 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1247 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1248 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1249 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1250 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1251 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1252 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1253
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1254 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_c41c742b68617f1c0590577a0a5ebc0c(void* thisObject, int32_t* result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1255 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1256 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1257 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1258 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1259 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1260 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1261
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1262 OrthancClient::Instance* this_ = static_cast<OrthancClient::Instance*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1263 *result = this_->GetPixelFormat();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1264
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1265 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1266 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1267 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1268 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1269 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1270 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1271 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1272 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1273 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1274 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1275 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1276
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1277 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_142dd2feba0fc1d262bbd0baeb441a8b(void* thisObject, const void** result)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1278 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1279 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1280 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1281 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1282 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1283 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1284
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1285 OrthancClient::Instance* this_ = static_cast<OrthancClient::Instance*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1286 *result = this_->GetBuffer();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1287
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1288 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1289 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1290 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1291 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1292 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1293 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1294 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1295 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1296 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1297 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1298 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1299
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1300 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_5f5c9f81a4dff8daa6c359f1d0488fef(void* thisObject, const void** result, uint32_t arg0)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1301 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1302 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1303 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1304 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1305 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1306 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1307
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1308 OrthancClient::Instance* this_ = static_cast<OrthancClient::Instance*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1309 *result = this_->GetBuffer(arg0);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1310
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1311 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1312 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1313 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1314 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1315 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1316 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1317 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1318 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1319 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1320 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1321 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1322
593
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1323 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_9ca979fffd08fa256306d4e68d8b0e91(void* thisObject, uint64_t* result)
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1324 {
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1325 try
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1326 {
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1327 #ifdef LAAW_EXTERNC_START_FUNCTION
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1328 LAAW_EXTERNC_START_FUNCTION;
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1329 #endif
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1330
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1331 OrthancClient::Instance* this_ = static_cast<OrthancClient::Instance*>(thisObject);
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1332 *result = this_->GetDicomSize();
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1333
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1334 return NULL;
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1335 }
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1336 catch (::Laaw::LaawException& e)
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1337 {
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1338 return LAAW_EXTERNC_CopyString(e.What());
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1339 }
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1340 catch (...)
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1341 {
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1342 return LAAW_EXTERNC_CopyString("...");
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1343 }
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1344 }
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1345
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1346 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_6f2d77a26edc91c28d89408dbc3c271e(void* thisObject, const void** result)
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1347 {
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1348 try
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1349 {
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1350 #ifdef LAAW_EXTERNC_START_FUNCTION
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1351 LAAW_EXTERNC_START_FUNCTION;
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1352 #endif
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1353
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1354 OrthancClient::Instance* this_ = static_cast<OrthancClient::Instance*>(thisObject);
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1355 *result = this_->GetDicom();
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1356
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1357 return NULL;
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1358 }
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1359 catch (::Laaw::LaawException& e)
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1360 {
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1361 return LAAW_EXTERNC_CopyString(e.What());
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1362 }
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1363 catch (...)
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1364 {
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1365 return LAAW_EXTERNC_CopyString("...");
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1366 }
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1367 }
9d2592c08919 documentation completed
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 575
diff changeset
1368
528
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1369 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_c0f494b80d4ff8b232df7a75baa0700a(void* thisObject)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1370 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1371 try
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1372 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1373 #ifdef LAAW_EXTERNC_START_FUNCTION
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1374 LAAW_EXTERNC_START_FUNCTION;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1375 #endif
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1376
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1377 OrthancClient::Instance* this_ = static_cast<OrthancClient::Instance*>(thisObject);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1378 this_->DiscardImage();
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1379
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1380 return NULL;
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1381 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1382 catch (::Laaw::LaawException& e)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1383 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1384 return LAAW_EXTERNC_CopyString(e.What());
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1385 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1386 catch (...)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1387 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1388 return LAAW_EXTERNC_CopyString("...");
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1389 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1390 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1391
540
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1392 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_d604f44bd5195e082e745e9cbc164f4c(void* thisObject)
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1393 {
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1394 try
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1395 {
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1396 #ifdef LAAW_EXTERNC_START_FUNCTION
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1397 LAAW_EXTERNC_START_FUNCTION;
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1398 #endif
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1399
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1400 OrthancClient::Instance* this_ = static_cast<OrthancClient::Instance*>(thisObject);
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1401 this_->DiscardDicom();
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1402
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1403 return NULL;
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1404 }
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1405 catch (::Laaw::LaawException& e)
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1406 {
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1407 return LAAW_EXTERNC_CopyString(e.What());
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1408 }
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1409 catch (...)
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1410 {
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1411 return LAAW_EXTERNC_CopyString("...");
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1412 }
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1413 }
eaca3d38b2aa many fixes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 528
diff changeset
1414
728
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1415 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_1710299d1c5f3b1f2b7cf3962deebbfd(void* thisObject, const char* arg0)
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1416 {
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1417 try
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1418 {
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1419 #ifdef LAAW_EXTERNC_START_FUNCTION
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1420 LAAW_EXTERNC_START_FUNCTION;
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1421 #endif
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1422
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1423 OrthancClient::Instance* this_ = static_cast<OrthancClient::Instance*>(thisObject);
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1424 this_->LoadTagContent(reinterpret_cast< const char* >(arg0));
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1425
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1426 return NULL;
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1427 }
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1428 catch (::Laaw::LaawException& e)
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1429 {
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1430 return LAAW_EXTERNC_CopyString(e.What());
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1431 }
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1432 catch (...)
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1433 {
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1434 return LAAW_EXTERNC_CopyString("...");
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1435 }
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1436 }
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1437
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1438 LAAW_EXPORT_DLL_API char* LAAW_CALL_CONVENTION LAAW_EXTERNC_bb55aaf772ddceaadee36f4e54136bcb(const void* thisObject, const char** result)
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1439 {
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1440 try
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1441 {
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1442 #ifdef LAAW_EXTERNC_START_FUNCTION
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1443 LAAW_EXTERNC_START_FUNCTION;
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1444 #endif
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1445
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1446 const OrthancClient::Instance* this_ = static_cast<const OrthancClient::Instance*>(thisObject);
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1447 *result = this_->GetLoadedTagContent();
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1448
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1449 return NULL;
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1450 }
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1451 catch (::Laaw::LaawException& e)
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1452 {
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1453 return LAAW_EXTERNC_CopyString(e.What());
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1454 }
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1455 catch (...)
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1456 {
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1457 return LAAW_EXTERNC_CopyString("...");
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1458 }
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1459 }
d380222b4c2a Load a raw tag from the DICOM file
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 719
diff changeset
1460
528
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1461
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1462 LAAW_EXPORT_DLL_API const char* LAAW_CALL_CONVENTION LAAW_EXTERNC_GetDescription()
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1463 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1464 return "Native client to the REST API of Orthanc";
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1465 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1466
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1467 LAAW_EXPORT_DLL_API const char* LAAW_CALL_CONVENTION LAAW_EXTERNC_GetCompany()
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1468 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1469 return "CHU of Liege";
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1470 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1471
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1472 LAAW_EXPORT_DLL_API const char* LAAW_CALL_CONVENTION LAAW_EXTERNC_GetProduct()
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1473 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1474 return "OrthancClient";
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1475 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1476
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1477 LAAW_EXPORT_DLL_API const char* LAAW_CALL_CONVENTION LAAW_EXTERNC_GetCopyright()
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1478 {
719
32465ad22bda set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 669
diff changeset
1479 return "(c) 2012-2014, Sebastien Jodogne, CHU of Liege";
528
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1480 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1481
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1482 LAAW_EXPORT_DLL_API const char* LAAW_CALL_CONVENTION LAAW_EXTERNC_GetVersion()
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1483 {
629
0526d6246cc3 set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 597
diff changeset
1484 return "0.7";
528
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1485 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1486
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1487 LAAW_EXPORT_DLL_API const char* LAAW_CALL_CONVENTION LAAW_EXTERNC_GetFileVersion()
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1488 {
820
55bce9b55054 set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 755
diff changeset
1489 return "0.7.0.5";
528
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1490 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1491
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1492 LAAW_EXPORT_DLL_API const char* LAAW_CALL_CONVENTION LAAW_EXTERNC_GetFullVersion()
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1493 {
820
55bce9b55054 set version
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 755
diff changeset
1494 return "0.7.5";
528
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1495 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1496
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1497 LAAW_EXPORT_DLL_API void LAAW_CALL_CONVENTION LAAW_EXTERNC_FreeString(char* str)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1498 {
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1499 if (str != NULL)
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1500 free(str);
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1501 }
a65f808de5bd packaging
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1502 }