Merge "Resource ready signal for Controls (for ImageLoading)" into devel/master
[platform/core/uifw/dali-toolkit.git] / plugins / dali-sharp / sharp / internal / Property.cs
1 //------------------------------------------------------------------------------
2 // <auto-generated />
3 //
4 // This file was automatically generated by SWIG (http://www.swig.org).
5 // Version 3.0.10
6 //
7 // Do not make changes to this file unless you know what you are doing--modify
8 // the SWIG interface file instead.
9 //------------------------------------------------------------------------------
10
11 namespace Dali {
12
13 public class Property : global::System.IDisposable {
14   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
15   protected bool swigCMemOwn;
16
17   internal Property(global::System.IntPtr cPtr, bool cMemoryOwn) {
18     swigCMemOwn = cMemoryOwn;
19     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
20   }
21
22   internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj) {
23     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
24   }
25
26   ~Property() {
27     DisposeQueue.Instance.Add(this);
28   }
29
30   public virtual void Dispose() {
31     if (!Stage.IsInstalled()) {
32       DisposeQueue.Instance.Add(this);
33       return;
34     }
35
36     lock(this) {
37       if (swigCPtr.Handle != global::System.IntPtr.Zero) {
38         if (swigCMemOwn) {
39           swigCMemOwn = false;
40           NDalicPINVOKE.delete_Property(swigCPtr);
41         }
42         swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
43       }
44       global::System.GC.SuppressFinalize(this);
45     }
46   }
47
48
49   public static int INVALID_INDEX {
50     get {
51       int ret = NDalicPINVOKE.Property_INVALID_INDEX_get();
52       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
53       return ret;
54     } 
55   }
56
57   public static int INVALID_KEY {
58     get {
59       int ret = NDalicPINVOKE.Property_INVALID_KEY_get();
60       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
61       return ret;
62     } 
63   }
64
65   public static int INVALID_COMPONENT_INDEX {
66     get {
67       int ret = NDalicPINVOKE.Property_INVALID_COMPONENT_INDEX_get();
68       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
69       return ret;
70     } 
71   }
72
73   public Property(Handle arg0, int propertyIndex) : this(NDalicPINVOKE.new_Property__SWIG_0(Handle.getCPtr(arg0), propertyIndex), true) {
74     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
75   }
76
77   public Property(Handle arg0, int propertyIndex, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_1(Handle.getCPtr(arg0), propertyIndex, componentIndex), true) {
78     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
79   }
80
81   public Property(Handle arg0, string propertyName) : this(NDalicPINVOKE.new_Property__SWIG_2(Handle.getCPtr(arg0), propertyName), true) {
82     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
83   }
84
85   public Property(Handle arg0, string propertyName, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_3(Handle.getCPtr(arg0), propertyName, componentIndex), true) {
86     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
87   }
88
89   public Handle _object {
90     set {
91       NDalicPINVOKE.Property__object_set(swigCPtr, Handle.getCPtr(value));
92       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
93     } 
94     get {
95       Handle ret = new Handle(NDalicPINVOKE.Property__object_get(swigCPtr), false);
96       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
97       return ret;
98     } 
99   }
100
101   public int propertyIndex {
102     set {
103       NDalicPINVOKE.Property_propertyIndex_set(swigCPtr, value);
104       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
105     } 
106     get {
107       int ret = NDalicPINVOKE.Property_propertyIndex_get(swigCPtr);
108       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
109       return ret;
110     } 
111   }
112
113   public int componentIndex {
114     set {
115       NDalicPINVOKE.Property_componentIndex_set(swigCPtr, value);
116       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
117     } 
118     get {
119       int ret = NDalicPINVOKE.Property_componentIndex_get(swigCPtr);
120       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
121       return ret;
122     } 
123   }
124
125   public class Array : global::System.IDisposable {
126     private global::System.Runtime.InteropServices.HandleRef swigCPtr;
127     protected bool swigCMemOwn;
128   
129     internal Array(global::System.IntPtr cPtr, bool cMemoryOwn) {
130       swigCMemOwn = cMemoryOwn;
131       swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
132     }
133   
134     internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Array obj) {
135       return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
136     }
137   
138     ~Array() {
139       Dispose();
140     }
141   
142     public virtual void Dispose() {
143       lock(this) {
144         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
145           if (swigCMemOwn) {
146             swigCMemOwn = false;
147             NDalicPINVOKE.delete_Property_Array(swigCPtr);
148           }
149           swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
150         }
151         global::System.GC.SuppressFinalize(this);
152       }
153     }
154   
155     public Property.Value this[uint index]
156     {
157       get
158       {
159         return ValueOfIndex(index);
160       }
161     }
162   
163     public Array() : this(NDalicPINVOKE.new_Property_Array__SWIG_0(), true) {
164       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
165     }
166   
167     public Array(Property.Array other) : this(NDalicPINVOKE.new_Property_Array__SWIG_1(Property.Array.getCPtr(other)), true) {
168       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
169     }
170   
171     public uint Size() {
172       uint ret = NDalicPINVOKE.Property_Array_Size(swigCPtr);
173       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
174       return ret;
175     }
176   
177     public uint Count() {
178       uint ret = NDalicPINVOKE.Property_Array_Count(swigCPtr);
179       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
180       return ret;
181     }
182   
183     public bool Empty() {
184       bool ret = NDalicPINVOKE.Property_Array_Empty(swigCPtr);
185       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
186       return ret;
187     }
188   
189     public void Clear() {
190       NDalicPINVOKE.Property_Array_Clear(swigCPtr);
191       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
192     }
193   
194     public void Reserve(uint size) {
195       NDalicPINVOKE.Property_Array_Reserve(swigCPtr, size);
196       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
197     }
198   
199     public void Resize(uint size) {
200       NDalicPINVOKE.Property_Array_Resize(swigCPtr, size);
201       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
202     }
203   
204     public uint Capacity() {
205       uint ret = NDalicPINVOKE.Property_Array_Capacity(swigCPtr);
206       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
207       return ret;
208     }
209   
210     public void PushBack(Property.Value value) {
211       NDalicPINVOKE.Property_Array_PushBack(swigCPtr, Property.Value.getCPtr(value));
212       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
213     }
214   
215     public Property.Array Add(Property.Value value) {
216       Property.Array ret = new Property.Array(NDalicPINVOKE.Property_Array_Add(swigCPtr, Property.Value.getCPtr(value)), false);
217       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
218       return ret;
219     }
220   
221     public Property.Value GetElementAt(uint index) {
222       Property.Value ret = new Property.Value(NDalicPINVOKE.Property_Array_GetElementAt__SWIG_0(swigCPtr, index), false);
223       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
224       return ret;
225     }
226   
227     public Property.Value ValueOfIndex(uint index) {
228       Property.Value ret = new Property.Value(NDalicPINVOKE.Property_Array_ValueOfIndex__SWIG_0(swigCPtr, index), false);
229       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
230       return ret;
231     }
232   
233     public Property.Array Assign(Property.Array other) {
234       Property.Array ret = new Property.Array(NDalicPINVOKE.Property_Array_Assign(swigCPtr, Property.Array.getCPtr(other)), false);
235       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
236       return ret;
237     }
238   
239   }
240
241   public class Key : global::System.IDisposable {
242     private global::System.Runtime.InteropServices.HandleRef swigCPtr;
243     protected bool swigCMemOwn;
244   
245     internal Key(global::System.IntPtr cPtr, bool cMemoryOwn) {
246       swigCMemOwn = cMemoryOwn;
247       swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
248     }
249   
250     internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Key obj) {
251       return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
252     }
253   
254     ~Key() {
255       Dispose();
256     }
257   
258     public virtual void Dispose() {
259       lock(this) {
260         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
261           if (swigCMemOwn) {
262             swigCMemOwn = false;
263             NDalicPINVOKE.delete_Property_Key(swigCPtr);
264           }
265           swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
266         }
267         global::System.GC.SuppressFinalize(this);
268       }
269     }
270   
271     public Property.Key.Type type {
272       set {
273         NDalicPINVOKE.Property_Key_type_set(swigCPtr, (int)value);
274         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
275       } 
276       get {
277         Property.Key.Type ret = (Property.Key.Type)NDalicPINVOKE.Property_Key_type_get(swigCPtr);
278         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
279         return ret;
280       } 
281     }
282   
283     public int indexKey {
284       set {
285         NDalicPINVOKE.Property_Key_indexKey_set(swigCPtr, value);
286         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
287       } 
288       get {
289         int ret = NDalicPINVOKE.Property_Key_indexKey_get(swigCPtr);
290         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
291         return ret;
292       } 
293     }
294   
295     public string stringKey {
296       set {
297         NDalicPINVOKE.Property_Key_stringKey_set(swigCPtr, value);
298         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
299       } 
300       get {
301         string ret = NDalicPINVOKE.Property_Key_stringKey_get(swigCPtr);
302         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
303         return ret;
304       } 
305     }
306   
307     public Key(string key) : this(NDalicPINVOKE.new_Property_Key__SWIG_0(key), true) {
308       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
309     }
310   
311     public Key(int key) : this(NDalicPINVOKE.new_Property_Key__SWIG_1(key), true) {
312       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
313     }
314   
315     public bool EqualTo(string rhs) {
316       bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_0(swigCPtr, rhs);
317       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
318       return ret;
319     }
320   
321     public bool EqualTo(int rhs) {
322       bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_1(swigCPtr, rhs);
323       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
324       return ret;
325     }
326   
327     public bool EqualTo(Property.Key rhs) {
328       bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_2(swigCPtr, Property.Key.getCPtr(rhs));
329       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
330       return ret;
331     }
332   
333     public bool NotEqualTo(string rhs) {
334       bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_0(swigCPtr, rhs);
335       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
336       return ret;
337     }
338   
339     public bool NotEqualTo(int rhs) {
340       bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_1(swigCPtr, rhs);
341       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
342       return ret;
343     }
344   
345     public bool NotEqualTo(Property.Key rhs) {
346       bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_2(swigCPtr, Property.Key.getCPtr(rhs));
347       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
348       return ret;
349     }
350   
351     public enum Type {
352       INDEX,
353       STRING
354     }
355   
356   }
357
358   public class Map : global::System.IDisposable {
359     private global::System.Runtime.InteropServices.HandleRef swigCPtr;
360     protected bool swigCMemOwn;
361   
362     internal Map(global::System.IntPtr cPtr, bool cMemoryOwn) {
363       swigCMemOwn = cMemoryOwn;
364       swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
365     }
366   
367     internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Map obj) {
368       return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
369     }
370   
371     ~Map() {
372       Dispose();
373     }
374   
375     public virtual void Dispose() {
376       lock(this) {
377         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
378           if (swigCMemOwn) {
379             swigCMemOwn = false;
380             NDalicPINVOKE.delete_Property_Map(swigCPtr);
381           }
382           swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
383         }
384         global::System.GC.SuppressFinalize(this);
385       }
386     }
387   
388     public Property.Value this[string key]
389     {
390       get
391       {
392         return ValueOfIndex(key);
393       }
394     }
395   
396     public Property.Value this[int key]
397     {
398       get
399       {
400         return ValueOfIndex(key);
401       }
402     }
403   
404     public Map() : this(NDalicPINVOKE.new_Property_Map__SWIG_0(), true) {
405       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
406     }
407   
408     public Map(Property.Map other) : this(NDalicPINVOKE.new_Property_Map__SWIG_1(Property.Map.getCPtr(other)), true) {
409       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
410     }
411   
412     public uint Count() {
413       uint ret = NDalicPINVOKE.Property_Map_Count(swigCPtr);
414       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
415       return ret;
416     }
417   
418     public bool Empty() {
419       bool ret = NDalicPINVOKE.Property_Map_Empty(swigCPtr);
420       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
421       return ret;
422     }
423   
424     public void Insert(string key, Property.Value value) {
425       NDalicPINVOKE.Property_Map_Insert__SWIG_0(swigCPtr, key, Property.Value.getCPtr(value));
426       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
427     }
428   
429     public void Insert(int key, Property.Value value) {
430       NDalicPINVOKE.Property_Map_Insert__SWIG_2(swigCPtr, key, Property.Value.getCPtr(value));
431       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
432     }
433   
434     public Property.Map Add(string key, Property.Value value) {
435       Property.Map ret = new Property.Map(NDalicPINVOKE.Property_Map_Add__SWIG_0(swigCPtr, key, Property.Value.getCPtr(value)), false);
436       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
437       return ret;
438     }
439   
440     public Property.Map Add(int key, Property.Value value) {
441       Property.Map ret = new Property.Map(NDalicPINVOKE.Property_Map_Add__SWIG_2(swigCPtr, key, Property.Value.getCPtr(value)), false);
442       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
443       return ret;
444     }
445   
446     public Property.Value GetValue(uint position) {
447       Property.Value ret = new Property.Value(NDalicPINVOKE.Property_Map_GetValue(swigCPtr, position), false);
448       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
449       return ret;
450     }
451   
452     public string GetKey(uint position) {
453       string ret = NDalicPINVOKE.Property_Map_GetKey(swigCPtr, position);
454       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
455       return ret;
456     }
457   
458     public Property.Key GetKeyAt(uint position) {
459       Property.Key ret = new Property.Key(NDalicPINVOKE.Property_Map_GetKeyAt(swigCPtr, position), true);
460       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
461       return ret;
462     }
463   
464     public StringValuePair GetPair(uint position) {
465       StringValuePair ret = new StringValuePair(NDalicPINVOKE.Property_Map_GetPair(swigCPtr, position), false);
466       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
467       return ret;
468     }
469   
470     public Property.Value Find(string key) {
471       global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_0(swigCPtr, key);
472       Property.Value ret = (cPtr == global::System.IntPtr.Zero) ? null : new Property.Value(cPtr, false);
473       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
474       return ret;
475     }
476   
477     public Property.Value Find(int key) {
478       global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_2(swigCPtr, key);
479       Property.Value ret = (cPtr == global::System.IntPtr.Zero) ? null : new Property.Value(cPtr, false);
480       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
481       return ret;
482     }
483   
484     public Property.Value Find(int indexKey, string stringKey) {
485       global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_3(swigCPtr, indexKey, stringKey);
486       Property.Value ret = (cPtr == global::System.IntPtr.Zero) ? null : new Property.Value(cPtr, false);
487       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
488       return ret;
489     }
490   
491     public Property.Value Find(string key, Property.Type type) {
492       global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_4(swigCPtr, key, (int)type);
493       Property.Value ret = (cPtr == global::System.IntPtr.Zero) ? null : new Property.Value(cPtr, false);
494       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
495       return ret;
496     }
497   
498     public Property.Value Find(int key, Property.Type type) {
499       global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_5(swigCPtr, key, (int)type);
500       Property.Value ret = (cPtr == global::System.IntPtr.Zero) ? null : new Property.Value(cPtr, false);
501       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
502       return ret;
503     }
504   
505     public void Clear() {
506       NDalicPINVOKE.Property_Map_Clear(swigCPtr);
507       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
508     }
509   
510     public void Merge(Property.Map from) {
511       NDalicPINVOKE.Property_Map_Merge(swigCPtr, Property.Map.getCPtr(from));
512       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
513     }
514   
515     public Property.Value ValueOfIndex(string key) {
516       Property.Value ret = new Property.Value(NDalicPINVOKE.Property_Map_ValueOfIndex__SWIG_0(swigCPtr, key), false);
517       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
518       return ret;
519     }
520   
521     public Property.Value ValueOfIndex(int key) {
522       Property.Value ret = new Property.Value(NDalicPINVOKE.Property_Map_ValueOfIndex__SWIG_2(swigCPtr, key), false);
523       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
524       return ret;
525     }
526   
527     public Property.Map Assign(Property.Map other) {
528       Property.Map ret = new Property.Map(NDalicPINVOKE.Property_Map_Assign(swigCPtr, Property.Map.getCPtr(other)), false);
529       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
530       return ret;
531     }
532   
533   }
534
535   public class Value : global::System.IDisposable {
536     private global::System.Runtime.InteropServices.HandleRef swigCPtr;
537     protected bool swigCMemOwn;
538   
539     internal Value(global::System.IntPtr cPtr, bool cMemoryOwn) {
540       swigCMemOwn = cMemoryOwn;
541       swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
542     }
543   
544     internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Value obj) {
545       return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
546     }
547   
548     ~Value() {
549       Dispose();
550     }
551   
552     public virtual void Dispose() {
553       lock(this) {
554         if (swigCPtr.Handle != global::System.IntPtr.Zero) {
555           if (swigCMemOwn) {
556             swigCMemOwn = false;
557             NDalicPINVOKE.delete_Property_Value(swigCPtr);
558           }
559           swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
560         }
561         global::System.GC.SuppressFinalize(this);
562       }
563     }
564   
565   
566       // Extension to property value class that allows us to create a
567       // PropertyValue from a C# object, e.g. int, float, string
568       static public Property.Value CreateFromObject( System.Object obj)
569       {
570         System.Type type = obj.GetType ();
571   
572           Property.Value value;
573   
574           if ( type.Equals (typeof(int)) )
575           {
576             System.Console.WriteLine (" got an int property value ");
577             value = new Property.Value ((int) obj );
578           }
579           if ( type.Equals (typeof(System.Int32)) )
580           {
581             System.Console.WriteLine (" got an int property value ");
582             value = new Property.Value ((int) obj );
583           }
584           else if ( type.Equals (typeof(bool)) )
585           {
586             System.Console.WriteLine (" got an bool property value ");
587             value = new Property.Value ((bool) obj );
588           }
589           else if ( type.Equals (typeof(float)) )
590           {
591             System.Console.WriteLine (" got an float property value ");
592             value = new Property.Value ((float) obj );
593           }
594           else if ( type.Equals (typeof(string)) )
595           {
596             System.Console.WriteLine (" got a string property value ");
597             value = new Property.Value ((string) obj );
598           }
599           else if ( type.Equals (typeof(Vector2)) )
600           {
601             System.Console.WriteLine (" got an Vector2 property value ");
602             value = new Property.Value ((Vector2) obj );
603           }
604           else if ( type.Equals (typeof(Vector3)) )
605           {
606             System.Console.WriteLine (" got an Vector3 property value ");
607             value = new Property.Value ((Vector3) obj );
608           }
609           else if ( type.Equals (typeof(Vector4)) )
610           {
611             System.Console.WriteLine (" got an Vector4 property value ");
612   
613             value = new Property.Value ((Vector4) obj );
614           }
615           else if ( type.Equals (typeof(Position)) )
616           {
617             System.Console.WriteLine (" got an Position property value ");
618             value = new Property.Value ((Position) obj );
619           }
620           else if ( type.Equals (typeof(Size)) )
621           {
622             System.Console.WriteLine (" got an Size property value ");
623             value = new Property.Value ((Size) obj );
624           }
625           else if ( type.Equals (typeof(Color)) )
626           {
627             System.Console.WriteLine (" got an Color property value ");
628             value = new Property.Value ((Color) obj );
629           }
630           else
631           {
632              throw new global::System.InvalidOperationException("Unimplemented type for Property Value");
633           }
634           return  value;
635       }
636   
637   
638       public Value(Size2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Size2D.getCPtr(vectorValue)), true) {
639         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
640       }
641   
642       public Value(Size vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Size.getCPtr(vectorValue)), true) {
643         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
644       }
645   
646       public Value(Position2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Position2D.getCPtr(vectorValue)), true) {
647         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
648       }
649   
650       public Value(Position vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Position.getCPtr(vectorValue)), true) {
651         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
652       }
653   
654       public Value(Color vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Color.getCPtr(vectorValue)), true) {
655         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
656       }
657   
658   
659       public bool Get(Size2D vectorValue) {
660         bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Size2D.getCPtr(vectorValue));
661         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
662         return ret;
663       }
664   
665       public bool Get(Size vectorValue) {
666         bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Size.getCPtr(vectorValue));
667         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
668         return ret;
669       }
670   
671       public bool Get(Position2D vectorValue) {
672         bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Position2D.getCPtr(vectorValue));
673         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
674         return ret;
675       }
676   
677       public bool Get(Position vectorValue) {
678         bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Position.getCPtr(vectorValue));
679         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
680         return ret;
681       }
682   
683       public bool Get(Color vectorValue) {
684         bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Color.getCPtr(vectorValue));
685         if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
686         return ret;
687       }
688   
689   
690    
691     public Value() : this(NDalicPINVOKE.new_Property_Value__SWIG_0(), true) {
692       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
693     }
694   
695     public Value(bool boolValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_1(boolValue), true) {
696       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
697     }
698   
699     public Value(int integerValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_2(integerValue), true) {
700       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
701     }
702   
703     public Value(float floatValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_3(floatValue), true) {
704       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
705     }
706   
707     public Value(Vector2 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Vector2.getCPtr(vectorValue)), true) {
708       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
709     }
710   
711     public Value(Vector3 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Vector3.getCPtr(vectorValue)), true) {
712       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
713     }
714   
715     public Value(Vector4 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Vector4.getCPtr(vectorValue)), true) {
716       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
717     }
718   
719     public Value(Matrix3 matrixValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_7(Matrix3.getCPtr(matrixValue)), true) {
720       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
721     }
722   
723     public Value(Matrix matrixValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_8(Matrix.getCPtr(matrixValue)), true) {
724       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
725     }
726   
727     public Value(Rectangle vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_9(Rectangle.getCPtr(vectorValue)), true) {
728       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
729     }
730   
731     public Value(AngleAxis angleAxis) : this(NDalicPINVOKE.new_Property_Value__SWIG_10(AngleAxis.getCPtr(angleAxis)), true) {
732       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
733     }
734   
735     public Value(Rotation quaternion) : this(NDalicPINVOKE.new_Property_Value__SWIG_11(Rotation.getCPtr(quaternion)), true) {
736       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
737     }
738   
739     public Value(string stringValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_12(stringValue), true) {
740       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
741     }
742   
743     public Value(Property.Array arrayValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_14(Property.Array.getCPtr(arrayValue)), true) {
744       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
745     }
746   
747     public Value(Property.Map mapValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_15(Property.Map.getCPtr(mapValue)), true) {
748       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
749     }
750   
751     public Value(Property.Type type) : this(NDalicPINVOKE.new_Property_Value__SWIG_16((int)type), true) {
752       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
753     }
754   
755     public Value(Property.Value value) : this(NDalicPINVOKE.new_Property_Value__SWIG_17(Property.Value.getCPtr(value)), true) {
756       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
757     }
758   
759     public Property.Value Assign(Property.Value value) {
760       Property.Value ret = new Property.Value(NDalicPINVOKE.Property_Value_Assign(swigCPtr, Property.Value.getCPtr(value)), false);
761       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
762       return ret;
763     }
764   
765     public Property.Type GetType() {
766       Property.Type ret = (Property.Type)NDalicPINVOKE.Property_Value_GetType(swigCPtr);
767       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
768       return ret;
769     }
770   
771     public bool Get(ref bool boolValue) {
772       bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_1(swigCPtr, ref boolValue);
773       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
774       return ret;
775     }
776   
777     public bool Get(ref float floatValue) {
778       bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_2(swigCPtr, ref floatValue);
779       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
780       return ret;
781     }
782   
783     public bool Get(ref int integerValue) {
784       bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_3(swigCPtr, ref integerValue);
785       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
786       return ret;
787     }
788   
789     public bool Get(Rectangle rect) {
790       bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_4(swigCPtr, Rectangle.getCPtr(rect));
791       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
792       return ret;
793     }
794   
795     public bool Get(Vector2 vectorValue) {
796       bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Vector2.getCPtr(vectorValue));
797       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
798       return ret;
799     }
800   
801     public bool Get(Vector3 vectorValue) {
802       bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Vector3.getCPtr(vectorValue));
803       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
804       return ret;
805     }
806   
807     public bool Get(Vector4 vectorValue) {
808       bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Vector4.getCPtr(vectorValue));
809       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
810       return ret;
811     }
812   
813     public bool Get(Matrix3 matrixValue) {
814       bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_8(swigCPtr, Matrix3.getCPtr(matrixValue));
815       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
816       return ret;
817     }
818   
819     public bool Get(Matrix matrixValue) {
820       bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_9(swigCPtr, Matrix.getCPtr(matrixValue));
821       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
822       return ret;
823     }
824   
825     public bool Get(AngleAxis angleAxisValue) {
826       bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_10(swigCPtr, AngleAxis.getCPtr(angleAxisValue));
827       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
828       return ret;
829     }
830   
831     public bool Get(Rotation quaternionValue) {
832       bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_11(swigCPtr, Rotation.getCPtr(quaternionValue));
833       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
834       return ret;
835     }
836   
837     public bool Get(out string stringValue) {
838       bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_12(swigCPtr, out stringValue);
839       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
840       return ret;
841     }
842   
843     public bool Get(Property.Array arrayValue) {
844       bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_13(swigCPtr, Property.Array.getCPtr(arrayValue));
845       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
846       return ret;
847     }
848   
849     public bool Get(Property.Map mapValue) {
850       bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_14(swigCPtr, Property.Map.getCPtr(mapValue));
851       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
852       return ret;
853     }
854   
855     public Property.Array GetArray() {
856       global::System.IntPtr cPtr = NDalicPINVOKE.Property_Value_GetArray(swigCPtr);
857       Property.Array ret = (cPtr == global::System.IntPtr.Zero) ? null : new Property.Array(cPtr, false);
858       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
859       return ret;
860     }
861   
862     public Property.Map GetMap() {
863       global::System.IntPtr cPtr = NDalicPINVOKE.Property_Value_GetMap(swigCPtr);
864       Property.Map ret = (cPtr == global::System.IntPtr.Zero) ? null : new Property.Map(cPtr, false);
865       if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
866       return ret;
867     }
868   
869   }
870
871   public enum Type {
872     NONE,
873     BOOLEAN,
874     FLOAT,
875     INTEGER,
876     VECTOR2,
877     VECTOR3,
878     VECTOR4,
879     MATRIX3,
880     MATRIX,
881     RECTANGLE,
882     ROTATION,
883     STRING,
884     ARRAY,
885     MAP
886   }
887
888   public enum AccessMode {
889     READ_ONLY,
890     READ_WRITE,
891     ANIMATABLE,
892     ACCESS_MODE_COUNT
893   }
894
895 }
896
897 }