6 #include <dali/public-api/common/extents.h>
13 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Extents__SWIG_0() {
15 Dali::Extents *result = 0 ;
19 result = (Dali::Extents *)new Dali::Extents();
20 } catch (std::out_of_range& e) {
22 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
24 } catch (std::exception& e) {
26 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
30 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
34 jresult = (void *)result;
39 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Extents__SWIG_1(void * jarg1) {
41 Dali::Extents *arg1 = 0 ;
42 Dali::Extents *result = 0 ;
44 arg1 = (Dali::Extents *)jarg1;
46 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Extents const & type is null", 0);
51 result = (Dali::Extents *)new Dali::Extents((Dali::Extents const &)*arg1);
52 } catch (std::out_of_range& e) {
54 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
56 } catch (std::exception& e) {
58 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
62 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
66 jresult = (void *)result;
71 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Extents__SWIG_2(unsigned short jarg1, unsigned short jarg2, unsigned short jarg3, unsigned short jarg4) {
77 Dali::Extents *result = 0 ;
79 arg1 = (uint16_t)jarg1;
80 arg2 = (uint16_t)jarg2;
81 arg3 = (uint16_t)jarg3;
82 arg4 = (uint16_t)jarg4;
85 result = (Dali::Extents *)new Dali::Extents(arg1, arg2, arg3, arg4);
86 } catch (std::out_of_range& e) {
88 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
90 } catch (std::exception& e) {
92 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
96 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
100 jresult = (void *)result;
105 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Extents_Assign__SWIG_0(void * jarg1, void * jarg2) {
107 Dali::Extents *arg1 = (Dali::Extents *) 0 ;
108 Dali::Extents *arg2 = 0 ;
109 Dali::Extents *result = 0 ;
111 arg1 = (Dali::Extents *)jarg1;
112 arg2 = (Dali::Extents *)jarg2;
114 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Extents const & type is null", 0);
119 result = (Dali::Extents *) &(arg1)->operator =((Dali::Extents const &)*arg2);
120 } catch (std::out_of_range& e) {
122 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
124 } catch (std::exception& e) {
126 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
130 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
134 jresult = (void *)result;
139 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Extents_Assign__SWIG_1(void * jarg1, void * jarg2) {
141 Dali::Extents *arg1 = (Dali::Extents *) 0 ;
142 uint16_t *arg2 = (uint16_t *) 0 ;
143 Dali::Extents *result = 0 ;
145 arg1 = (Dali::Extents *)jarg1;
146 arg2 = (uint16_t *)jarg2;
149 result = (Dali::Extents *) &(arg1)->operator =((uint16_t const *)arg2);
150 } catch (std::out_of_range& e) {
152 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
154 } catch (std::exception& e) {
156 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
160 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
164 jresult = (void *)result;
169 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Extents_EqualTo(void * jarg1, void * jarg2) {
170 unsigned int jresult ;
171 Dali::Extents *arg1 = (Dali::Extents *) 0 ;
172 Dali::Extents *arg2 = 0 ;
175 arg1 = (Dali::Extents *)jarg1;
176 arg2 = (Dali::Extents *)jarg2;
178 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Extents const & type is null", 0);
183 result = (bool)((Dali::Extents const *)arg1)->operator ==((Dali::Extents const &)*arg2);
184 } catch (std::out_of_range& e) {
186 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
188 } catch (std::exception& e) {
190 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
194 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
203 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Extents_NotEqualTo(void * jarg1, void * jarg2) {
204 unsigned int jresult ;
205 Dali::Extents *arg1 = (Dali::Extents *) 0 ;
206 Dali::Extents *arg2 = 0 ;
209 arg1 = (Dali::Extents *)jarg1;
210 arg2 = (Dali::Extents *)jarg2;
212 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Extents const & type is null", 0);
217 result = (bool)((Dali::Extents const *)arg1)->operator !=((Dali::Extents const &)*arg2);
218 } catch (std::out_of_range& e) {
220 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
222 } catch (std::exception& e) {
224 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
228 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
237 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Extents_start_set(void * jarg1, unsigned short jarg2) {
238 Dali::Extents *arg1 = (Dali::Extents *) 0 ;
241 arg1 = (Dali::Extents *)jarg1;
242 arg2 = (uint16_t)jarg2;
243 if (arg1) (arg1)->start = arg2;
247 SWIGEXPORT unsigned short SWIGSTDCALL CSharp_Dali_Extents_start_get(void * jarg1) {
248 unsigned short jresult ;
249 Dali::Extents *arg1 = (Dali::Extents *) 0 ;
252 arg1 = (Dali::Extents *)jarg1;
253 result = ((arg1)->start);
259 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Extents_end_set(void * jarg1, unsigned short jarg2) {
260 Dali::Extents *arg1 = (Dali::Extents *) 0 ;
263 arg1 = (Dali::Extents *)jarg1;
264 arg2 = (uint16_t)jarg2;
265 if (arg1) (arg1)->end = arg2;
269 SWIGEXPORT unsigned short SWIGSTDCALL CSharp_Dali_Extents_end_get(void * jarg1) {
270 unsigned short jresult ;
271 Dali::Extents *arg1 = (Dali::Extents *) 0 ;
274 arg1 = (Dali::Extents *)jarg1;
275 result = ((arg1)->end);
281 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Extents_top_set(void * jarg1, unsigned short jarg2) {
282 Dali::Extents *arg1 = (Dali::Extents *) 0 ;
285 arg1 = (Dali::Extents *)jarg1;
286 arg2 = (uint16_t)jarg2;
287 if (arg1) (arg1)->top = arg2;
291 SWIGEXPORT unsigned short SWIGSTDCALL CSharp_Dali_Extents_top_get(void * jarg1) {
292 unsigned short jresult ;
293 Dali::Extents *arg1 = (Dali::Extents *) 0 ;
296 arg1 = (Dali::Extents *)jarg1;
297 result = ((arg1)->top);
303 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Extents_bottom_set(void * jarg1, unsigned short jarg2) {
304 Dali::Extents *arg1 = (Dali::Extents *) 0 ;
307 arg1 = (Dali::Extents *)jarg1;
308 arg2 = (uint16_t)jarg2;
309 if (arg1) (arg1)->bottom = arg2;
313 SWIGEXPORT unsigned short SWIGSTDCALL CSharp_Dali_Extents_bottom_get(void * jarg1) {
314 unsigned short jresult ;
315 Dali::Extents *arg1 = (Dali::Extents *) 0 ;
318 arg1 = (Dali::Extents *)jarg1;
319 result = ((arg1)->bottom);
325 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Extents(void * jarg1) {
326 Dali::Extents *arg1 = (Dali::Extents *) 0 ;
328 arg1 = (Dali::Extents *)jarg1;
332 } catch (std::out_of_range& e) {
334 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
336 } catch (std::exception& e) {
338 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
342 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;