1 //------------------------------------------------------------------------------
4 // This file was automatically generated by SWIG (http://www.swig.org).
7 // Do not make changes to this file unless you know what you are doing--modify
8 // the SWIG interface file instead.
9 //------------------------------------------------------------------------------
14 internal class Property : global::System.IDisposable
16 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
17 protected bool swigCMemOwn;
19 internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
21 swigCMemOwn = cMemoryOwn;
22 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
25 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
27 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
30 //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam)
32 //A Flag to check who called Dispose(). (By User or DisposeQueue)
33 private bool isDisposeQueued = false;
34 //A Flat to check if it is already disposed.
35 protected bool disposed = false;
41 isDisposeQueued = true;
42 DisposeQueue.Instance.Add(this);
48 //Throw excpetion if Dispose() is called in separate thread.
49 if (!Window.IsInstalled())
51 throw new System.InvalidOperationException("This API called from separate thread. This API must be called from MainThread.");
56 Dispose(DisposeTypes.Implicit);
60 Dispose(DisposeTypes.Explicit);
61 System.GC.SuppressFinalize(this);
65 protected virtual void Dispose(DisposeTypes type)
72 if(type == DisposeTypes.Explicit)
75 //Release your own managed resources here.
76 //You should release all of your own disposable objects here.
79 //Release your own unmanaged resources here.
80 //You should not access any managed member here except static instance.
81 //because the execution order of Finalizes is non-deterministic.
83 if (swigCPtr.Handle != global::System.IntPtr.Zero)
88 NDalicPINVOKE.delete_Property(swigCPtr);
90 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
96 internal static int INVALID_INDEX
100 int ret = NDalicPINVOKE.Property_INVALID_INDEX_get();
101 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
106 internal static int INVALID_KEY
110 int ret = NDalicPINVOKE.Property_INVALID_KEY_get();
111 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
116 internal static int INVALID_COMPONENT_INDEX
120 int ret = NDalicPINVOKE.Property_INVALID_COMPONENT_INDEX_get();
121 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
127 /// Constructor. Create a Property instance.
129 /// <param name="arg0">A valid handle to the target object</param>
130 /// <param name="propertyIndex">The index of a property</param>
131 public Property(Animatable arg0, int propertyIndex) : this(NDalicPINVOKE.new_Property__SWIG_0(Animatable.getCPtr(arg0), propertyIndex), true)
133 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
137 /// Constructor. Create a Property instance.
139 /// <param name="arg0">A valid handle to the target object</param>
140 /// <param name="propertyIndex">The index of a property</param>
141 /// <param name="componentIndex">Index to a sub component of a property, for use with Vector2, Vector3 and Vector4. -1 for main property (default is -1)</param>
142 public Property(Animatable arg0, int propertyIndex, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_1(Animatable.getCPtr(arg0), propertyIndex, componentIndex), true)
144 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
148 /// Constructor. Create a Property instance.<br>
149 /// This performs a property index query and is therefore slower than constructing a Property directly with the index.<br>
151 /// <param name="arg0">A valid handle to the target object</param>
152 /// <param name="propertyName">The property name</param>
153 public Property(Animatable arg0, string propertyName) : this(NDalicPINVOKE.new_Property__SWIG_2(Animatable.getCPtr(arg0), propertyName), true)
155 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
159 /// Constructor. Create a Property instance.<br>
160 /// This performs a property index query and is therefore slower than constructing a Property directly with the index.<br>
162 /// <param name="arg0">A valid handle to the target object</param>
163 /// <param name="propertyName">The property name</param>
164 /// <param name="componentIndex">Index to a sub component of a property, for use with Vector2, Vector3 and Vector4. -1 for main property (default is -1)</param>
165 public Property(Animatable arg0, string propertyName, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_3(Animatable.getCPtr(arg0), propertyName, componentIndex), true)
167 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
170 internal Animatable _object
174 NDalicPINVOKE.Property__object_set(swigCPtr, Animatable.getCPtr(value));
175 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
179 Animatable ret = new Animatable(NDalicPINVOKE.Property__object_get(swigCPtr), false);
180 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
186 /// Gets/Sets the index of the property.
188 public int propertyIndex
192 NDalicPINVOKE.Property_propertyIndex_set(swigCPtr, value);
193 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
197 int ret = NDalicPINVOKE.Property_propertyIndex_get(swigCPtr);
198 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
204 /// Gets/Sets the componentIndex of the property.
206 public int componentIndex
210 NDalicPINVOKE.Property_componentIndex_set(swigCPtr, value);
211 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
215 int ret = NDalicPINVOKE.Property_componentIndex_get(swigCPtr);
216 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
224 /// A Array of property values.
226 public class PropertyArray : global::System.IDisposable
228 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
229 protected bool swigCMemOwn;
231 internal PropertyArray(global::System.IntPtr cPtr, bool cMemoryOwn)
233 swigCMemOwn = cMemoryOwn;
234 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
237 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyArray obj)
239 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
242 //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam)
244 //A Flag to check who called Dispose(). (By User or DisposeQueue)
245 private bool isDisposeQueued = false;
246 //A Flat to check if it is already disposed.
247 protected bool disposed = false;
253 isDisposeQueued = true;
254 DisposeQueue.Instance.Add(this);
258 public void Dispose()
260 //Throw excpetion if Dispose() is called in separate thread.
261 if (!Window.IsInstalled())
263 throw new System.InvalidOperationException("This API called from separate thread. This API must be called from MainThread.");
268 Dispose(DisposeTypes.Implicit);
272 Dispose(DisposeTypes.Explicit);
273 System.GC.SuppressFinalize(this);
277 protected virtual void Dispose(DisposeTypes type)
284 if(type == DisposeTypes.Explicit)
287 //Release your own managed resources here.
288 //You should release all of your own disposable objects here.
291 //Release your own unmanaged resources here.
292 //You should not access any managed member here except static instance.
293 //because the execution order of Finalizes is non-deterministic.
295 if (swigCPtr.Handle != global::System.IntPtr.Zero)
300 NDalicPINVOKE.delete_Property_Array(swigCPtr);
302 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
308 /// Operator to access an element.
310 /// <param name="index">The element index to access. No bounds checking is performed</param>
311 /// <returns>The a reference to the element</returns>
312 public PropertyValue this[uint index]
316 return ValueOfIndex(index);
323 public PropertyArray() : this(NDalicPINVOKE.new_Property_Array__SWIG_0(), true)
325 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
328 internal PropertyArray(PropertyArray other) : this(NDalicPINVOKE.new_Property_Array__SWIG_1(PropertyArray.getCPtr(other)), true)
330 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
334 /// Retrieves the number of elements in the array.
336 /// <returns>The number of elements in the array</returns>
339 uint ret = NDalicPINVOKE.Property_Array_Size(swigCPtr);
340 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
345 /// Retrieves the number of elements in the array.
347 /// <returns>The number of elements in the array</returns>
350 uint ret = NDalicPINVOKE.Property_Array_Count(swigCPtr);
351 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
356 /// Returns whether the array is empty.
358 /// <returns>Return true if empty, false otherwise</returns>
361 bool ret = NDalicPINVOKE.Property_Array_Empty(swigCPtr);
362 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
367 /// Clears the array.
371 NDalicPINVOKE.Property_Array_Clear(swigCPtr);
372 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
376 /// Increases the capacity of the array.
378 /// <param name="size">The size to reserve</param>
379 public void Reserve(uint size)
381 NDalicPINVOKE.Property_Array_Reserve(swigCPtr, size);
382 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
388 /// <param name="size">The size to resize</param>
389 public void Resize(uint size)
391 NDalicPINVOKE.Property_Array_Resize(swigCPtr, size);
392 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
396 /// Retrieves the capacity of the array.
398 /// <returns>The allocated capacity of the array</returns>
399 public uint Capacity()
401 uint ret = NDalicPINVOKE.Property_Array_Capacity(swigCPtr);
402 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
407 /// Adds an element to the array.
409 /// <param name="value">The value to add to the end of the array</param>
410 public void PushBack(PropertyValue value)
412 NDalicPINVOKE.Property_Array_PushBack(swigCPtr, PropertyValue.getCPtr(value));
413 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
417 /// Add an element to the array.
419 /// <param name="value">The value to add to the end of the array</param>
420 public PropertyArray Add(PropertyValue value)
422 PropertyArray ret = new PropertyArray(NDalicPINVOKE.Property_Array_Add(swigCPtr, PropertyValue.getCPtr(value)), false);
423 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
428 /// Access an element.
430 /// <param name="index">The element index to access. No bounds checking is performed</param>
431 /// <returns>The a reference to the element</returns>
432 public PropertyValue GetElementAt(uint index)
434 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Array_GetElementAt__SWIG_0(swigCPtr, index), false);
435 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
440 /// Retrieves the value of elements in the array.
442 /// <param name="index">The element index to retrieve.</param>
443 /// <returns>The a reference to the element</returns>
444 private PropertyValue ValueOfIndex(uint index)
446 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Array_ValueOfIndex__SWIG_0(swigCPtr, index), false);
447 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
453 /// A key type which can be either a std::string or a Property::Index
455 public class PropertyKey : global::System.IDisposable
457 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
458 protected bool swigCMemOwn;
460 internal PropertyKey(global::System.IntPtr cPtr, bool cMemoryOwn)
462 swigCMemOwn = cMemoryOwn;
463 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
466 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyKey obj)
468 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
471 //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam)
473 //A Flag to check who called Dispose(). (By User or DisposeQueue)
474 private bool isDisposeQueued = false;
475 //A Flat to check if it is already disposed.
476 protected bool disposed = false;
482 isDisposeQueued = true;
483 DisposeQueue.Instance.Add(this);
487 public void Dispose()
489 //Throw excpetion if Dispose() is called in separate thread.
490 if (!Window.IsInstalled())
492 throw new System.InvalidOperationException("This API called from separate thread. This API must be called from MainThread.");
497 Dispose(DisposeTypes.Implicit);
501 Dispose(DisposeTypes.Explicit);
502 System.GC.SuppressFinalize(this);
506 protected virtual void Dispose(DisposeTypes type)
513 if(type == DisposeTypes.Explicit)
516 //Release your own managed resources here.
517 //You should release all of your own disposable objects here.
520 //Release your own unmanaged resources here.
521 //You should not access any managed member here except static instance.
522 //because the execution order of Finalizes is non-deterministic.
524 if (swigCPtr.Handle != global::System.IntPtr.Zero)
529 NDalicPINVOKE.delete_Property_Key(swigCPtr);
531 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
537 /// The type of the key
539 public PropertyKey.KeyType Type
543 NDalicPINVOKE.Property_Key_type_set(swigCPtr, (int)value);
544 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
548 PropertyKey.KeyType ret = (PropertyKey.KeyType)NDalicPINVOKE.Property_Key_type_get(swigCPtr);
549 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
561 NDalicPINVOKE.Property_Key_indexKey_set(swigCPtr, value);
562 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
566 int ret = NDalicPINVOKE.Property_Key_indexKey_get(swigCPtr);
567 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
575 public string StringKey
579 NDalicPINVOKE.Property_Key_stringKey_set(swigCPtr, value);
580 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
584 string ret = NDalicPINVOKE.Property_Key_stringKey_get(swigCPtr);
585 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
593 /// <param name="key">The string key</param>
594 public PropertyKey(string key) : this(NDalicPINVOKE.new_Property_Key__SWIG_0(key), true)
596 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
602 /// <param name="key">The index key</param>
603 public PropertyKey(int key) : this(NDalicPINVOKE.new_Property_Key__SWIG_1(key), true)
605 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
609 /// Compare if rhs is equal to
611 /// <param name="rhs">A string key to compare against</param>
612 /// <returns>Returns true if the key compares, or false if it isn't equal or of the wrong type</returns>
613 public bool EqualTo(string rhs)
615 bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_0(swigCPtr, rhs);
616 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
621 /// Compare if rhs is equal to
623 /// <param name="rhs">A index key to compare against</param>
624 /// <returns>Returns true if the key compares, or false if it isn't equal or of the wrong type</returns>
625 public bool EqualTo(int rhs)
627 bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_1(swigCPtr, rhs);
628 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
633 /// Compare if rhs is equal to
635 /// <param name="rhs">A key to compare against</param>
636 /// <returns>Returns true if the keys are of the same type and have the same value</returns>
637 public bool EqualTo(PropertyKey rhs)
639 bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_2(swigCPtr, PropertyKey.getCPtr(rhs));
640 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
645 /// Compare if rhs is not equal to
647 /// <param name="rhs">An index key to compare against.</param>
648 /// <returns>Returns true if the key is not equal or not a string key</returns>
649 public bool NotEqualTo(string rhs)
651 bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_0(swigCPtr, rhs);
652 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
657 /// Compare if rhs is not equal to
659 /// <param name="rhs">An index key to compare against.</param>
660 /// <returns>Returns true if the key is not equal, or not an index key</returns>
661 public bool NotEqualTo(int rhs)
663 bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_1(swigCPtr, rhs);
664 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
669 /// Compare if rhs is not equal to
671 /// <param name="rhs">A key to compare against.</param>
672 /// <returns>Returns true if the keys are not of the same type or are not equal</returns>
673 public bool NotEqualTo(PropertyKey rhs)
675 bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_2(swigCPtr, PropertyKey.getCPtr(rhs));
676 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
692 /// A Map of property values, the key type could be String or Property::Index.
694 public class PropertyMap : global::System.IDisposable
696 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
697 protected bool swigCMemOwn;
699 internal PropertyMap(global::System.IntPtr cPtr, bool cMemoryOwn)
701 swigCMemOwn = cMemoryOwn;
702 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
705 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyMap obj)
707 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
710 //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam)
712 //A Flag to check who called Dispose(). (By User or DisposeQueue)
713 private bool isDisposeQueued = false;
714 //A Flat to check if it is already disposed.
715 protected bool disposed = false;
721 isDisposeQueued = true;
722 DisposeQueue.Instance.Add(this);
726 public void Dispose()
728 //Throw excpetion if Dispose() is called in separate thread.
729 if (!Window.IsInstalled())
731 throw new System.InvalidOperationException("This API called from separate thread. This API must be called from MainThread.");
736 Dispose(DisposeTypes.Implicit);
740 Dispose(DisposeTypes.Explicit);
741 System.GC.SuppressFinalize(this);
745 protected virtual void Dispose(DisposeTypes type)
752 if(type == DisposeTypes.Explicit)
755 //Release your own managed resources here.
756 //You should release all of your own disposable objects here.
759 //Release your own unmanaged resources here.
760 //You should not access any managed member here except static instance.
761 //because the execution order of Finalizes is non-deterministic.
763 if (swigCPtr.Handle != global::System.IntPtr.Zero)
768 NDalicPINVOKE.delete_Property_Map(swigCPtr);
770 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
776 /// Operator to access the element with the specified string key.<br>
777 /// If an element with the key does not exist, then it is created.<br>
779 /// <param name="key">The key whose value to access</param>
780 /// <returns>A value for the element with the specified key</returns>
781 public PropertyValue this[string key]
785 return ValueOfIndex(key);
790 /// Operator to access the element with the specified index key.<br>
791 /// If an element with the key does not exist, then it is created.<br>
793 /// <param name="key">The key whose value to access</param>
794 /// <returns>A value for the element with the specified key</returns>
795 public PropertyValue this[int key]
799 return ValueOfIndex(key);
806 public PropertyMap() : this(NDalicPINVOKE.new_Property_Map__SWIG_0(), true)
808 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
814 /// <param name="other">The Map to copy from</param>
815 public PropertyMap(PropertyMap other) : this(NDalicPINVOKE.new_Property_Map__SWIG_1(PropertyMap.getCPtr(other)), true)
817 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
821 /// Retrieves the number of elements in the map.
823 /// <returns>The number of elements in the map</returns>
826 uint ret = NDalicPINVOKE.Property_Map_Count(swigCPtr);
827 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
832 /// Returns whether the map is empty.
834 /// <returns>Returns true if empty, false otherwise</returns>
837 bool ret = NDalicPINVOKE.Property_Map_Empty(swigCPtr);
838 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
843 /// Inserts the key-value pair in the Map, with the key type as string.<br>
844 /// Does not check for duplicates.<br>
846 /// <param name="key">The key to insert</param>
847 /// <param name="value">The value to insert</param>
848 public void Insert(string key, PropertyValue value)
850 NDalicPINVOKE.Property_Map_Insert__SWIG_0(swigCPtr, key, PropertyValue.getCPtr(value));
851 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
855 /// Inserts the key-value pair in the Map, with the key type as index.<br>
856 /// Does not check for duplicates.<br>
858 /// <param name="key">The key to insert</param>
859 /// <param name="value">The value to insert</param>
860 public void Insert(int key, PropertyValue value)
862 NDalicPINVOKE.Property_Map_Insert__SWIG_2(swigCPtr, key, PropertyValue.getCPtr(value));
863 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
867 /// Inserts the key-value pair in the Map, with the key type as string.<br>
868 /// Does not check for duplicates.<br>
870 /// <param name="key">The key to insert</param>
871 /// <param name="value">The value to insert</param>
872 /// <returns>Returns a reference to this object</returns>
873 public PropertyMap Add(string key, PropertyValue value)
875 PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Add__SWIG_0(swigCPtr, key, PropertyValue.getCPtr(value)), false);
876 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
881 /// Inserts the key-value pair in the Map, with the key type as string.<br>
882 /// Does not check for duplicates.<br>
884 /// <param name="key">The key to insert</param>
885 /// <param name="value">The value to insert</param>
886 /// <returns>Returns a reference to this object</returns>
887 public PropertyMap Add(int key, PropertyValue value)
889 PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Add__SWIG_2(swigCPtr, key, PropertyValue.getCPtr(value)), false);
890 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
895 /// Retrieves the value at the specified position.
897 /// <param name="position">The specified position</param>
898 /// <returns>A reference to the value at the specified position</returns>
899 public PropertyValue GetValue(uint position)
901 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_GetValue(swigCPtr, position), false);
902 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
907 /// Retrieves the key at the specified position.
909 /// <param name="position">The specified position</param>
910 /// <returns>A reference to the key at the specified position</returns>
911 public string GetKey(uint position)
913 string ret = NDalicPINVOKE.Property_Map_GetKey(swigCPtr, position);
914 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
919 /// Retrieve the key at the specified position.
921 /// <param name="position">The specified position</param>
922 /// <returns>A copy of the key at the specified position</returns>
923 public PropertyKey GetKeyAt(uint position)
925 PropertyKey ret = new PropertyKey(NDalicPINVOKE.Property_Map_GetKeyAt(swigCPtr, position), true);
926 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
931 /// Finds the value for the specified key if it exists.
933 /// <param name="key">The key to find</param>
934 /// <returns>The value if it exists, an empty object otherwise</returns>
935 public PropertyValue Find(string key)
937 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_0(swigCPtr, key);
938 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
939 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
944 /// Finds the value for the specified key if it exists.
946 /// <param name="key">The key to find</param>
947 /// <returns>The value if it exists, an empty object otherwise</returns>
948 public PropertyValue Find(int key)
950 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_2(swigCPtr, key);
951 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
952 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
957 /// Finds the value for the specified keys if either exist.
959 /// <param name="indexKey">The index key to find</param>
960 /// <param name="stringKey">The string key to find</param>
961 /// <returns>The value if it exists, an empty object otherwise</returns>
962 public PropertyValue Find(int indexKey, string stringKey)
964 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_3(swigCPtr, indexKey, stringKey);
965 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
966 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
971 /// Finds the value for the specified key if it exists and its type is type.
973 /// <param name="key">The key to find</param>
974 /// <param name="type">The type to check</param>
975 /// <returns>The value if it exists, an empty value otherwise</returns>
976 public PropertyValue Find(string key, PropertyType type)
978 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_4(swigCPtr, key, (int)type);
979 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
980 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
985 /// Finds the value for the specified key if it exists and its type is type.
987 /// <param name="key">The key to find</param>
988 /// <param name="type">The type to check</param>
989 /// <returns>The value if it exists, an empty value otherwise</returns>
990 public PropertyValue Find(int key, PropertyType type)
992 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_5(swigCPtr, key, (int)type);
993 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
994 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1003 NDalicPINVOKE.Property_Map_Clear(swigCPtr);
1004 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1008 /// Merges values from the map 'from' to the current.<br>
1009 /// Any values in 'from' will overwrite the values in the current map.<br>
1011 /// <param name="from">The map to merge from</param>
1012 public void Merge(PropertyMap from)
1014 NDalicPINVOKE.Property_Map_Merge(swigCPtr, PropertyMap.getCPtr(from));
1015 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1019 /// Retrieves the element with the specified string key.
1021 /// <param name="key">The key whose value to retrieve</param>
1022 /// <returns>The value for the element with the specified key</returns>
1023 internal PropertyValue ValueOfIndex(string key)
1025 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_ValueOfIndex__SWIG_0(swigCPtr, key), false);
1026 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1031 /// Retrieves the element with the specified index key.
1033 /// <param name="key">The key whose value to retrieve</param>
1034 /// <returns>The value for the element with the specified key</returns>
1035 internal PropertyValue ValueOfIndex(int key)
1037 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_ValueOfIndex__SWIG_2(swigCPtr, key), false);
1038 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1044 /// A value-type representing a property value.
1046 public class PropertyValue : global::System.IDisposable
1048 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
1049 protected bool swigCMemOwn;
1051 internal PropertyValue(global::System.IntPtr cPtr, bool cMemoryOwn)
1053 swigCMemOwn = cMemoryOwn;
1054 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
1057 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyValue obj)
1059 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
1062 //NUI Dispose Pattern written by Jinwoo Nam(jjw.nam)
1064 //A Flag to check who called Dispose(). (By User or DisposeQueue)
1065 private bool isDisposeQueued = false;
1066 //A Flat to check if it is already disposed.
1067 protected bool disposed = false;
1071 if(!isDisposeQueued)
1073 isDisposeQueued = true;
1074 DisposeQueue.Instance.Add(this);
1078 public void Dispose()
1080 //Throw excpetion if Dispose() is called in separate thread.
1081 if (!Window.IsInstalled())
1083 throw new System.InvalidOperationException("This API called from separate thread. This API must be called from MainThread.");
1086 if (isDisposeQueued)
1088 Dispose(DisposeTypes.Implicit);
1092 Dispose(DisposeTypes.Explicit);
1093 System.GC.SuppressFinalize(this);
1097 protected virtual void Dispose(DisposeTypes type)
1104 if(type == DisposeTypes.Explicit)
1107 //Release your own managed resources here.
1108 //You should release all of your own disposable objects here.
1111 //Release your own unmanaged resources here.
1112 //You should not access any managed member here except static instance.
1113 //because the execution order of Finalizes is non-deterministic.
1115 if (swigCPtr.Handle != global::System.IntPtr.Zero)
1119 swigCMemOwn = false;
1120 NDalicPINVOKE.delete_Property_Value(swigCPtr);
1122 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
1129 /// Extension to property value class that allows us to create a
1130 /// PropertyValue from a C# object, e.g. int, float, string.<br>
1132 /// <param name="obj">An object to create</param>
1133 /// <returns>The created value</returns>
1134 static public PropertyValue CreateFromObject(System.Object obj)
1136 System.Type type = obj.GetType();
1138 PropertyValue value;
1140 if (type.Equals(typeof(int)))
1142 value = new PropertyValue((int)obj);
1144 if (type.Equals(typeof(System.Int32)))
1146 value = new PropertyValue((int)obj);
1148 else if (type.Equals(typeof(bool)))
1150 value = new PropertyValue((bool)obj);
1152 else if (type.Equals(typeof(float)))
1154 value = new PropertyValue((float)obj);
1156 else if (type.Equals(typeof(string)))
1158 value = new PropertyValue((string)obj);
1160 else if (type.Equals(typeof(Vector2)))
1162 value = new PropertyValue((Vector2)obj);
1164 else if (type.Equals(typeof(Vector3)))
1166 value = new PropertyValue((Vector3)obj);
1168 else if (type.Equals(typeof(Vector4)))
1170 value = new PropertyValue((Vector4)obj);
1172 else if (type.Equals(typeof(Position)))
1174 value = new PropertyValue((Position)obj);
1176 else if (type.Equals(typeof(Position2D)))
1178 value = new PropertyValue((Position2D)obj);
1180 else if (type.Equals(typeof(Size)))
1182 value = new PropertyValue((Size)obj);
1184 else if (type.Equals(typeof(Size2D)))
1186 value = new PropertyValue((Size2D)obj);
1188 else if (type.Equals(typeof(Color)))
1190 value = new PropertyValue((Color)obj);
1192 else if (type.Equals(typeof(Rotation)))
1194 value = new PropertyValue((Rotation)obj);
1196 else if (type.Equals(typeof(RelativeVector2)))
1198 value = new PropertyValue((RelativeVector2)obj);
1200 else if (type.Equals(typeof(RelativeVector3)))
1202 value = new PropertyValue((RelativeVector3)obj);
1204 else if (type.Equals(typeof(RelativeVector4)))
1206 value = new PropertyValue((RelativeVector4)obj);
1210 throw new global::System.InvalidOperationException("Unimplemented type for Property Value :" + type.Name);
1213 Tizen.Log.Debug("NUI", " got an property value of =" + type.Name);
1219 /// Creates a Size2D property value.
1221 /// <param name="vectorValue">A Size2D values</param>
1222 public PropertyValue(Size2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Size2D.getCPtr(vectorValue)), true)
1224 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1228 /// Creates a Position2D property value.
1230 /// <param name="vectorValue">A Position2D values</param>
1231 public PropertyValue(Position2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Position2D.getCPtr(vectorValue)), true)
1233 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1237 /// Creates a Position property value.
1239 /// <param name="vectorValue">A Position values</param>
1240 public PropertyValue(Position vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Position.getCPtr(vectorValue)), true)
1242 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1246 /// Creates a Color property value.
1248 /// <param name="vectorValue">A Color values</param>
1249 public PropertyValue(Color vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Color.getCPtr(vectorValue)), true)
1251 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1256 /// Retrieves a Size2D value.
1258 /// <param name="vectorValue"> On return, a Size2D value</param>
1259 public bool Get(Size2D vectorValue)
1261 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Size2D.getCPtr(vectorValue));
1262 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1267 /// Retrieves a Position2D value.
1269 /// <param name="vectorValue"> On return, a Position2D value</param>
1270 public bool Get(Position2D vectorValue)
1272 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Position2D.getCPtr(vectorValue));
1273 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1278 /// Retrieves a Position value.
1280 /// <param name="vectorValue"> On return, a Position value</param>
1281 public bool Get(Position vectorValue)
1283 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Position.getCPtr(vectorValue));
1284 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1289 /// Retrieves a Color value.
1291 /// <param name="vectorValue"> On return, a Color value</param>
1292 public bool Get(Color vectorValue)
1294 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Color.getCPtr(vectorValue));
1295 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1302 /// Default constructor.
1304 public PropertyValue() : this(NDalicPINVOKE.new_Property_Value__SWIG_0(), true)
1306 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1310 /// Creates a boolean property value.
1312 /// <param name="boolValue">A boolean value</param>
1313 public PropertyValue(bool boolValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_1(boolValue), true)
1315 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1319 /// Creates an integer property value.
1321 /// <param name="integerValue">An integer value</param>
1322 public PropertyValue(int integerValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_2(integerValue), true)
1324 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1328 /// Creates a float property value.
1330 /// <param name="floatValue">A floating-point value</param>
1331 public PropertyValue(float floatValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_3(floatValue), true)
1333 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1337 /// Creates a Vector2 property value.
1339 /// <param name="vectorValue">A vector of 2 floating-point values</param>
1340 public PropertyValue(Vector2 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Vector2.getCPtr(vectorValue)), true)
1342 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1346 /// Creates a Vector3 property value.
1348 /// <param name="vectorValue">A vector of 3 floating-point values</param>
1349 public PropertyValue(Vector3 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Vector3.getCPtr(vectorValue)), true)
1351 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1355 /// Creates a Vector4 property value.
1357 /// <param name="vectorValue">A vector of 4 floating-point values</param>
1358 public PropertyValue(Vector4 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Vector4.getCPtr(vectorValue)), true)
1360 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1363 internal PropertyValue(Matrix3 matrixValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_7(Matrix3.getCPtr(matrixValue)), true)
1365 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1368 internal PropertyValue(Matrix matrixValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_8(Matrix.getCPtr(matrixValue)), true)
1370 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1374 /// Creates a Rectangle property value.
1376 /// <param name="vectorValue">A Rectangle values</param>
1377 public PropertyValue(Rectangle vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_9(Rectangle.getCPtr(vectorValue)), true)
1379 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1382 internal PropertyValue(AngleAxis angleAxis) : this(NDalicPINVOKE.new_Property_Value__SWIG_10(AngleAxis.getCPtr(angleAxis)), true)
1384 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1388 /// Creates a Rotation property value.
1390 /// <param name="quaternion">A Rotation values</param>
1391 public PropertyValue(Rotation quaternion) : this(NDalicPINVOKE.new_Property_Value__SWIG_11(Rotation.getCPtr(quaternion)), true)
1393 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1397 /// Creates a string property value.
1399 /// <param name="stringValue">A string</param>
1400 public PropertyValue(string stringValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_12(stringValue), true)
1402 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1406 /// Creates an array property value.
1408 /// <param name="arrayValue">An array</param>
1409 public PropertyValue(PropertyArray arrayValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_14(PropertyArray.getCPtr(arrayValue)), true)
1411 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1415 /// Creates a map property value.
1417 /// <param name="mapValue">An array</param>
1418 public PropertyValue(PropertyMap mapValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_15(PropertyMap.getCPtr(mapValue)), true)
1420 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1424 /// Creates a PropertyType value.
1426 /// <param name="type">A PropertyType values</param>
1427 public PropertyValue(PropertyType type) : this(NDalicPINVOKE.new_Property_Value__SWIG_16((int)type), true)
1429 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1433 /// Creates a PropertyValue value.
1435 /// <param name="value">A PropertyValue values</param>
1436 public PropertyValue(PropertyValue value) : this(NDalicPINVOKE.new_Property_Value__SWIG_17(PropertyValue.getCPtr(value)), true)
1438 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1442 /// Queries the type of this property value.
1444 /// <returns>The type ID</returns>
1445 public PropertyType GetType()
1447 PropertyType ret = (PropertyType)NDalicPINVOKE.Property_Value_GetType(swigCPtr);
1448 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1453 /// Retrieves a boolean value.
1455 /// <param name="boolValue">On return, a boolean value</param>
1456 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1457 public bool Get(out bool boolValue)
1459 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_1(swigCPtr, out boolValue);
1460 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1465 /// Retrieves a floating-point value.
1467 /// <param name="floatValue">On return, a floating-point value</param>
1468 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1469 public bool Get(out float floatValue)
1471 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_2(swigCPtr, out floatValue);
1472 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1477 /// Retrieves a integer value.
1479 /// <param name="integerValue">On return, a integer value</param>
1480 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1481 public bool Get(out int integerValue)
1483 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_3(swigCPtr, out integerValue);
1484 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1489 /// Retrieves an integer rectangle.
1491 /// <param name="rect">On return, an integer rectangle</param>
1492 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1493 public bool Get(Rectangle rect)
1495 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_4(swigCPtr, Rectangle.getCPtr(rect));
1496 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1501 /// Retrieves a vector value.
1503 /// <param name="vectorValue">On return, a vector value</param>
1504 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1505 public bool Get(Vector2 vectorValue)
1507 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Vector2.getCPtr(vectorValue));
1508 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1513 /// Retrieves a vector value.
1515 /// <param name="vectorValue">On return, a vector value</param>
1516 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1517 public bool Get(Vector3 vectorValue)
1519 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Vector3.getCPtr(vectorValue));
1520 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1525 /// Retrieves a vector value.
1527 /// <param name="vectorValue">On return, a vector value</param>
1528 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1529 public bool Get(Vector4 vectorValue)
1531 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Vector4.getCPtr(vectorValue));
1532 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1536 internal bool Get(Matrix3 matrixValue)
1538 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_8(swigCPtr, Matrix3.getCPtr(matrixValue));
1539 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1543 internal bool Get(Matrix matrixValue)
1545 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_9(swigCPtr, Matrix.getCPtr(matrixValue));
1546 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1550 internal bool Get(AngleAxis angleAxisValue)
1552 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_10(swigCPtr, AngleAxis.getCPtr(angleAxisValue));
1553 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1558 /// Retrieves a Rotation value.
1560 /// <param name="quaternionValue">On return, a Rotation value</param>
1561 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1562 public bool Get(Rotation quaternionValue)
1564 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_11(swigCPtr, Rotation.getCPtr(quaternionValue));
1565 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1570 /// Retrieves a string property value.
1572 /// <param name="stringValue">On return, a string</param>
1573 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1574 public bool Get(out string stringValue)
1576 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_12(swigCPtr, out stringValue);
1577 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1582 /// Retrieves an array property value.
1584 /// <param name="arrayValue">On return, the array as a vector Property Values</param>
1585 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1586 public bool Get(PropertyArray arrayValue)
1588 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_13(swigCPtr, PropertyArray.getCPtr(arrayValue));
1589 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1594 /// Retrieves an map property value.
1596 /// <param name="mapValue">On return, the map as vector of string and Property Value pairs</param>
1597 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1598 public bool Get(PropertyMap mapValue)
1600 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_14(swigCPtr, PropertyMap.getCPtr(mapValue));
1601 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();