dali 1.2.28 version upgrade
[platform/core/csapi/nui.git] / Tizen.NUI / src / public / Property.cs
1 // Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved\r
2 // PROPRIETARY/CONFIDENTIAL \r
3 // This software is the confidential and proprietary\r
4 // information of SAMSUNG ELECTRONICS ("Confidential Information"). You shall\r
5 // not disclose such Confidential Information and shall use it only in\r
6 // accordance with the terms of the license agreement you entered into with\r
7 // SAMSUNG ELECTRONICS. SAMSUNG make no representations or warranties about the\r
8 // suitability of the software, either express or implied, including but not\r
9 // limited to the implied warranties of merchantability, fitness for a\r
10 // particular purpose, or non-infringement. SAMSUNG shall not be liable for any\r
11 // damages suffered by licensee as a result of using, modifying or distributing\r
12 // this software or its derivatives.\r
13 \r
14 // Copyright (c) 2017 Samsung Electronics Co., Ltd.\r
15 //\r
16 // Licensed under the Apache License, Version 2.0 (the "License");\r
17 // you may not use this file except in compliance with the License.\r
18 // You may obtain a copy of the License at\r
19 //\r
20 // http://www.apache.org/licenses/LICENSE-2.0\r
21 //
22 // Unless required by applicable law or agreed to in writing, software\r
23 // distributed under the License is distributed on an "AS IS" BASIS,\r
24 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
25 // See the License for the specific language governing permissions and\r
26 // limitations under the License.\r
27 //
28
29 // This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts\r
30 // Some have been manually changed\r
31 \r
32 \r
33 namespace Tizen.NUI\r
34 {\r
35 \r
36     internal class Property : global::System.IDisposable\r
37     {\r
38         private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
39         protected bool swigCMemOwn;\r
40 \r
41         internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)\r
42         {\r
43             swigCMemOwn = cMemoryOwn;\r
44             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
45         }\r
46 \r
47         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)\r
48         {\r
49             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
50         }\r
51 \r
52         ~Property()\r
53         {\r
54             DisposeQueue.Instance.Add(this);\r
55         }\r
56 \r
57         public virtual void Dispose()\r
58         {\r
59             if (!Stage.IsInstalled())\r
60             {\r
61                 DisposeQueue.Instance.Add(this);\r
62                 return;\r
63             }\r
64 \r
65             lock (this)\r
66             {\r
67                 if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
68                 {\r
69                     if (swigCMemOwn)\r
70                     {\r
71                         swigCMemOwn = false;\r
72                         NDalicPINVOKE.delete_Property(swigCPtr);\r
73                     }\r
74                     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
75                 }\r
76                 global::System.GC.SuppressFinalize(this);\r
77             }\r
78         }\r
79 \r
80 \r
81         internal static int INVALID_INDEX\r
82         {\r
83             get\r
84             {\r
85                 int ret = NDalicPINVOKE.Property_INVALID_INDEX_get();\r
86                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
87                 return ret;\r
88             }\r
89         }\r
90 \r
91         internal static int INVALID_KEY\r
92         {\r
93             get\r
94             {\r
95                 int ret = NDalicPINVOKE.Property_INVALID_KEY_get();\r
96                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
97                 return ret;\r
98             }\r
99         }\r
100 \r
101         internal static int INVALID_COMPONENT_INDEX\r
102         {\r
103             get\r
104             {\r
105                 int ret = NDalicPINVOKE.Property_INVALID_COMPONENT_INDEX_get();\r
106                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
107                 return ret;\r
108             }\r
109         }\r
110 \r
111         public Property(Handle arg0, int propertyIndex) : this(NDalicPINVOKE.new_Property__SWIG_0(Handle.getCPtr(arg0), propertyIndex), true)\r
112         {\r
113             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
114         }\r
115 \r
116         public Property(Handle arg0, int propertyIndex, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_1(Handle.getCPtr(arg0), propertyIndex, componentIndex), true)\r
117         {\r
118             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
119         }\r
120 \r
121         public Property(Handle arg0, string propertyName) : this(NDalicPINVOKE.new_Property__SWIG_2(Handle.getCPtr(arg0), propertyName), true)\r
122         {\r
123             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
124         }\r
125 \r
126         public Property(Handle arg0, string propertyName, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_3(Handle.getCPtr(arg0), propertyName, componentIndex), true)\r
127         {\r
128             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
129         }\r
130 \r
131         internal Handle _object\r
132         {\r
133             set\r
134             {\r
135                 NDalicPINVOKE.Property__object_set(swigCPtr, Handle.getCPtr(value));\r
136                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
137             }\r
138             get\r
139             {\r
140                 Handle ret = new Handle(NDalicPINVOKE.Property__object_get(swigCPtr), false);\r
141                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
142                 return ret;\r
143             }\r
144         }\r
145 \r
146         public int propertyIndex\r
147         {\r
148             set\r
149             {\r
150                 NDalicPINVOKE.Property_propertyIndex_set(swigCPtr, value);\r
151                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
152             }\r
153             get\r
154             {\r
155                 int ret = NDalicPINVOKE.Property_propertyIndex_get(swigCPtr);\r
156                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
157                 return ret;\r
158             }\r
159         }\r
160 \r
161         public int componentIndex\r
162         {\r
163             set\r
164             {\r
165                 NDalicPINVOKE.Property_componentIndex_set(swigCPtr, value);\r
166                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
167             }\r
168             get\r
169             {\r
170                 int ret = NDalicPINVOKE.Property_componentIndex_get(swigCPtr);\r
171                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
172                 return ret;\r
173             }\r
174         }\r
175 \r
176     }\r
177 \r
178     public class PropertyArray : global::System.IDisposable\r
179     {\r
180         private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
181         protected bool swigCMemOwn;\r
182 \r
183         internal PropertyArray(global::System.IntPtr cPtr, bool cMemoryOwn)\r
184         {\r
185             swigCMemOwn = cMemoryOwn;\r
186             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
187         }\r
188 \r
189         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyArray obj)\r
190         {\r
191             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
192         }\r
193 \r
194         ~PropertyArray()\r
195         {\r
196             Dispose();\r
197         }\r
198 \r
199         public virtual void Dispose()\r
200         {\r
201             lock (this)\r
202             {\r
203                 if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
204                 {\r
205                     if (swigCMemOwn)\r
206                     {\r
207                         swigCMemOwn = false;\r
208                         NDalicPINVOKE.delete_Property_Array(swigCPtr);\r
209                     }\r
210                     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
211                 }\r
212                 global::System.GC.SuppressFinalize(this);\r
213             }\r
214         }\r
215 \r
216         public PropertyValue this[uint index]\r
217         {\r
218             get\r
219             {\r
220                 return ValueOfIndex(index);\r
221             }\r
222         }\r
223 \r
224         public PropertyArray() : this(NDalicPINVOKE.new_Property_Array__SWIG_0(), true)\r
225         {\r
226             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
227         }\r
228 \r
229         internal PropertyArray(PropertyArray other) : this(NDalicPINVOKE.new_Property_Array__SWIG_1(PropertyArray.getCPtr(other)), true)\r
230         {\r
231             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
232         }\r
233 \r
234         public uint Size()\r
235         {\r
236             uint ret = NDalicPINVOKE.Property_Array_Size(swigCPtr);\r
237             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
238             return ret;\r
239         }\r
240 \r
241         public uint Count()\r
242         {\r
243             uint ret = NDalicPINVOKE.Property_Array_Count(swigCPtr);\r
244             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
245             return ret;\r
246         }\r
247 \r
248         public bool Empty()\r
249         {\r
250             bool ret = NDalicPINVOKE.Property_Array_Empty(swigCPtr);\r
251             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
252             return ret;\r
253         }\r
254 \r
255         public void Clear()\r
256         {\r
257             NDalicPINVOKE.Property_Array_Clear(swigCPtr);\r
258             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
259         }\r
260 \r
261         public void Reserve(uint size)\r
262         {\r
263             NDalicPINVOKE.Property_Array_Reserve(swigCPtr, size);\r
264             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
265         }\r
266 \r
267         public void Resize(uint size)\r
268         {\r
269             NDalicPINVOKE.Property_Array_Resize(swigCPtr, size);\r
270             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
271         }\r
272 \r
273         public uint Capacity()\r
274         {\r
275             uint ret = NDalicPINVOKE.Property_Array_Capacity(swigCPtr);\r
276             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
277             return ret;\r
278         }\r
279 \r
280         public void PushBack(PropertyValue value)\r
281         {\r
282             NDalicPINVOKE.Property_Array_PushBack(swigCPtr, PropertyValue.getCPtr(value));\r
283             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
284         }\r
285 \r
286         public PropertyArray Add(PropertyValue value)\r
287         {\r
288             PropertyArray ret = new PropertyArray(NDalicPINVOKE.Property_Array_Add(swigCPtr, PropertyValue.getCPtr(value)), false);\r
289             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
290             return ret;\r
291         }\r
292 \r
293         public PropertyValue GetElementAt(uint index)\r
294         {\r
295             PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Array_GetElementAt__SWIG_0(swigCPtr, index), false);\r
296             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
297             return ret;\r
298         }\r
299 \r
300         public PropertyValue ValueOfIndex(uint index)\r
301         {\r
302             PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Array_ValueOfIndex__SWIG_0(swigCPtr, index), false);\r
303             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
304             return ret;\r
305         }\r
306 \r
307         public PropertyArray Assign(PropertyArray other)\r
308         {\r
309             PropertyArray ret = new PropertyArray(NDalicPINVOKE.Property_Array_Assign(swigCPtr, PropertyArray.getCPtr(other)), false);\r
310             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
311             return ret;\r
312         }\r
313 \r
314     }\r
315 \r
316     public class PropertyKey : global::System.IDisposable\r
317     {\r
318         private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
319         protected bool swigCMemOwn;\r
320 \r
321         internal PropertyKey(global::System.IntPtr cPtr, bool cMemoryOwn)\r
322         {\r
323             swigCMemOwn = cMemoryOwn;\r
324             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
325         }\r
326 \r
327         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyKey obj)\r
328         {\r
329             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
330         }\r
331 \r
332         ~PropertyKey()\r
333         {\r
334             Dispose();\r
335         }\r
336 \r
337         public virtual void Dispose()\r
338         {\r
339             lock (this)\r
340             {\r
341                 if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
342                 {\r
343                     if (swigCMemOwn)\r
344                     {\r
345                         swigCMemOwn = false;\r
346                         NDalicPINVOKE.delete_Property_Key(swigCPtr);\r
347                     }\r
348                     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
349                 }\r
350                 global::System.GC.SuppressFinalize(this);\r
351             }\r
352         }\r
353 \r
354         public PropertyKey.Type type\r
355         {\r
356             set\r
357             {\r
358                 NDalicPINVOKE.Property_Key_type_set(swigCPtr, (int)value);\r
359                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
360             }\r
361             get\r
362             {\r
363                 PropertyKey.Type ret = (PropertyKey.Type)NDalicPINVOKE.Property_Key_type_get(swigCPtr);\r
364                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
365                 return ret;\r
366             }\r
367         }\r
368 \r
369         public int indexKey\r
370         {\r
371             set\r
372             {\r
373                 NDalicPINVOKE.Property_Key_indexKey_set(swigCPtr, value);\r
374                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
375             }\r
376             get\r
377             {\r
378                 int ret = NDalicPINVOKE.Property_Key_indexKey_get(swigCPtr);\r
379                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
380                 return ret;\r
381             }\r
382         }\r
383 \r
384         public string stringKey\r
385         {\r
386             set\r
387             {\r
388                 NDalicPINVOKE.Property_Key_stringKey_set(swigCPtr, value);\r
389                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
390             }\r
391             get\r
392             {\r
393                 string ret = NDalicPINVOKE.Property_Key_stringKey_get(swigCPtr);\r
394                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
395                 return ret;\r
396             }\r
397         }\r
398 \r
399         public PropertyKey(string key) : this(NDalicPINVOKE.new_Property_Key__SWIG_0(key), true)\r
400         {\r
401             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
402         }\r
403 \r
404         public PropertyKey(int key) : this(NDalicPINVOKE.new_Property_Key__SWIG_1(key), true)\r
405         {\r
406             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
407         }\r
408 \r
409         public bool EqualTo(string rhs)\r
410         {\r
411             bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_0(swigCPtr, rhs);\r
412             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
413             return ret;\r
414         }\r
415 \r
416         public bool EqualTo(int rhs)\r
417         {\r
418             bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_1(swigCPtr, rhs);\r
419             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
420             return ret;\r
421         }\r
422 \r
423         public bool EqualTo(PropertyKey rhs)\r
424         {\r
425             bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_2(swigCPtr, PropertyKey.getCPtr(rhs));\r
426             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
427             return ret;\r
428         }\r
429 \r
430         public bool NotEqualTo(string rhs)\r
431         {\r
432             bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_0(swigCPtr, rhs);\r
433             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
434             return ret;\r
435         }\r
436 \r
437         public bool NotEqualTo(int rhs)\r
438         {\r
439             bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_1(swigCPtr, rhs);\r
440             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
441             return ret;\r
442         }\r
443 \r
444         public bool NotEqualTo(PropertyKey rhs)\r
445         {\r
446             bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_2(swigCPtr, PropertyKey.getCPtr(rhs));\r
447             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
448             return ret;\r
449         }\r
450 \r
451         public enum Type\r
452         {\r
453             Index,\r
454             String\r
455         }\r
456 \r
457     }\r
458 \r
459     public class PropertyMap : global::System.IDisposable\r
460     {\r
461         private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
462         protected bool swigCMemOwn;\r
463 \r
464         internal PropertyMap(global::System.IntPtr cPtr, bool cMemoryOwn)\r
465         {\r
466             swigCMemOwn = cMemoryOwn;\r
467             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
468         }\r
469 \r
470         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyMap obj)\r
471         {\r
472             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
473         }\r
474 \r
475         ~PropertyMap()\r
476         {\r
477             Dispose();\r
478         }\r
479 \r
480         public virtual void Dispose()\r
481         {\r
482             lock (this)\r
483             {\r
484                 if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
485                 {\r
486                     if (swigCMemOwn)\r
487                     {\r
488                         swigCMemOwn = false;\r
489                         NDalicPINVOKE.delete_Property_Map(swigCPtr);\r
490                     }\r
491                     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
492                 }\r
493                 global::System.GC.SuppressFinalize(this);\r
494             }\r
495         }\r
496 \r
497         public PropertyValue this[string key]\r
498         {\r
499             get\r
500             {\r
501                 return ValueOfIndex(key);\r
502             }\r
503         }\r
504 \r
505         public PropertyValue this[int key]\r
506         {\r
507             get\r
508             {\r
509                 return ValueOfIndex(key);\r
510             }\r
511         }\r
512 \r
513         public PropertyMap() : this(NDalicPINVOKE.new_Property_Map__SWIG_0(), true)\r
514         {\r
515             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
516         }\r
517 \r
518         public PropertyMap(PropertyMap other) : this(NDalicPINVOKE.new_Property_Map__SWIG_1(PropertyMap.getCPtr(other)), true)\r
519         {\r
520             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
521         }\r
522 \r
523         public uint Count()\r
524         {\r
525             uint ret = NDalicPINVOKE.Property_Map_Count(swigCPtr);\r
526             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
527             return ret;\r
528         }\r
529 \r
530         public bool Empty()\r
531         {\r
532             bool ret = NDalicPINVOKE.Property_Map_Empty(swigCPtr);\r
533             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
534             return ret;\r
535         }\r
536 \r
537         public void Insert(string key, PropertyValue value)\r
538         {\r
539             NDalicPINVOKE.Property_Map_Insert__SWIG_0(swigCPtr, key, PropertyValue.getCPtr(value));\r
540             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
541         }\r
542 \r
543         public void Insert(int key, PropertyValue value)\r
544         {\r
545             NDalicPINVOKE.Property_Map_Insert__SWIG_2(swigCPtr, key, PropertyValue.getCPtr(value));\r
546             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
547         }\r
548 \r
549         public PropertyMap Add(string key, PropertyValue value)\r
550         {\r
551             PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Add__SWIG_0(swigCPtr, key, PropertyValue.getCPtr(value)), false);\r
552             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
553             return ret;\r
554         }\r
555 \r
556         public PropertyMap Add(int key, PropertyValue value)\r
557         {\r
558             PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Add__SWIG_2(swigCPtr, key, PropertyValue.getCPtr(value)), false);\r
559             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
560             return ret;\r
561         }\r
562 \r
563         public PropertyValue GetValue(uint position)\r
564         {\r
565             PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_GetValue(swigCPtr, position), false);\r
566             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
567             return ret;\r
568         }\r
569 \r
570         public string GetKey(uint position)\r
571         {\r
572             string ret = NDalicPINVOKE.Property_Map_GetKey(swigCPtr, position);\r
573             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
574             return ret;\r
575         }\r
576 \r
577         public PropertyKey GetKeyAt(uint position)\r
578         {\r
579             PropertyKey ret = new PropertyKey(NDalicPINVOKE.Property_Map_GetKeyAt(swigCPtr, position), true);\r
580             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
581             return ret;\r
582         }\r
583 \r
584         internal StringValuePair GetPair(uint position)\r
585         {\r
586             StringValuePair ret = new StringValuePair(NDalicPINVOKE.Property_Map_GetPair(swigCPtr, position), false);\r
587             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
588             return ret;\r
589         }\r
590 \r
591         public PropertyValue Find(string key)\r
592         {\r
593             global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_0(swigCPtr, key);\r
594             PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);\r
595             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
596             return ret;\r
597         }\r
598 \r
599         public PropertyValue Find(int key)\r
600         {\r
601             global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_2(swigCPtr, key);\r
602             PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);\r
603             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
604             return ret;\r
605         }\r
606 \r
607         public PropertyValue Find(int indexKey, string stringKey)\r
608         {\r
609             global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_3(swigCPtr, indexKey, stringKey);\r
610             PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);\r
611             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
612             return ret;\r
613         }\r
614 \r
615         public PropertyValue Find(string key, PropertyType type)\r
616         {\r
617             global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_4(swigCPtr, key, (int)type);\r
618             PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);\r
619             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
620             return ret;\r
621         }\r
622 \r
623         public PropertyValue Find(int key, PropertyType type)\r
624         {\r
625             global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_5(swigCPtr, key, (int)type);\r
626             PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);\r
627             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
628             return ret;\r
629         }\r
630 \r
631         public void Clear()\r
632         {\r
633             NDalicPINVOKE.Property_Map_Clear(swigCPtr);\r
634             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
635         }\r
636 \r
637         public void Merge(PropertyMap from)\r
638         {\r
639             NDalicPINVOKE.Property_Map_Merge(swigCPtr, PropertyMap.getCPtr(from));\r
640             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
641         }\r
642 \r
643         public PropertyValue ValueOfIndex(string key)\r
644         {\r
645             PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_ValueOfIndex__SWIG_0(swigCPtr, key), false);\r
646             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
647             return ret;\r
648         }\r
649 \r
650         public PropertyValue ValueOfIndex(int key)\r
651         {\r
652             PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_ValueOfIndex__SWIG_2(swigCPtr, key), false);\r
653             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
654             return ret;\r
655         }\r
656 \r
657         public PropertyMap Assign(PropertyMap other)\r
658         {\r
659             PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Assign(swigCPtr, PropertyMap.getCPtr(other)), false);\r
660             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
661             return ret;\r
662         }\r
663 \r
664     }\r
665 \r
666     public class PropertyValue : global::System.IDisposable\r
667     {\r
668         private global::System.Runtime.InteropServices.HandleRef swigCPtr;\r
669         protected bool swigCMemOwn;\r
670 \r
671         internal PropertyValue(global::System.IntPtr cPtr, bool cMemoryOwn)\r
672         {\r
673             swigCMemOwn = cMemoryOwn;\r
674             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);\r
675         }\r
676 \r
677         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyValue obj)\r
678         {\r
679             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;\r
680         }\r
681 \r
682         ~PropertyValue()\r
683         {\r
684             Dispose();\r
685         }\r
686 \r
687         public virtual void Dispose()\r
688         {\r
689             lock (this)\r
690             {\r
691                 if (swigCPtr.Handle != global::System.IntPtr.Zero)\r
692                 {\r
693                     if (swigCMemOwn)\r
694                     {\r
695                         swigCMemOwn = false;\r
696                         NDalicPINVOKE.delete_Property_Value(swigCPtr);\r
697                     }\r
698                     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);\r
699                 }\r
700                 global::System.GC.SuppressFinalize(this);\r
701             }\r
702         }\r
703 \r
704 \r
705         // Extension to property value class that allows us to create a\r
706         // PropertyValue from a C# object, e.g. int, float, string\r
707         static public PropertyValue CreateFromObject(System.Object obj)\r
708         {\r
709             System.Type type = obj.GetType();\r
710 \r
711             PropertyValue value;\r
712 \r
713             if (type.Equals(typeof(int)))\r
714             {\r
715                 System.Console.WriteLine(" got an int property value ");\r
716                 value = new PropertyValue((int)obj);\r
717             }\r
718             if (type.Equals(typeof(System.Int32)))\r
719             {\r
720                 System.Console.WriteLine(" got an int property value ");\r
721                 value = new PropertyValue((int)obj);\r
722             }\r
723             else if (type.Equals(typeof(bool)))\r
724             {\r
725                 System.Console.WriteLine(" got an bool property value ");\r
726                 value = new PropertyValue((bool)obj);\r
727             }\r
728             else if (type.Equals(typeof(float)))\r
729             {\r
730                 System.Console.WriteLine(" got an float property value ");\r
731                 value = new PropertyValue((float)obj);\r
732             }\r
733             else if (type.Equals(typeof(string)))\r
734             {\r
735                 System.Console.WriteLine(" got a string property value ");\r
736                 value = new PropertyValue((string)obj);\r
737             }\r
738             else if (type.Equals(typeof(Vector2)))\r
739             {\r
740                 System.Console.WriteLine(" got an Vector2 property value ");\r
741                 value = new PropertyValue((Vector2)obj);\r
742             }\r
743             else if (type.Equals(typeof(Vector3)))\r
744             {\r
745                 System.Console.WriteLine(" got an Vector3 property value ");\r
746                 value = new PropertyValue((Vector3)obj);\r
747             }\r
748             else if (type.Equals(typeof(Vector4)))\r
749             {\r
750                 System.Console.WriteLine(" got an Vector4 property value ");\r
751 \r
752                 value = new PropertyValue((Vector4)obj);\r
753             }\r
754             else if (type.Equals(typeof(Position)))\r
755             {\r
756                 System.Console.WriteLine(" got an Position property value ");\r
757                 value = new PropertyValue((Position)obj);\r
758             }\r
759             else if (type.Equals(typeof(Size)))\r
760             {\r
761                 System.Console.WriteLine(" got an Size property value ");\r
762                 value = new PropertyValue((Size)obj);\r
763             }\r
764             else if (type.Equals(typeof(Color)))\r
765             {\r
766                 System.Console.WriteLine(" got an Color property value ");\r
767                 value = new PropertyValue((Color)obj);\r
768             }\r
769             else\r
770             {\r
771                 throw new global::System.InvalidOperationException("Unimplemented type for Property Value");\r
772             }\r
773             return value;\r
774         }\r
775 \r
776 \r
777 \r
778         public PropertyValue() : this(NDalicPINVOKE.new_Property_Value__SWIG_0(), true)\r
779         {\r
780             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
781         }\r
782 \r
783         public PropertyValue(bool boolValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_1(boolValue), true)\r
784         {\r
785             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
786         }\r
787 \r
788         public PropertyValue(int integerValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_2(integerValue), true)\r
789         {\r
790             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
791         }\r
792 \r
793         public PropertyValue(float floatValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_3(floatValue), true)\r
794         {\r
795             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
796         }\r
797 \r
798         public PropertyValue(Vector2 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Vector2.getCPtr(vectorValue)), true)\r
799         {\r
800             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
801         }\r
802         public PropertyValue(Size2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Size2D.getCPtr(vectorValue)), true)\r
803         {\r
804             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
805         }\r
806 \r
807         public PropertyValue(Vector3 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Vector3.getCPtr(vectorValue)), true)\r
808         {\r
809             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
810         }\r
811         public PropertyValue(Size vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Size.getCPtr(vectorValue)), true)\r
812         {\r
813             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
814         }\r
815 \r
816         public PropertyValue(Position vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Position.getCPtr(vectorValue)), true)\r
817         {\r
818             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
819         }\r
820 \r
821         public PropertyValue(Vector4 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Vector4.getCPtr(vectorValue)), true)\r
822         {\r
823             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
824         }\r
825         public PropertyValue(Color vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Color.getCPtr(vectorValue)), true)\r
826         {\r
827             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
828         }\r
829 \r
830         internal PropertyValue(Matrix3 matrixValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_7(Matrix3.getCPtr(matrixValue)), true)\r
831         {\r
832             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
833         }\r
834 \r
835         internal PropertyValue(Matrix matrixValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_8(Matrix.getCPtr(matrixValue)), true)\r
836         {\r
837             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
838         }\r
839 \r
840         public PropertyValue(Rectangle vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_9(Rectangle.getCPtr(vectorValue)), true)\r
841             {\r
842             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
843         }\r
844 \r
845         internal PropertyValue(AngleAxis angleAxis) : this(NDalicPINVOKE.new_Property_Value__SWIG_10(AngleAxis.getCPtr(angleAxis)), true)\r
846         {\r
847             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
848         }\r
849 \r
850         public PropertyValue(Rotation quaternion) : this(NDalicPINVOKE.new_Property_Value__SWIG_11(Rotation.getCPtr(quaternion)), true)\r
851             {\r
852             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
853         }\r
854 \r
855         public PropertyValue(string stringValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_12(stringValue), true)\r
856         {\r
857             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
858         }\r
859 \r
860         public PropertyValue(PropertyArray arrayValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_14(PropertyArray.getCPtr(arrayValue)), true)\r
861         {\r
862             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
863         }\r
864 \r
865         public PropertyValue(PropertyMap mapValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_15(PropertyMap.getCPtr(mapValue)), true)\r
866         {\r
867             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
868         }\r
869 \r
870         public PropertyValue(PropertyType type) : this(NDalicPINVOKE.new_Property_Value__SWIG_16((int)type), true)\r
871         {\r
872             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
873         }\r
874 \r
875         public PropertyValue(PropertyValue value) : this(NDalicPINVOKE.new_Property_Value__SWIG_17(PropertyValue.getCPtr(value)), true)\r
876         {\r
877             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
878         }\r
879 \r
880         public PropertyValue Assign(PropertyValue value)\r
881         {\r
882             PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Value_Assign(swigCPtr, PropertyValue.getCPtr(value)), false);\r
883             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
884             return ret;\r
885         }\r
886 \r
887         public PropertyType GetType()\r
888         {\r
889             PropertyType ret = (PropertyType)NDalicPINVOKE.Property_Value_GetType(swigCPtr);\r
890             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
891             return ret;\r
892         }\r
893 \r
894         public bool Get(ref bool boolValue)\r
895         {\r
896             bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_1(swigCPtr, ref boolValue);\r
897             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
898             return ret;\r
899         }\r
900 \r
901         public bool Get(ref float floatValue)\r
902         {\r
903             bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_2(swigCPtr, ref floatValue);\r
904             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
905             return ret;\r
906         }\r
907 \r
908         public bool Get(ref int integerValue)\r
909         {\r
910             bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_3(swigCPtr, ref integerValue);\r
911             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
912             return ret;\r
913         }\r
914 \r
915         public bool Get(Rectangle rect)\r
916         {\r
917             bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_4(swigCPtr, Rectangle.getCPtr(rect));\r
918             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
919             return ret;\r
920         }\r
921 \r
922         public bool Get(Vector2 vectorValue)\r
923         {\r
924             bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Vector2.getCPtr(vectorValue));\r
925             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
926             return ret;\r
927         }\r
928 \r
929         public bool Get(Size2D vectorValue)\r
930         {\r
931             bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Size2D.getCPtr(vectorValue));\r
932             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
933             return ret;\r
934         }\r
935 \r
936         public bool Get(Vector3 vectorValue)\r
937         {\r
938             bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Vector3.getCPtr(vectorValue));\r
939             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
940             return ret;\r
941         }\r
942 \r
943         public bool Get(Size vectorValue)\r
944         {\r
945             bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Size.getCPtr(vectorValue));\r
946             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
947             return ret;\r
948         }\r
949         public bool Get(Position vectorValue)\r
950         {\r
951             bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Position.getCPtr(vectorValue));\r
952             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
953             return ret;\r
954         }\r
955 \r
956         public bool Get(Vector4 vectorValue)\r
957         {\r
958             bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Vector4.getCPtr(vectorValue));\r
959             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
960             return ret;\r
961         }\r
962 \r
963         public bool Get(Color colorValue)\r
964         {\r
965             bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Color.getCPtr(colorValue));\r
966             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
967             return ret;\r
968         }\r
969 \r
970         internal bool Get(Matrix3 matrixValue)\r
971         {\r
972             bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_8(swigCPtr, Matrix3.getCPtr(matrixValue));\r
973             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
974             return ret;\r
975         }\r
976 \r
977         internal bool Get(Matrix matrixValue)\r
978         {\r
979             bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_9(swigCPtr, Matrix.getCPtr(matrixValue));\r
980             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
981             return ret;\r
982         }\r
983 \r
984         internal bool Get(AngleAxis angleAxisValue)\r
985         {\r
986             bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_10(swigCPtr, AngleAxis.getCPtr(angleAxisValue));\r
987             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
988             return ret;\r
989         }\r
990 \r
991         public bool Get(Rotation quaternionValue)\r
992         {\r
993             bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_11(swigCPtr, Rotation.getCPtr(quaternionValue));\r
994             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
995             return ret;\r
996         }\r
997 \r
998         public bool Get(out string stringValue)\r
999         {\r
1000             bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_12(swigCPtr, out stringValue);\r
1001             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
1002             return ret;\r
1003         }\r
1004 \r
1005         public bool Get(PropertyArray arrayValue)\r
1006         {\r
1007             bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_13(swigCPtr, PropertyArray.getCPtr(arrayValue));\r
1008             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
1009             return ret;\r
1010         }\r
1011 \r
1012         public bool Get(PropertyMap mapValue)\r
1013         {\r
1014             bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_14(swigCPtr, PropertyMap.getCPtr(mapValue));\r
1015             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
1016             return ret;\r
1017         }\r
1018 \r
1019         public PropertyArray GetArray()\r
1020         {\r
1021             global::System.IntPtr cPtr = NDalicPINVOKE.Property_Value_GetArray(swigCPtr);\r
1022             PropertyArray ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyArray(cPtr, false);\r
1023             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
1024             return ret;\r
1025         }\r
1026 \r
1027         public PropertyMap GetMap()\r
1028         {\r
1029             global::System.IntPtr cPtr = NDalicPINVOKE.Property_Value_GetMap(swigCPtr);\r
1030             PropertyMap ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyMap(cPtr, false);\r
1031             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();\r
1032             return ret;\r
1033         }\r
1034 \r
1035     }\r
1036 \r
1037     public enum PropertyType\r
1038     {\r
1039         None,\r
1040         Boolean,\r
1041         Float,\r
1042         Integer,\r
1043         Vector2,\r
1044         Vector3,\r
1045         Vector4,\r
1046         Matrix3,\r
1047         Matrix,\r
1048         Rectangle,\r
1049         Rotation,\r
1050         String,\r
1051         Array,\r
1052         Map\r
1053     }\r
1054 \r
1055     public enum PropertyAccessMode\r
1056     {\r
1057         ReadOnly,\r
1058         ReadWrite,\r
1059         Animatable,\r
1060         AccessModeCount\r
1061     }
1062
1063 }