Support multiple window rendering
[platform/core/uifw/dali-csharp-binder.git] / dali-csharp-binder / src / layout-item-wrapper-impl.cpp
index 024cd05..aa8e43f 100755 (executable)
@@ -361,41 +361,6 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_LayoutItemWrapperImpl_IsLayoutAn
   return jresult;
 }
 
-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutItemWrapperImpl_RegisterChildProperties(void * jarg1, char * jarg2) {
-  Dali::Toolkit::Internal::LayoutItem *arg1 = (Dali::Toolkit::Internal::LayoutItem *) 0 ;
-  std::string *arg2 = 0 ;
-
-  arg1 = (Dali::Toolkit::Internal::LayoutItem *)jarg1;
-  if (!jarg2) {
-    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
-    return ;
-  }
-  std::string arg2_str(jarg2);
-  arg2 = &arg2_str;
-  {
-    try {
-      (arg1)->RegisterChildProperties((std::string const &)*arg2);
-    } catch (std::out_of_range& e) {
-      {
-        SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
-      };
-    } catch (std::exception& e) {
-      {
-        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
-      };
-    } catch (...) {
-      {
-        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
-      };
-    }
-  }
-
-  //argout typemap for const std::string&
-
-}
-
-
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutItemWrapperImpl_Measure(void * jarg1, void * jarg2, void * jarg3) {
   Dali::Toolkit::Internal::LayoutItem *arg1 = (Dali::Toolkit::Internal::LayoutItem *) 0 ;
   SwigValueWrapper< Dali::Toolkit::MeasureSpec > arg2 ;
@@ -1002,6 +967,11 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutItemWrapperImpl_OnUnparent(void *
 
   arg1 = (Dali::Toolkit::Internal::LayoutItem *)jarg1;
   darg = dynamic_cast<SwigDirector_LayoutItemWrapperImpl *>(arg1);
+  if(!darg)
+  {
+    SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutItemWrapperImpl> error. darg is null");
+    return;
+  }
   {
     try {
       (darg)->OnUnparent();
@@ -1028,6 +998,11 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutItemWrapperImpl_OnUnparentSwigExpl
 
   arg1 = (Dali::Toolkit::Internal::LayoutItem *)jarg1;
   darg = dynamic_cast<SwigDirector_LayoutItemWrapperImpl *>(arg1);
+  if(!darg)
+  {
+    SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutItemWrapperImpl> error. darg is null");
+    return;
+  }
   {
     try {
       (darg)->OnUnparentSwigPublic();
@@ -1061,6 +1036,11 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutItemWrapperImpl_OnRegisterChildPro
   std::string arg2_str(jarg2);
   arg2 = &arg2_str;
   darg = dynamic_cast<SwigDirector_LayoutItemWrapperImpl *>(arg1);
+  if(!darg)
+  {
+    SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutItemWrapperImpl> error. darg is null");
+    return;
+  }
   {
     try {
       (darg)->OnRegisterChildProperties((std::string const &)*arg2);
@@ -1097,6 +1077,11 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutItemWrapperImpl_OnRegisterChildPro
   std::string arg2_str(jarg2);
   arg2 = &arg2_str;
   darg = dynamic_cast<SwigDirector_LayoutItemWrapperImpl *>(arg1);
+  if(!darg)
+  {
+    SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutItemWrapperImpl> error. darg is null");
+    return;
+  }
   {
     try {
       (darg)->OnRegisterChildPropertiesSwigPublic((std::string const &)*arg2);
@@ -1142,6 +1127,11 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutItemWrapperImpl_OnMeasure(void * j
   }
   arg3 = *argp3;
   darg = dynamic_cast<SwigDirector_LayoutItemWrapperImpl *>(arg1);
+  if(!darg)
+  {
+    SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutItemWrapperImpl> error. darg is null");
+    return;
+  }
   {
     try {
       (darg)->OnMeasure(arg2,arg3);
@@ -1184,6 +1174,11 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutItemWrapperImpl_OnMeasureSwigExpli
   }
   arg3 = *argp3;
   darg = dynamic_cast<SwigDirector_LayoutItemWrapperImpl *>(arg1);
+  if(!darg)
+  {
+    SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutItemWrapperImpl> error. darg is null");
+    return;
+  }
   {
     try {
       (darg)->OnMeasureSwigPublic(arg2,arg3);
@@ -1244,6 +1239,11 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutItemWrapperImpl_OnLayout(void * ja
   }
   arg6 = *argp6;
   darg = dynamic_cast<SwigDirector_LayoutItemWrapperImpl *>(arg1);
+  if(!darg)
+  {
+    SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutItemWrapperImpl> error. darg is null");
+    return;
+  }
   {
     try {
       (darg)->OnLayout(arg2,arg3,arg4,arg5,arg6);
@@ -1304,6 +1304,11 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutItemWrapperImpl_OnLayoutSwigExplic
   }
   arg6 = *argp6;
   darg = dynamic_cast<SwigDirector_LayoutItemWrapperImpl *>(arg1);
+  if(!darg)
+  {
+    SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutItemWrapperImpl> error. darg is null");
+    return;
+  }
   {
     try {
       (darg)->OnLayoutSwigPublic(arg2,arg3,arg4,arg5,arg6);
@@ -1346,6 +1351,11 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutItemWrapperImpl_OnSizeChanged(void
   }
   arg3 = *argp3;
   darg = dynamic_cast<SwigDirector_LayoutItemWrapperImpl *>(arg1);
+  if(!darg)
+  {
+    SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutItemWrapperImpl> error. darg is null");
+    return;
+  }
   {
     try {
       (darg)->OnSizeChanged(arg2,arg3);
@@ -1388,6 +1398,11 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutItemWrapperImpl_OnSizeChangedSwigE
   }
   arg3 = *argp3;
   darg = dynamic_cast<SwigDirector_LayoutItemWrapperImpl *>(arg1);
+  if(!darg)
+  {
+    SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutItemWrapperImpl> error. darg is null");
+    return;
+  }
   {
     try {
       (darg)->OnSizeChangedSwigPublic(arg2,arg3);
@@ -1414,6 +1429,11 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutItemWrapperImpl_OnInitialize(void
 
   arg1 = (Dali::Toolkit::Internal::LayoutItem *)jarg1;
   darg = dynamic_cast<SwigDirector_LayoutItemWrapperImpl *>(arg1);
+  if(!darg)
+  {
+    SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutItemWrapperImpl> error. darg is null");
+    return;
+  }
   {
     try {
       (darg)->OnInitialize();
@@ -1440,6 +1460,11 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LayoutItemWrapperImpl_OnInitializeSwigEx
 
   arg1 = (Dali::Toolkit::Internal::LayoutItem *)jarg1;
   darg = dynamic_cast<SwigDirector_LayoutItemWrapperImpl *>(arg1);
+  if(!darg)
+  {
+    SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_LayoutItemWrapperImpl> error. darg is null");
+    return;
+  }
   {
     try {
       (darg)->OnInitializeSwigPublic();