Add binding code for SHADOW enum in ControlDevel and PropertyMap operator[] 44/220444/3
authorJiyun Yang <ji.yang@samsung.com>
Wed, 18 Dec 2019 07:52:05 +0000 (16:52 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Mon, 23 Dec 2019 03:40:02 +0000 (12:40 +0900)
Change-Id: Idb9ea3ea795ad774cad1c4154a3fa8be514efada
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
dali-csharp-binder/src/dali_wrap.cpp

index ac9d91d..ffca782 100755 (executable)
@@ -16644,6 +16644,75 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Property_Map_Assign(void * jarg1, void
 }
 
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_StringKey(void* jarg1, char* jarg2, void* jarg3) {
+  Dali::Property::Value *result = 0 ;
+
+  Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
+
+  if (!jarg2) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
+    return;
+  }
+  std::string arg2_str(jarg2);
+  std::string* arg2 = &arg2_str;
+
+  Dali::Property::Value* arg3 = (Dali::Property::Value*)jarg3;
+
+  {
+    try {
+      arg1->operator[]((std::string const &)*arg2) = *arg3;
+    } 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 (Dali::DaliException e) {
+      {
+        SWIG_CSharpException(SWIG_UnknownError, e.condition); return;
+      };
+    } catch (...) {
+      {
+        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return;
+      };
+    }
+  }
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey(void* jarg1, int jarg2, void* jarg3) {
+  Dali::Property::Value *result = 0 ;
+
+  Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
+  Dali::Property::Index arg2 = (Dali::Property::Index)jarg2;
+  Dali::Property::Value* arg3 = (Dali::Property::Value*)jarg3;
+
+  {
+    try {
+      arg1->operator[](arg2) = *arg3;
+    } 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 (Dali::DaliException e) {
+      {
+        SWIG_CSharpException(SWIG_UnknownError, e.condition); return;
+      };
+    } catch (...) {
+      {
+        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return;
+      };
+    }
+  }
+}
+
+
 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Property_Value__SWIG_0() {
   void * jresult ;
   Dali::Property::Value *result = 0 ;
@@ -66974,6 +67043,15 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_View_Property_PADDING_get() {
   return jresult;
 }
 
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_View_Property_SHADOW_get() {
+  int jresult ;
+  int result;
+
+  result = (int)Dali::Toolkit::DevelControl::Property::SHADOW;
+  jresult = (int)result;
+  return jresult;
+}
+
 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_View_Property() {
   void * jresult ;
   Dali::Toolkit::Control::Property *result = 0 ;