[Tizen] Add PropertyMap Insert APIs
authorEunki, Hong <eunkiki.hong@samsung.com>
Mon, 20 May 2024 05:24:16 +0000 (14:24 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Mon, 20 May 2024 05:24:18 +0000 (14:24 +0900)
This reverts commit c7aadb982f67194875fe5e5d48e6a7a4fea083a5.

Change-Id: I23a22561daa053d6e62ba6259f817ab3b0f4f25e

dali-csharp-binder/common/dali-wrap.cpp

index febaccbdc45155bf162d1e1b3e489a6d62efe2c0..5ae7d11d99c136aed16ea2b3569e543d4a025109 100644 (file)
@@ -6291,6 +6291,94 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Property_Value__SWIG_15(void * jar
   return jresult;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_Insert_Int__SWIG_0(void * jarg1, const char * jarg2, int jarg3) {
+  Dali::Property::Map *arg1 = (Dali::Property::Map *) 0 ;
+
+  arg1 = (Dali::Property::Map *)jarg1;
+  {
+    try {
+      (arg1)->Insert(jarg2,(Dali::Property::Value const &)(jarg3));
+    } CALL_CATCH_EXCEPTION();
+  }
+
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_Insert_Bool__SWIG_0(void * jarg1, const char * jarg2, bool jarg3) {
+  Dali::Property::Map *arg1 = (Dali::Property::Map *) 0 ;
+
+  arg1 = (Dali::Property::Map *)jarg1;
+  {
+    try {
+      (arg1)->Insert(jarg2,(Dali::Property::Value const &)(jarg3));
+    } CALL_CATCH_EXCEPTION();
+  }
+
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_Insert_Float__SWIG_0(void * jarg1, const char * jarg2, float jarg3) {
+  Dali::Property::Map *arg1 = (Dali::Property::Map *) 0 ;
+
+  arg1 = (Dali::Property::Map *)jarg1;
+  {
+    try {
+      (arg1)->Insert(jarg2,(Dali::Property::Value const &)(jarg3));
+    } CALL_CATCH_EXCEPTION();
+  }
+
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_Insert_String__SWIG_0(void * jarg1, const char * jarg2, const char * jarg3) {
+  Dali::Property::Map *arg1 = (Dali::Property::Map *) 0 ;
+
+  arg1 = (Dali::Property::Map *)jarg1;
+  {
+    try {
+      (arg1)->Insert(jarg2,(Dali::Property::Value const &)(jarg3));
+    } CALL_CATCH_EXCEPTION();
+  }
+
+}
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_Insert_Vector2__SWIG_0(void * jarg1, const char * jarg2, float jarg3, float jarg4) {
+  Dali::Property::Map *arg1 = (Dali::Property::Map *) 0 ;
+
+  arg1 = (Dali::Property::Map *)jarg1;
+  {
+    try {
+      (arg1)->Insert(jarg2,(Dali::Property::Value const &)(Dali::Vector2(jarg3, jarg4)));
+    } CALL_CATCH_EXCEPTION();
+  }
+
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_Insert_Vector3__SWIG_0(void * jarg1, const char * jarg2, float jarg3, float jarg4, float jarg5) {
+  Dali::Property::Map *arg1 = (Dali::Property::Map *) 0 ;
+
+  arg1 = (Dali::Property::Map *)jarg1;
+  {
+    try {
+      (arg1)->Insert(jarg2,(Dali::Property::Value const &)(Dali::Vector3(jarg3, jarg4, jarg5)));
+    } CALL_CATCH_EXCEPTION();
+  }
+
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_Insert_Vector4__SWIG_0(void * jarg1, const char * jarg2, float jarg3, float jarg4, float jarg5, float jarg6) {
+  Dali::Property::Map *arg1 = (Dali::Property::Map *) 0 ;
+
+  arg1 = (Dali::Property::Map *)jarg1;
+  {
+    try {
+      (arg1)->Insert(jarg2,(Dali::Property::Value const &)(Dali::Vector4(jarg3, jarg4, jarg5, jarg6)));
+    } CALL_CATCH_EXCEPTION();
+  }
+
+}
 
 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Property_Value__SWIG_16(void * jarg1) {
   void * jresult ;
@@ -6312,6 +6400,109 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Property_Value__SWIG_16(void * jar
   return jresult;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_Insert_Int__SWIG_2(void * jarg1, int jarg2, int jarg3) {
+  Dali::Property::Map *arg1 = (Dali::Property::Map *) 0 ;
+  Dali::Property::Index arg2 ;
+
+  arg1 = (Dali::Property::Map *)jarg1;
+  arg2 = (Dali::Property::Index)jarg2;
+  {
+    try {
+      (arg1)->Insert(arg2,(Dali::Property::Value const &)(jarg3));
+    } CALL_CATCH_EXCEPTION();
+  }
+
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_Insert_Bool__SWIG_2(void * jarg1, int jarg2, bool jarg3) {
+  Dali::Property::Map *arg1 = (Dali::Property::Map *) 0 ;
+  Dali::Property::Index arg2 ;
+
+  arg1 = (Dali::Property::Map *)jarg1;
+  arg2 = (Dali::Property::Index)jarg2;
+  {
+    try {
+      (arg1)->Insert(arg2,(Dali::Property::Value const &)(jarg3));
+    } CALL_CATCH_EXCEPTION();
+  }
+
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_Insert_Float__SWIG_2(void * jarg1, int jarg2, float jarg3) {
+  Dali::Property::Map *arg1 = (Dali::Property::Map *) 0 ;
+  Dali::Property::Index arg2 ;
+
+  arg1 = (Dali::Property::Map *)jarg1;
+  arg2 = (Dali::Property::Index)jarg2;
+  {
+    try {
+      (arg1)->Insert(arg2,(Dali::Property::Value const &)(jarg3));
+    } CALL_CATCH_EXCEPTION();
+  }
+
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_Insert_String__SWIG_2(void * jarg1, int jarg2, char * jarg3) {
+  Dali::Property::Map *arg1 = (Dali::Property::Map *) 0 ;
+  Dali::Property::Index arg2 ;
+
+  arg1 = (Dali::Property::Map *)jarg1;
+  arg2 = (Dali::Property::Index)jarg2;
+  {
+    try {
+      (arg1)->Insert(arg2,(Dali::Property::Value const &)(jarg3));
+    } CALL_CATCH_EXCEPTION();
+  }
+
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_Insert_Vector2__SWIG_2(void * jarg1, int jarg2, float jarg3, float jarg4) {
+  Dali::Property::Map *arg1 = (Dali::Property::Map *) 0 ;
+  Dali::Property::Index arg2 ;
+
+  arg1 = (Dali::Property::Map *)jarg1;
+  arg2 = (Dali::Property::Index)jarg2;
+  {
+    try {
+      (arg1)->Insert(arg2,(Dali::Property::Value const &)(Dali::Vector2(jarg3, jarg4)));
+    } CALL_CATCH_EXCEPTION();
+  }
+
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_Insert_Vector3__SWIG_2(void * jarg1, int jarg2, float jarg3, float jarg4, float jarg5) {
+  Dali::Property::Map *arg1 = (Dali::Property::Map *) 0 ;
+  Dali::Property::Index arg2 ;
+
+  arg1 = (Dali::Property::Map *)jarg1;
+  arg2 = (Dali::Property::Index)jarg2;
+  {
+    try {
+      (arg1)->Insert(arg2,(Dali::Property::Value const &)(Dali::Vector3(jarg3, jarg4, jarg5)));
+    } CALL_CATCH_EXCEPTION();
+  }
+
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_Insert_Vector4__SWIG_2(void * jarg1, int jarg2, float jarg3, float jarg4, float jarg5, float jarg6) {
+  Dali::Property::Map *arg1 = (Dali::Property::Map *) 0 ;
+  Dali::Property::Index arg2 ;
+
+  arg1 = (Dali::Property::Map *)jarg1;
+  arg2 = (Dali::Property::Index)jarg2;
+  {
+    try {
+      (arg1)->Insert(arg2,(Dali::Property::Value const &)(Dali::Vector4(jarg3, jarg4, jarg5, jarg6)));
+    } CALL_CATCH_EXCEPTION();
+  }
+
+}
 
 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Property_Value__SWIG_17(int jarg1) {
   void * jresult ;
@@ -6741,6 +6932,124 @@ SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Property_Value_Get__SWIG_14(void * jarg1
   return jresult;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_StringKey_IntValue(void* jarg1, const char* jarg2, int jarg3) {
+
+  Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
+
+  if (!jarg2) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
+    return;
+  }
+  Dali::Property::Index arg3 = (Dali::Property::Index)jarg3;
+
+  {
+    try {
+      arg1->operator[](std::string_view(jarg2)) = (Dali::Property::Value const &)(arg3);
+    } CALL_CATCH_EXCEPTION();
+  }
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_StringKey_BoolValue(void* jarg1, const char* jarg2, bool jarg3) {
+
+  Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
+
+  if (!jarg2) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
+    return;
+  }
+
+  {
+    try {
+      arg1->operator[](std::string_view(jarg2)) = (Dali::Property::Value const &)(jarg3);
+    } CALL_CATCH_EXCEPTION();
+  }
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_StringKey_FloatValue(void* jarg1, const char* jarg2, float jarg3) {
+
+  Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
+
+  if (!jarg2) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
+    return;
+  }
+
+  {
+    try {
+      arg1->operator[](std::string_view(jarg2)) = (Dali::Property::Value const &)(jarg3);
+    } CALL_CATCH_EXCEPTION();
+  }
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_StringKey_StringValue(void* jarg1, const char* jarg2, const char* jarg3) {
+
+  Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
+
+  if (!jarg2) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
+    return;
+  }
+
+  {
+    try {
+      arg1->operator[](std::string_view(jarg2)) = (Dali::Property::Value const &)(jarg3);
+    } CALL_CATCH_EXCEPTION();
+  }
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_StringKey_Vector2(void* jarg1, const char* jarg2, float jarg3, float jarg4) {
+
+  Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
+
+  if (!jarg2) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
+    return;
+  }
+
+  {
+    try {
+      arg1->operator[](std::string_view(jarg2)) = (Dali::Property::Value const &)(Dali::Vector2(jarg3, jarg4));
+    } CALL_CATCH_EXCEPTION();
+  }
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_StringKey_Vector4(void* jarg1, const char* jarg2, float jarg3, float jarg4, float jarg5, float jarg6) {
+
+  Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
+
+  if (!jarg2) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
+    return;
+  }
+
+  {
+    try {
+      arg1->operator[](std::string_view(jarg2)) = (Dali::Property::Value const &)(Dali::Vector4(jarg3, jarg4, jarg5, jarg6));
+    } CALL_CATCH_EXCEPTION();
+  }
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_StringKey_Rect(void* jarg1, char* jarg2, int jarg3, int jarg4, int jarg5, int jarg6) {
+
+  Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
+
+  if (!jarg2) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
+    return;
+  }
+
+  {
+    try {
+      arg1->operator[](std::string(jarg2)) = (Dali::Property::Value const &)(Dali::Rect< int >(jarg3, jarg4, jarg5, jarg6));
+    } CALL_CATCH_EXCEPTION();
+  }
+}
 
 SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Property_Value_Get__SWIG_15(void * jarg1, void * jarg2) {
   bool jresult ;
@@ -6763,9 +7072,102 @@ SWIGEXPORT bool SWIGSTDCALL CSharp_Dali_Property_Value_Get__SWIG_15(void * jarg1
   return jresult;
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_IntValue(void* jarg1, int jarg2, int jarg3) {
+
+  Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
+  Dali::Property::Index arg2 = (Dali::Property::Index)jarg2;
+  Dali::Property::Index arg3 = (Dali::Property::Index)jarg3;
+
+  {
+    try {
+      arg1->operator[](arg2) = (Dali::Property::Value const &)(arg3);
+    } CALL_CATCH_EXCEPTION();
+  }
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_BoolValue(void* jarg1, int jarg2, bool jarg3) {
+
+  Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
+  Dali::Property::Index arg2 = (Dali::Property::Index)jarg2;
+  bool arg3 = (bool)jarg3;
+
+  {
+    try {
+      arg1->operator[](arg2) = (Dali::Property::Value const &)(arg3);
+    } CALL_CATCH_EXCEPTION();
+  }
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_FloatValue(void* jarg1, int jarg2, float jarg3) {
+
+  Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
+  Dali::Property::Index arg2 = (Dali::Property::Index)jarg2;
+  float arg3 = (float)jarg3;
+
+  {
+    try {
+      arg1->operator[](arg2) = (Dali::Property::Value const &)(arg3);
+    } CALL_CATCH_EXCEPTION();
+  }
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_StringValue(void* jarg1, int jarg2, char* jarg3) {
+
+  Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
+  Dali::Property::Index arg2 = (Dali::Property::Index)jarg2;
+  char *arg3 = (char *)jarg3;
+
+  {
+    try {
+      arg1->operator[](arg2) = (Dali::Property::Value const &)(arg3);
+    } CALL_CATCH_EXCEPTION();
+  }
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_Vector2(void* jarg1, int jarg2, float jarg3, float jarg4) {
+
+  Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
+  Dali::Property::Index arg2 = (Dali::Property::Index)jarg2;
+
+  {
+    try {
+      arg1->operator[](arg2) = (Dali::Property::Value const &)(Dali::Vector2(jarg3, jarg4));
+    } CALL_CATCH_EXCEPTION();
+  }
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_Vector4(void* jarg1, int jarg2, float jarg3, float jarg4, float jarg5, float jarg6) {
+
+  Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
+  Dali::Property::Index arg2 = (Dali::Property::Index)jarg2;
 
+  {
+    try {
+      arg1->operator[](arg2) = (Dali::Property::Value const &)(Dali::Vector4(jarg3, jarg4, jarg5, jarg6));
+    } CALL_CATCH_EXCEPTION();
+  }
+}
 
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Property_Map_SetValue_IntKey_Rect(void* jarg1, int jarg2, int jarg3, int jarg4, int jarg5, int jarg6) {
+
+  Dali::Property::Map* arg1 = (Dali::Property::Map*)jarg1;
+  Dali::Property::Index arg2 = (Dali::Property::Index)jarg2;
+  Dali::Rect< int > *arg3 = 0 ;
+
+  arg3 = (Dali::Rect< int > *)new Dali::Rect< int >(jarg3, jarg4, jarg5, jarg6);
+
+  {
+    try {
+      arg1->operator[](arg2) = (Dali::Property::Value const &)(*arg3);
+    } CALL_CATCH_EXCEPTION();
+  }
+}
 
 SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_GetName(int jarg1) {
   char * jresult ;