2 * Copyright (c) 2018 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #include "layout-group-wrapper-impl.h"
27 extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback;
29 using namespace Dali::Toolkit;
31 SwigDirector_LayoutGroupWrapperImpl::SwigDirector_LayoutGroupWrapperImpl() : Dali::Toolkit::Internal::LayoutGroup()
33 swig_init_callbacks();
36 SwigDirector_LayoutGroupWrapperImpl::~SwigDirector_LayoutGroupWrapperImpl()
41 Dali::Toolkit::Internal::LayoutParent *SwigDirector_LayoutGroupWrapperImpl::GetParent()
43 Dali::Toolkit::Internal::LayoutParent *c_result = 0 ;
46 if (!swig_callbackGetParent)
48 return Dali::Toolkit::Internal::LayoutItem::GetParent();
52 jresult = (void *) swig_callbackGetParent();
53 c_result = (Dali::Toolkit::Internal::LayoutParent *)jresult;
58 void SwigDirector_LayoutGroupWrapperImpl::OnMeasure(Dali::Toolkit::MeasureSpec widthMeasureSpec, Dali::Toolkit::MeasureSpec heightMeasureSpec)
60 void * jwidthMeasureSpec ;
61 void * jheightMeasureSpec ;
63 if (!swig_callbackOnMeasure)
65 Dali::Toolkit::Internal::LayoutItem::OnMeasure(widthMeasureSpec,heightMeasureSpec);
70 jwidthMeasureSpec = (void *)new Dali::Toolkit::MeasureSpec((const Dali::Toolkit::MeasureSpec &)widthMeasureSpec);
71 jheightMeasureSpec = (void *)new Dali::Toolkit::MeasureSpec((const Dali::Toolkit::MeasureSpec &)heightMeasureSpec);
72 swig_callbackOnMeasure(jwidthMeasureSpec, jheightMeasureSpec);
76 void SwigDirector_LayoutGroupWrapperImpl::OnLayout(bool changed, Dali::Toolkit::LayoutLength left, Dali::Toolkit::LayoutLength top, Dali::Toolkit::LayoutLength right, Dali::Toolkit::LayoutLength bottom)
78 unsigned int jchanged ;
84 if (!swig_callbackOnLayout)
86 Dali::Toolkit::Internal::LayoutItem::OnLayout(changed,left,top,right,bottom);
92 jleft = (void *)new Dali::Toolkit::LayoutLength((const Dali::Toolkit::LayoutLength &)left);
93 jtop = (void *)new Dali::Toolkit::LayoutLength((const Dali::Toolkit::LayoutLength &)top);
94 jright = (void *)new Dali::Toolkit::LayoutLength((const Dali::Toolkit::LayoutLength &)right);
95 jbottom = (void *)new Dali::Toolkit::LayoutLength((const Dali::Toolkit::LayoutLength &)bottom);
96 swig_callbackOnLayout(jchanged, jleft, jtop, jright, jbottom);
100 void SwigDirector_LayoutGroupWrapperImpl::OnSizeChanged(LayoutSize newSize, LayoutSize oldSize)
105 if (!swig_callbackOnSizeChanged)
107 Dali::Toolkit::Internal::LayoutItem::OnSizeChanged(newSize,oldSize);
112 jnewSize = (void *)new LayoutSize((const LayoutSize &)newSize);
113 joldSize = (void *)new LayoutSize((const LayoutSize &)oldSize);
114 swig_callbackOnSizeChanged(jnewSize, joldSize);
118 void SwigDirector_LayoutGroupWrapperImpl::OnChildAdd(Dali::Toolkit::Internal::LayoutItem &child)
122 if (!swig_callbackOnChildAdd)
124 Dali::Toolkit::Internal::LayoutGroup::OnChildAdd(child);
129 jchild = (Dali::Toolkit::Internal::LayoutItem *) &child;
130 swig_callbackOnChildAdd(jchild);
134 void SwigDirector_LayoutGroupWrapperImpl::OnChildRemove(Dali::Toolkit::Internal::LayoutItem &child)
138 if (!swig_callbackOnChildRemove)
140 Dali::Toolkit::Internal::LayoutGroup::OnChildRemove(child);
145 jchild = (Dali::Toolkit::Internal::LayoutItem *) &child;
146 swig_callbackOnChildRemove(jchild);
150 void SwigDirector_LayoutGroupWrapperImpl::DoInitialize()
152 if (!swig_callbackDoInitialize)
154 Dali::Toolkit::Internal::LayoutGroup::DoInitialize();
159 swig_callbackDoInitialize();
163 void SwigDirector_LayoutGroupWrapperImpl::DoRegisterChildProperties(std::string const &containerType)
165 char * jcontainerType = 0 ;
167 if (!swig_callbackDoRegisterChildProperties)
169 Dali::Toolkit::Internal::LayoutGroup::DoRegisterChildProperties(containerType);
174 jcontainerType = SWIG_csharp_string_callback((&containerType)->c_str());
175 swig_callbackDoRegisterChildProperties(jcontainerType);
179 void SwigDirector_LayoutGroupWrapperImpl::GenerateDefaultChildPropertyValues(Dali::Handle child)
183 if (!swig_callbackGenerateDefaultChildPropertyValues)
185 Dali::Toolkit::Internal::LayoutGroup::GenerateDefaultChildPropertyValues(child);
190 jchild = (void *)new Dali::Handle((const Dali::Handle &)child);
191 swig_callbackGenerateDefaultChildPropertyValues(jchild);
195 void SwigDirector_LayoutGroupWrapperImpl::MeasureChildren(Dali::Toolkit::MeasureSpec widthMeasureSpec, Dali::Toolkit::MeasureSpec heightMeasureSpec)
197 void * jwidthMeasureSpec ;
198 void * jheightMeasureSpec ;
200 if (!swig_callbackMeasureChildren)
202 Dali::Toolkit::Internal::LayoutGroup::MeasureChildren(widthMeasureSpec,heightMeasureSpec);
207 jwidthMeasureSpec = (void *)new Dali::Toolkit::MeasureSpec((const Dali::Toolkit::MeasureSpec &)widthMeasureSpec);
208 jheightMeasureSpec = (void *)new Dali::Toolkit::MeasureSpec((const Dali::Toolkit::MeasureSpec &)heightMeasureSpec);
209 swig_callbackMeasureChildren(jwidthMeasureSpec, jheightMeasureSpec);
213 void SwigDirector_LayoutGroupWrapperImpl::MeasureChild(Dali::Toolkit::Internal::LayoutItemPtr child, Dali::Toolkit::MeasureSpec parentWidthMeasureSpec, Dali::Toolkit::MeasureSpec parentHeightMeasureSpec)
216 void * jparentWidthMeasureSpec ;
217 void * jparentHeightMeasureSpec ;
219 if (!swig_callbackMeasureChild)
221 Dali::Toolkit::Internal::LayoutGroup::MeasureChild(child,parentWidthMeasureSpec,parentHeightMeasureSpec);
226 jchild = (void *)new Dali::Toolkit::Internal::LayoutItemPtr((const Dali::Toolkit::Internal::LayoutItemPtr &)child);
227 jparentWidthMeasureSpec = (void *)new Dali::Toolkit::MeasureSpec((const Dali::Toolkit::MeasureSpec &)parentWidthMeasureSpec);
228 jparentHeightMeasureSpec = (void *)new Dali::Toolkit::MeasureSpec((const Dali::Toolkit::MeasureSpec &)parentHeightMeasureSpec);
229 swig_callbackMeasureChild(jchild, jparentWidthMeasureSpec, jparentHeightMeasureSpec);
233 void SwigDirector_LayoutGroupWrapperImpl::MeasureChildWithMargins(Dali::Toolkit::Internal::LayoutItemPtr child, Dali::Toolkit::MeasureSpec parentWidthMeasureSpec, Dali::Toolkit::LayoutLength widthUsed, Dali::Toolkit::MeasureSpec parentHeightMeasureSpec, Dali::Toolkit::LayoutLength heightUsed)
236 void * jparentWidthMeasureSpec ;
238 void * jparentHeightMeasureSpec ;
241 if (!swig_callbackMeasureChildWithMargins)
243 Dali::Toolkit::Internal::LayoutGroup::MeasureChildWithMargins(child,parentWidthMeasureSpec,widthUsed,parentHeightMeasureSpec,heightUsed);
248 jchild = (void *)new Dali::Toolkit::Internal::LayoutItemPtr((const Dali::Toolkit::Internal::LayoutItemPtr &)child);
249 jparentWidthMeasureSpec = (void *)new Dali::Toolkit::MeasureSpec((const Dali::Toolkit::MeasureSpec &)parentWidthMeasureSpec);
250 jwidthUsed = (void *)new Dali::Toolkit::LayoutLength((const Dali::Toolkit::LayoutLength &)widthUsed);
251 jparentHeightMeasureSpec = (void *)new Dali::Toolkit::MeasureSpec((const Dali::Toolkit::MeasureSpec &)parentHeightMeasureSpec);
252 jheightUsed = (void *)new Dali::Toolkit::LayoutLength((const Dali::Toolkit::LayoutLength &)heightUsed);
253 swig_callbackMeasureChildWithMargins(jchild, jparentWidthMeasureSpec, jwidthUsed, jparentHeightMeasureSpec, jheightUsed);
257 void SwigDirector_LayoutGroupWrapperImpl::swig_connect_director(SWIG_Callback0_t callbackGetParent, SWIG_Callback3_t callbackOnMeasure, SWIG_Callback4_t callbackOnLayout, SWIG_Callback5_t callbackOnSizeChanged, SWIG_Callback6_t callbackOnInitialize, SWIG_Callback7_t callbackOnChildAdd, SWIG_Callback8_t callbackOnChildRemove, SWIG_Callback9_t callbackDoInitialize, SWIG_Callback10_t callbackDoRegisterChildProperties, SWIG_Callback11_t callbackGenerateDefaultChildPropertyValues, SWIG_Callback12_t callbackMeasureChildren, SWIG_Callback13_t callbackMeasureChild, SWIG_Callback14_t callbackMeasureChildWithMargins)
259 swig_callbackGetParent = callbackGetParent;
260 swig_callbackOnMeasure = callbackOnMeasure;
261 swig_callbackOnLayout = callbackOnLayout;
262 swig_callbackOnSizeChanged = callbackOnSizeChanged;
263 swig_callbackOnInitialize = callbackOnInitialize;
264 swig_callbackOnChildAdd = callbackOnChildAdd;
265 swig_callbackOnChildRemove = callbackOnChildRemove;
266 swig_callbackDoInitialize = callbackDoInitialize;
267 swig_callbackDoRegisterChildProperties = callbackDoRegisterChildProperties;
268 swig_callbackGenerateDefaultChildPropertyValues = callbackGenerateDefaultChildPropertyValues;
269 swig_callbackMeasureChildren = callbackMeasureChildren;
270 swig_callbackMeasureChild = callbackMeasureChild;
271 swig_callbackMeasureChildWithMargins = callbackMeasureChildWithMargins;
274 void SwigDirector_LayoutGroupWrapperImpl::swig_init_callbacks()
276 swig_callbackGetParent = 0;
277 swig_callbackOnMeasure = 0;
278 swig_callbackOnLayout = 0;
279 swig_callbackOnSizeChanged = 0;
280 swig_callbackOnInitialize = 0;
281 swig_callbackOnChildAdd = 0;
282 swig_callbackOnChildRemove = 0;
283 swig_callbackDoInitialize = 0;
284 swig_callbackDoRegisterChildProperties = 0;
285 swig_callbackGenerateDefaultChildPropertyValues = 0;
286 swig_callbackMeasureChildren = 0;
287 swig_callbackMeasureChild = 0;
288 swig_callbackMeasureChildWithMargins = 0;
292 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_Add(void * jarg1, void * jarg2) {
293 unsigned int jresult ;
294 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
295 Dali::Toolkit::Internal::LayoutItem *arg2 = 0 ;
296 Dali::Toolkit::LayoutGroup::LayoutId result;
298 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
299 arg2 = (Dali::Toolkit::Internal::LayoutItem *)jarg2;
301 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Internal::LayoutItem & type is null", 0);
306 result = (Dali::Toolkit::LayoutGroup::LayoutId)(arg1)->Add(*arg2);
307 } catch (std::out_of_range& e) {
309 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
311 } catch (std::exception& e) {
313 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
317 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
326 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_Remove__SWIG_0(void * jarg1, unsigned int jarg2) {
327 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
328 Dali::Toolkit::LayoutGroup::LayoutId arg2 ;
330 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
331 arg2 = (Dali::Toolkit::LayoutGroup::LayoutId)jarg2;
334 (arg1)->Remove(arg2);
335 } catch (std::out_of_range& e) {
337 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
339 } catch (std::exception& e) {
341 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
345 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
352 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_Remove__SWIG_1(void * jarg1, void * jarg2) {
353 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
354 Dali::Toolkit::Internal::LayoutItem *arg2 = 0 ;
356 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
357 arg2 = (Dali::Toolkit::Internal::LayoutItem *)jarg2;
359 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Internal::LayoutItem & type is null", 0);
364 (arg1)->Remove(*arg2);
365 } catch (std::out_of_range& e) {
367 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
369 } catch (std::exception& e) {
371 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
375 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
382 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_RemoveAll(void * jarg1) {
383 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
385 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
389 } catch (std::out_of_range& e) {
391 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
393 } catch (std::exception& e) {
395 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
399 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
406 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_GetChildCount(void * jarg1) {
407 unsigned int jresult ;
408 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
411 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
414 result = (unsigned int)((Dali::Toolkit::Internal::LayoutGroup const *)arg1)->GetChildCount();
415 } catch (std::out_of_range& e) {
417 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
419 } catch (std::exception& e) {
421 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
425 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
434 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_GetChildAt(void * jarg1, unsigned int jarg2) {
436 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
438 Dali::Toolkit::Internal::LayoutItemPtr result;
440 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
441 arg2 = (unsigned int)jarg2;
444 result = ((Dali::Toolkit::Internal::LayoutGroup const *)arg1)->GetChildAt(arg2);
445 } catch (std::out_of_range& e) {
447 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
449 } catch (std::exception& e) {
451 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
455 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
459 jresult = new Dali::Toolkit::Internal::LayoutItemPtr((const Dali::Toolkit::Internal::LayoutItemPtr &)result);
464 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_GetChildId(void * jarg1, void * jarg2) {
465 unsigned int jresult ;
466 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
467 Dali::Toolkit::Internal::LayoutItem *arg2 = 0 ;
468 Dali::Toolkit::LayoutGroup::LayoutId result;
470 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
471 arg2 = (Dali::Toolkit::Internal::LayoutItem *)jarg2;
473 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Internal::LayoutItem & type is null", 0);
478 result = (Dali::Toolkit::LayoutGroup::LayoutId)((Dali::Toolkit::Internal::LayoutGroup const *)arg1)->GetChildId(*arg2);
479 } catch (std::out_of_range& e) {
481 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
483 } catch (std::exception& e) {
485 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
489 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
498 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_GetChild(void * jarg1, unsigned int jarg2) {
500 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
501 Dali::Toolkit::LayoutGroup::LayoutId arg2 ;
502 Dali::Toolkit::Internal::LayoutItemPtr result;
504 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
505 arg2 = (Dali::Toolkit::LayoutGroup::LayoutId)jarg2;
508 result = ((Dali::Toolkit::Internal::LayoutGroup const *)arg1)->GetChild(arg2);
509 } catch (std::out_of_range& e) {
511 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
513 } catch (std::exception& e) {
515 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
519 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
523 jresult = new Dali::Toolkit::Internal::LayoutItemPtr((const Dali::Toolkit::Internal::LayoutItemPtr &)result);
528 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_OnChildAdd(void * jarg1, void * jarg2) {
529 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
530 Dali::Toolkit::Internal::LayoutItem *arg2 = 0 ;
532 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
533 arg2 = (Dali::Toolkit::Internal::LayoutItem *)jarg2;
535 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Internal::LayoutItem & type is null", 0);
540 (arg1)->OnChildAdd(*arg2);
541 } catch (std::out_of_range& e) {
543 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
545 } catch (std::exception& e) {
547 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
551 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
558 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_OnChildAddSwigExplicitLayoutGroupWrapperImpl(void * jarg1, void * jarg2) {
559 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
560 Dali::Toolkit::Internal::LayoutItem *arg2 = 0 ;
562 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
563 arg2 = (Dali::Toolkit::Internal::LayoutItem *)jarg2;
565 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Internal::LayoutItem & type is null", 0);
570 (arg1)->Dali::Toolkit::Internal::LayoutGroup::OnChildAdd(*arg2);
571 } catch (std::out_of_range& e) {
573 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
575 } catch (std::exception& e) {
577 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
581 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
588 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_OnChildRemove(void * jarg1, void * jarg2) {
589 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
590 Dali::Toolkit::Internal::LayoutItem *arg2 = 0 ;
592 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
593 arg2 = (Dali::Toolkit::Internal::LayoutItem *)jarg2;
595 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Internal::LayoutItem & type is null", 0);
600 (arg1)->OnChildRemove(*arg2);
601 } catch (std::out_of_range& e) {
603 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
605 } catch (std::exception& e) {
607 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
611 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
618 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_OnChildRemoveSwigExplicitLayoutGroupWrapperImpl(void * jarg1, void * jarg2) {
619 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
620 Dali::Toolkit::Internal::LayoutItem *arg2 = 0 ;
622 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
623 arg2 = (Dali::Toolkit::Internal::LayoutItem *)jarg2;
625 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Internal::LayoutItem & type is null", 0);
630 (arg1)->Dali::Toolkit::Internal::LayoutGroup::OnChildRemove(*arg2);
631 } catch (std::out_of_range& e) {
633 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
635 } catch (std::exception& e) {
637 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
641 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
648 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_GetChildMeasureSpec(void * jarg1, void * jarg2, void * jarg3) {
650 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg1 ;
651 SwigValueWrapper< Dali::Toolkit::LayoutLength > arg2 ;
652 SwigValueWrapper< Dali::Toolkit::LayoutLength > arg3 ;
653 Dali::Toolkit::MeasureSpec *argp1 ;
654 Dali::Toolkit::LayoutLength *argp2 ;
655 Dali::Toolkit::LayoutLength *argp3 ;
656 SwigValueWrapper< Dali::Toolkit::MeasureSpec > result;
658 argp1 = (Dali::Toolkit::MeasureSpec *)jarg1;
660 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
664 argp2 = (Dali::Toolkit::LayoutLength *)jarg2;
666 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::LayoutLength", 0);
670 argp3 = (Dali::Toolkit::LayoutLength *)jarg3;
672 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::LayoutLength", 0);
678 result = Dali::Toolkit::Internal::LayoutGroup::GetChildMeasureSpec(arg1,arg2,arg3);
679 } catch (std::out_of_range& e) {
681 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
683 } catch (std::exception& e) {
685 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
689 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
693 jresult = new Dali::Toolkit::MeasureSpec((const Dali::Toolkit::MeasureSpec &)result);
698 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_DoInitialize(void * jarg1) {
699 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
700 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
702 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
703 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
706 (darg)->DoInitialize();
707 } catch (std::out_of_range& e) {
709 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
711 } catch (std::exception& e) {
713 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
717 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
724 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_DoInitializeSwigExplicitLayoutGroupWrapperImpl(void * jarg1) {
725 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
726 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
728 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
729 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
732 (darg)->DoInitializeSwigPublic();
733 } catch (std::out_of_range& e) {
735 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
737 } catch (std::exception& e) {
739 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
743 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
750 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_DoRegisterChildProperties(void * jarg1, char * jarg2) {
751 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
752 std::string *arg2 = 0 ;
753 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
755 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
757 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
760 std::string arg2_str(jarg2);
762 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
765 (darg)->DoRegisterChildProperties((std::string const &)*arg2);
766 } catch (std::out_of_range& e) {
768 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
770 } catch (std::exception& e) {
772 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
776 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
781 //argout typemap for const std::string&
786 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_DoRegisterChildPropertiesSwigExplicitLayoutGroupWrapperImpl(void * jarg1, char * jarg2) {
787 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
788 std::string *arg2 = 0 ;
789 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
791 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
793 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
796 std::string arg2_str(jarg2);
798 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
801 (darg)->DoRegisterChildPropertiesSwigPublic((std::string const &)*arg2);
802 } catch (std::out_of_range& e) {
804 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
806 } catch (std::exception& e) {
808 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
812 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
817 //argout typemap for const std::string&
822 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_GenerateDefaultChildPropertyValues(void * jarg1, void * jarg2) {
823 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
825 Dali::Handle *argp2 ;
826 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
828 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
829 argp2 = (Dali::Handle *)jarg2;
831 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Handle", 0);
835 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
838 (darg)->GenerateDefaultChildPropertyValues(arg2);
839 } catch (std::out_of_range& e) {
841 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
843 } catch (std::exception& e) {
845 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
849 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
856 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_GenerateDefaultChildPropertyValuesSwigExplicitLayoutGroupWrapperImpl(void * jarg1, void * jarg2) {
857 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
859 Dali::Handle *argp2 ;
860 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
862 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
863 argp2 = (Dali::Handle *)jarg2;
865 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Handle", 0);
869 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
872 (darg)->GenerateDefaultChildPropertyValuesSwigPublic(arg2);
873 } catch (std::out_of_range& e) {
875 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
877 } catch (std::exception& e) {
879 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
883 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
890 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_MeasureChildren(void * jarg1, void * jarg2, void * jarg3) {
891 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
892 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg2 ;
893 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg3 ;
894 Dali::Toolkit::MeasureSpec *argp2 ;
895 Dali::Toolkit::MeasureSpec *argp3 ;
896 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
898 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
899 argp2 = (Dali::Toolkit::MeasureSpec *)jarg2;
901 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
905 argp3 = (Dali::Toolkit::MeasureSpec *)jarg3;
907 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
911 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
914 (darg)->MeasureChildren(arg2,arg3);
915 } catch (std::out_of_range& e) {
917 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
919 } catch (std::exception& e) {
921 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
925 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
932 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_MeasureChildrenSwigExplicitLayoutGroupWrapperImpl(void * jarg1, void * jarg2, void * jarg3) {
933 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
934 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg2 ;
935 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg3 ;
936 Dali::Toolkit::MeasureSpec *argp2 ;
937 Dali::Toolkit::MeasureSpec *argp3 ;
938 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
940 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
941 argp2 = (Dali::Toolkit::MeasureSpec *)jarg2;
943 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
947 argp3 = (Dali::Toolkit::MeasureSpec *)jarg3;
949 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
953 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
956 (darg)->MeasureChildrenSwigPublic(arg2,arg3);
957 } catch (std::out_of_range& e) {
959 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
961 } catch (std::exception& e) {
963 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
967 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
974 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_MeasureChild(void * jarg1, void * jarg2, void * jarg3, void * jarg4) {
975 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
976 Dali::Toolkit::Internal::LayoutItemPtr arg2 ;
977 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg3 ;
978 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg4 ;
979 Dali::Toolkit::Internal::LayoutItemPtr *argp2 ;
980 Dali::Toolkit::MeasureSpec *argp3 ;
981 Dali::Toolkit::MeasureSpec *argp4 ;
982 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
984 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
985 argp2 = (Dali::Toolkit::Internal::LayoutItemPtr *)jarg2;
987 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::Internal::LayoutItemPtr", 0);
991 argp3 = (Dali::Toolkit::MeasureSpec *)jarg3;
993 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
997 argp4 = (Dali::Toolkit::MeasureSpec *)jarg4;
999 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
1003 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
1006 (darg)->MeasureChild(arg2,arg3,arg4);
1007 } catch (std::out_of_range& e) {
1009 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1011 } catch (std::exception& e) {
1013 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1017 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1024 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_MeasureChildSwigExplicitLayoutGroupWrapperImpl(void * jarg1, void * jarg2, void * jarg3, void * jarg4) {
1025 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
1026 Dali::Toolkit::Internal::LayoutItemPtr arg2 ;
1027 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg3 ;
1028 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg4 ;
1029 Dali::Toolkit::Internal::LayoutItemPtr *argp2 ;
1030 Dali::Toolkit::MeasureSpec *argp3 ;
1031 Dali::Toolkit::MeasureSpec *argp4 ;
1032 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
1034 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
1035 argp2 = (Dali::Toolkit::Internal::LayoutItemPtr *)jarg2;
1037 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::Internal::LayoutItemPtr", 0);
1041 argp3 = (Dali::Toolkit::MeasureSpec *)jarg3;
1043 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
1047 argp4 = (Dali::Toolkit::MeasureSpec *)jarg4;
1049 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
1053 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
1056 (darg)->MeasureChildSwigPublic(arg2,arg3,arg4);
1057 } catch (std::out_of_range& e) {
1059 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1061 } catch (std::exception& e) {
1063 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1067 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1074 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_MeasureChildWithMargins(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6) {
1075 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
1076 Dali::Toolkit::Internal::LayoutItemPtr arg2 ;
1077 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg3 ;
1078 SwigValueWrapper< Dali::Toolkit::LayoutLength > arg4 ;
1079 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg5 ;
1080 SwigValueWrapper< Dali::Toolkit::LayoutLength > arg6 ;
1081 Dali::Toolkit::Internal::LayoutItemPtr *argp2 ;
1082 Dali::Toolkit::MeasureSpec *argp3 ;
1083 Dali::Toolkit::LayoutLength *argp4 ;
1084 Dali::Toolkit::MeasureSpec *argp5 ;
1085 Dali::Toolkit::LayoutLength *argp6 ;
1086 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
1088 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
1089 argp2 = (Dali::Toolkit::Internal::LayoutItemPtr *)jarg2;
1091 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::Internal::LayoutItemPtr", 0);
1095 argp3 = (Dali::Toolkit::MeasureSpec *)jarg3;
1097 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
1101 argp4 = (Dali::Toolkit::LayoutLength *)jarg4;
1103 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::LayoutLength", 0);
1107 argp5 = (Dali::Toolkit::MeasureSpec *)jarg5;
1109 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
1113 argp6 = (Dali::Toolkit::LayoutLength *)jarg6;
1115 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::LayoutLength", 0);
1119 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
1122 (darg)->MeasureChildWithMargins(arg2,arg3,arg4,arg5,arg6);
1123 } catch (std::out_of_range& e) {
1125 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1127 } catch (std::exception& e) {
1129 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1133 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1140 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_MeasureChildWithMarginsSwigExplicitLayoutGroupWrapperImpl(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6) {
1141 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
1142 Dali::Toolkit::Internal::LayoutItemPtr arg2 ;
1143 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg3 ;
1144 SwigValueWrapper< Dali::Toolkit::LayoutLength > arg4 ;
1145 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg5 ;
1146 SwigValueWrapper< Dali::Toolkit::LayoutLength > arg6 ;
1147 Dali::Toolkit::Internal::LayoutItemPtr *argp2 ;
1148 Dali::Toolkit::MeasureSpec *argp3 ;
1149 Dali::Toolkit::LayoutLength *argp4 ;
1150 Dali::Toolkit::MeasureSpec *argp5 ;
1151 Dali::Toolkit::LayoutLength *argp6 ;
1152 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
1154 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
1155 argp2 = (Dali::Toolkit::Internal::LayoutItemPtr *)jarg2;
1157 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::Internal::LayoutItemPtr", 0);
1161 argp3 = (Dali::Toolkit::MeasureSpec *)jarg3;
1163 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
1167 argp4 = (Dali::Toolkit::LayoutLength *)jarg4;
1169 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::LayoutLength", 0);
1173 argp5 = (Dali::Toolkit::MeasureSpec *)jarg5;
1175 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
1179 argp6 = (Dali::Toolkit::LayoutLength *)jarg6;
1181 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::LayoutLength", 0);
1185 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
1188 (darg)->MeasureChildWithMarginsSwigPublic(arg2,arg3,arg4,arg5,arg6);
1189 } catch (std::out_of_range& e) {
1191 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1193 } catch (std::exception& e) {
1195 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1199 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1206 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_director_connect(void *objarg, SwigDirector_LayoutGroupWrapperImpl::SWIG_Callback0_t callback0, SwigDirector_LayoutGroupWrapperImpl::SWIG_Callback3_t callback3, SwigDirector_LayoutGroupWrapperImpl::SWIG_Callback4_t callback4, SwigDirector_LayoutGroupWrapperImpl::SWIG_Callback5_t callback5, SwigDirector_LayoutGroupWrapperImpl::SWIG_Callback6_t callback6, SwigDirector_LayoutGroupWrapperImpl::SWIG_Callback7_t callback7, SwigDirector_LayoutGroupWrapperImpl::SWIG_Callback8_t callback8, SwigDirector_LayoutGroupWrapperImpl::SWIG_Callback9_t callback9, SwigDirector_LayoutGroupWrapperImpl::SWIG_Callback10_t callback10, SwigDirector_LayoutGroupWrapperImpl::SWIG_Callback11_t callback11, SwigDirector_LayoutGroupWrapperImpl::SWIG_Callback12_t callback12, SwigDirector_LayoutGroupWrapperImpl::SWIG_Callback13_t callback13, SwigDirector_LayoutGroupWrapperImpl::SWIG_Callback14_t callback14) {
1207 Dali::Toolkit::Internal::LayoutGroup *obj = (Dali::Toolkit::Internal::LayoutGroup *)objarg;
1208 SwigDirector_LayoutGroupWrapperImpl *director = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(obj);
1210 director->swig_connect_director(callback0, callback3, callback4, callback5, callback6, callback7, callback8, callback9, callback10, callback11, callback12, callback13, callback14);
1215 /*SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_GetImplementation__SWIG_2(void * jarg1) {
1217 Dali::Toolkit::LayoutGroup *arg1 = 0 ;
1218 Dali::Toolkit::Internal::LayoutGroup *result = 0 ;
1220 arg1 = (Dali::Toolkit::LayoutGroup *)jarg1;
1222 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::LayoutGroup & type is null", 0);
1227 result = (Dali::Toolkit::Internal::LayoutGroup *) &Dali::Toolkit::GetImplementation(*arg1);
1228 } catch (std::out_of_range& e) {
1230 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1232 } catch (std::exception& e) {
1234 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1238 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1242 jresult = (void *)result;
1246 SWIGEXPORT Dali::Toolkit::Internal::LayoutItem * SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_SWIGUpcast(Dali::Toolkit::Internal::LayoutGroup *jarg1) {
1247 return (Dali::Toolkit::Internal::LayoutItem *)jarg1;
1250 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_LayoutGroupWrapperImpl()
1253 Dali::Toolkit::Internal::LayoutGroup *result = 0 ;
1257 result = (Dali::Toolkit::Internal::LayoutGroup *) new SwigDirector_LayoutGroupWrapperImpl();
1259 catch (std::out_of_range& e)
1261 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1263 catch (std::exception& e)
1265 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1267 catch (Dali::DaliException e)
1269 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1273 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1276 jresult = (void *)result;