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 SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutGroupWrapperImpl> error. darg is null");
711 (darg)->DoInitialize();
712 } catch (std::out_of_range& e) {
714 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
716 } catch (std::exception& e) {
718 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
722 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
729 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_DoInitializeSwigExplicitLayoutGroupWrapperImpl(void * jarg1) {
730 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
731 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
733 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
734 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
737 SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutGroupWrapperImpl> error. darg is null");
742 (darg)->DoInitializeSwigPublic();
743 } catch (std::out_of_range& e) {
745 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
747 } catch (std::exception& e) {
749 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
753 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
760 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_DoRegisterChildProperties(void * jarg1, char * jarg2) {
761 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
762 std::string *arg2 = 0 ;
763 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
765 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
767 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
770 std::string arg2_str(jarg2);
772 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
775 SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutGroupWrapperImpl> error. darg is null");
780 (darg)->DoRegisterChildProperties((std::string const &)*arg2);
781 } catch (std::out_of_range& e) {
783 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
785 } catch (std::exception& e) {
787 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
791 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
796 //argout typemap for const std::string&
801 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_DoRegisterChildPropertiesSwigExplicitLayoutGroupWrapperImpl(void * jarg1, char * jarg2) {
802 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
803 std::string *arg2 = 0 ;
804 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
806 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
808 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
811 std::string arg2_str(jarg2);
813 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
816 SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutGroupWrapperImpl> error. darg is null");
821 (darg)->DoRegisterChildPropertiesSwigPublic((std::string const &)*arg2);
822 } catch (std::out_of_range& e) {
824 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
826 } catch (std::exception& e) {
828 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
832 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
837 //argout typemap for const std::string&
842 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_GenerateDefaultChildPropertyValues(void * jarg1, void * jarg2) {
843 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
845 Dali::Handle *argp2 ;
846 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
848 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
849 argp2 = (Dali::Handle *)jarg2;
851 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Handle", 0);
855 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
858 SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutGroupWrapperImpl> error. darg is null");
863 (darg)->GenerateDefaultChildPropertyValues(arg2);
864 } catch (std::out_of_range& e) {
866 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
868 } catch (std::exception& e) {
870 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
874 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
881 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_GenerateDefaultChildPropertyValuesSwigExplicitLayoutGroupWrapperImpl(void * jarg1, void * jarg2) {
882 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
884 Dali::Handle *argp2 ;
885 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
887 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
888 argp2 = (Dali::Handle *)jarg2;
890 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Handle", 0);
894 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
897 SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutGroupWrapperImpl> error. darg is null");
902 (darg)->GenerateDefaultChildPropertyValuesSwigPublic(arg2);
903 } catch (std::out_of_range& e) {
905 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
907 } catch (std::exception& e) {
909 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
913 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
920 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_MeasureChildren(void * jarg1, void * jarg2, void * jarg3) {
921 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
922 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg2 ;
923 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg3 ;
924 Dali::Toolkit::MeasureSpec *argp2 ;
925 Dali::Toolkit::MeasureSpec *argp3 ;
926 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
928 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
929 argp2 = (Dali::Toolkit::MeasureSpec *)jarg2;
931 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
935 argp3 = (Dali::Toolkit::MeasureSpec *)jarg3;
937 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
941 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
944 SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutGroupWrapperImpl> error. darg is null");
949 (darg)->MeasureChildren(arg2,arg3);
950 } catch (std::out_of_range& e) {
952 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
954 } catch (std::exception& e) {
956 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
960 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
967 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_MeasureChildrenSwigExplicitLayoutGroupWrapperImpl(void * jarg1, void * jarg2, void * jarg3) {
968 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
969 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg2 ;
970 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg3 ;
971 Dali::Toolkit::MeasureSpec *argp2 ;
972 Dali::Toolkit::MeasureSpec *argp3 ;
973 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
975 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
976 argp2 = (Dali::Toolkit::MeasureSpec *)jarg2;
978 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
982 argp3 = (Dali::Toolkit::MeasureSpec *)jarg3;
984 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
988 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
991 SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutGroupWrapperImpl> error. darg is null");
996 (darg)->MeasureChildrenSwigPublic(arg2,arg3);
997 } catch (std::out_of_range& e) {
999 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1001 } catch (std::exception& e) {
1003 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1007 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1014 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_MeasureChild(void * jarg1, void * jarg2, void * jarg3, void * jarg4) {
1015 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
1016 Dali::Toolkit::Internal::LayoutItemPtr arg2 ;
1017 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg3 ;
1018 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg4 ;
1019 Dali::Toolkit::Internal::LayoutItemPtr *argp2 ;
1020 Dali::Toolkit::MeasureSpec *argp3 ;
1021 Dali::Toolkit::MeasureSpec *argp4 ;
1022 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
1024 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
1025 argp2 = (Dali::Toolkit::Internal::LayoutItemPtr *)jarg2;
1027 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::Internal::LayoutItemPtr", 0);
1031 argp3 = (Dali::Toolkit::MeasureSpec *)jarg3;
1033 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
1037 argp4 = (Dali::Toolkit::MeasureSpec *)jarg4;
1039 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
1043 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
1046 SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutGroupWrapperImpl> error. darg is null");
1051 (darg)->MeasureChild(arg2,arg3,arg4);
1052 } catch (std::out_of_range& e) {
1054 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1056 } catch (std::exception& e) {
1058 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1062 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1069 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_MeasureChildSwigExplicitLayoutGroupWrapperImpl(void * jarg1, void * jarg2, void * jarg3, void * jarg4) {
1070 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
1071 Dali::Toolkit::Internal::LayoutItemPtr arg2 ;
1072 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg3 ;
1073 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg4 ;
1074 Dali::Toolkit::Internal::LayoutItemPtr *argp2 ;
1075 Dali::Toolkit::MeasureSpec *argp3 ;
1076 Dali::Toolkit::MeasureSpec *argp4 ;
1077 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
1079 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
1080 argp2 = (Dali::Toolkit::Internal::LayoutItemPtr *)jarg2;
1082 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::Internal::LayoutItemPtr", 0);
1086 argp3 = (Dali::Toolkit::MeasureSpec *)jarg3;
1088 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
1092 argp4 = (Dali::Toolkit::MeasureSpec *)jarg4;
1094 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
1098 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
1101 SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutGroupWrapperImpl> error. darg is null");
1106 (darg)->MeasureChildSwigPublic(arg2,arg3,arg4);
1107 } catch (std::out_of_range& e) {
1109 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1111 } catch (std::exception& e) {
1113 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1117 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1124 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_MeasureChildWithMargins(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6) {
1125 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
1126 Dali::Toolkit::Internal::LayoutItemPtr arg2 ;
1127 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg3 ;
1128 SwigValueWrapper< Dali::Toolkit::LayoutLength > arg4 ;
1129 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg5 ;
1130 SwigValueWrapper< Dali::Toolkit::LayoutLength > arg6 ;
1131 Dali::Toolkit::Internal::LayoutItemPtr *argp2 ;
1132 Dali::Toolkit::MeasureSpec *argp3 ;
1133 Dali::Toolkit::LayoutLength *argp4 ;
1134 Dali::Toolkit::MeasureSpec *argp5 ;
1135 Dali::Toolkit::LayoutLength *argp6 ;
1136 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
1138 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
1139 argp2 = (Dali::Toolkit::Internal::LayoutItemPtr *)jarg2;
1141 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::Internal::LayoutItemPtr", 0);
1145 argp3 = (Dali::Toolkit::MeasureSpec *)jarg3;
1147 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
1151 argp4 = (Dali::Toolkit::LayoutLength *)jarg4;
1153 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::LayoutLength", 0);
1157 argp5 = (Dali::Toolkit::MeasureSpec *)jarg5;
1159 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
1163 argp6 = (Dali::Toolkit::LayoutLength *)jarg6;
1165 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::LayoutLength", 0);
1169 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
1172 SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutGroupWrapperImpl> error. darg is null");
1177 (darg)->MeasureChildWithMargins(arg2,arg3,arg4,arg5,arg6);
1178 } catch (std::out_of_range& e) {
1180 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1182 } catch (std::exception& e) {
1184 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1188 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1195 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_MeasureChildWithMarginsSwigExplicitLayoutGroupWrapperImpl(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6) {
1196 Dali::Toolkit::Internal::LayoutGroup *arg1 = (Dali::Toolkit::Internal::LayoutGroup *) 0 ;
1197 Dali::Toolkit::Internal::LayoutItemPtr arg2 ;
1198 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg3 ;
1199 SwigValueWrapper< Dali::Toolkit::LayoutLength > arg4 ;
1200 SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg5 ;
1201 SwigValueWrapper< Dali::Toolkit::LayoutLength > arg6 ;
1202 Dali::Toolkit::Internal::LayoutItemPtr *argp2 ;
1203 Dali::Toolkit::MeasureSpec *argp3 ;
1204 Dali::Toolkit::LayoutLength *argp4 ;
1205 Dali::Toolkit::MeasureSpec *argp5 ;
1206 Dali::Toolkit::LayoutLength *argp6 ;
1207 SwigDirector_LayoutGroupWrapperImpl *darg = 0;
1209 arg1 = (Dali::Toolkit::Internal::LayoutGroup *)jarg1;
1210 argp2 = (Dali::Toolkit::Internal::LayoutItemPtr *)jarg2;
1212 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::Internal::LayoutItemPtr", 0);
1216 argp3 = (Dali::Toolkit::MeasureSpec *)jarg3;
1218 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
1222 argp4 = (Dali::Toolkit::LayoutLength *)jarg4;
1224 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::LayoutLength", 0);
1228 argp5 = (Dali::Toolkit::MeasureSpec *)jarg5;
1230 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::MeasureSpec", 0);
1234 argp6 = (Dali::Toolkit::LayoutLength *)jarg6;
1236 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::LayoutLength", 0);
1240 darg = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(arg1);
1243 SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutGroupWrapperImpl> error. darg is null");
1248 (darg)->MeasureChildWithMarginsSwigPublic(arg2,arg3,arg4,arg5,arg6);
1249 } catch (std::out_of_range& e) {
1251 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1253 } catch (std::exception& e) {
1255 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1259 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1266 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) {
1267 Dali::Toolkit::Internal::LayoutGroup *obj = (Dali::Toolkit::Internal::LayoutGroup *)objarg;
1268 SwigDirector_LayoutGroupWrapperImpl *director = dynamic_cast<SwigDirector_LayoutGroupWrapperImpl *>(obj);
1270 director->swig_connect_director(callback0, callback3, callback4, callback5, callback6, callback7, callback8, callback9, callback10, callback11, callback12, callback13, callback14);
1275 /*SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_GetImplementation__SWIG_2(void * jarg1) {
1277 Dali::Toolkit::LayoutGroup *arg1 = 0 ;
1278 Dali::Toolkit::Internal::LayoutGroup *result = 0 ;
1280 arg1 = (Dali::Toolkit::LayoutGroup *)jarg1;
1282 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::LayoutGroup & type is null", 0);
1287 result = (Dali::Toolkit::Internal::LayoutGroup *) &Dali::Toolkit::GetImplementation(*arg1);
1288 } catch (std::out_of_range& e) {
1290 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1292 } catch (std::exception& e) {
1294 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1298 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1302 jresult = (void *)result;
1306 SWIGEXPORT Dali::Toolkit::Internal::LayoutItem * SWIGSTDCALL CSharp_Dali_LayoutGroupWrapperImpl_SWIGUpcast(Dali::Toolkit::Internal::LayoutGroup *jarg1) {
1307 return (Dali::Toolkit::Internal::LayoutItem *)jarg1;
1310 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_LayoutGroupWrapperImpl()
1313 Dali::Toolkit::Internal::LayoutGroup *result = 0 ;
1317 result = (Dali::Toolkit::Internal::LayoutGroup *) new SwigDirector_LayoutGroupWrapperImpl();
1319 catch (std::out_of_range& e)
1321 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1323 catch (std::exception& e)
1325 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1327 catch (Dali::DaliException e)
1329 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1333 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1336 jresult = (void *)result;