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;
32 DisposeQueue.Instance.Add(this);
35 public virtual void Dispose()
37 if (!Window.IsInstalled())
39 DisposeQueue.Instance.Add(this);
45 if (swigCPtr.Handle != global::System.IntPtr.Zero)
50 NDalicPINVOKE.delete_Property(swigCPtr);
52 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
54 global::System.GC.SuppressFinalize(this);
59 internal static int INVALID_INDEX
63 int ret = NDalicPINVOKE.Property_INVALID_INDEX_get();
64 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
69 internal static int INVALID_KEY
73 int ret = NDalicPINVOKE.Property_INVALID_KEY_get();
74 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
79 internal static int INVALID_COMPONENT_INDEX
83 int ret = NDalicPINVOKE.Property_INVALID_COMPONENT_INDEX_get();
84 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
90 /// Constructor. Create a Property instance.
92 /// <param name="arg0">A valid handle to the target object</param>
93 /// <param name="propertyIndex">The index of a property</param>
94 public Property(Animatable arg0, int propertyIndex) : this(NDalicPINVOKE.new_Property__SWIG_0(Animatable.getCPtr(arg0), propertyIndex), true)
96 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
100 /// Constructor. Create a Property instance.
102 /// <param name="arg0">A valid handle to the target object</param>
103 /// <param name="propertyIndex">The index of a property</param>
104 /// <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>
105 public Property(Animatable arg0, int propertyIndex, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_1(Animatable.getCPtr(arg0), propertyIndex, componentIndex), true)
107 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
111 /// Constructor. Create a Property instance.<br>
112 /// This performs a property index query and is therefore slower than constructing a Property directly with the index.<br>
114 /// <param name="arg0">A valid handle to the target object</param>
115 /// <param name="propertyName">The property name</param>
116 public Property(Animatable arg0, string propertyName) : this(NDalicPINVOKE.new_Property__SWIG_2(Animatable.getCPtr(arg0), propertyName), true)
118 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
122 /// Constructor. Create a Property instance.<br>
123 /// This performs a property index query and is therefore slower than constructing a Property directly with the index.<br>
125 /// <param name="arg0">A valid handle to the target object</param>
126 /// <param name="propertyName">The property name</param>
127 /// <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>
128 public Property(Animatable arg0, string propertyName, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_3(Animatable.getCPtr(arg0), propertyName, componentIndex), true)
130 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
133 internal Animatable _object
137 NDalicPINVOKE.Property__object_set(swigCPtr, Animatable.getCPtr(value));
138 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
142 Animatable ret = new Animatable(NDalicPINVOKE.Property__object_get(swigCPtr), false);
143 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
149 /// Gets/Sets the index of the property.
151 public int propertyIndex
155 NDalicPINVOKE.Property_propertyIndex_set(swigCPtr, value);
156 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
160 int ret = NDalicPINVOKE.Property_propertyIndex_get(swigCPtr);
161 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
167 /// Gets/Sets the componentIndex of the property.
169 public int componentIndex
173 NDalicPINVOKE.Property_componentIndex_set(swigCPtr, value);
174 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
178 int ret = NDalicPINVOKE.Property_componentIndex_get(swigCPtr);
179 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
187 /// A Array of property values.
189 public class PropertyArray : global::System.IDisposable
191 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
192 protected bool swigCMemOwn;
194 internal PropertyArray(global::System.IntPtr cPtr, bool cMemoryOwn)
196 swigCMemOwn = cMemoryOwn;
197 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
200 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyArray obj)
202 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
207 DisposeQueue.Instance.Add(this);
210 public virtual void Dispose()
212 if (!Window.IsInstalled()) {
213 DisposeQueue.Instance.Add(this);
219 if (swigCPtr.Handle != global::System.IntPtr.Zero)
224 NDalicPINVOKE.delete_Property_Array(swigCPtr);
226 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
228 global::System.GC.SuppressFinalize(this);
233 /// Operator to access an element.
235 /// <param name="index">The element index to access. No bounds checking is performed</param>
236 /// <returns>The a reference to the element</returns>
237 public PropertyValue this[uint index]
241 return ValueOfIndex(index);
248 public PropertyArray() : this(NDalicPINVOKE.new_Property_Array__SWIG_0(), true)
250 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
253 internal PropertyArray(PropertyArray other) : this(NDalicPINVOKE.new_Property_Array__SWIG_1(PropertyArray.getCPtr(other)), true)
255 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
259 /// Retrieves the number of elements in the array.
261 /// <returns>The number of elements in the array</returns>
264 uint ret = NDalicPINVOKE.Property_Array_Size(swigCPtr);
265 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
270 /// Retrieves the number of elements in the array.
272 /// <returns>The number of elements in the array</returns>
275 uint ret = NDalicPINVOKE.Property_Array_Count(swigCPtr);
276 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
281 /// Returns whether the array is empty.
283 /// <returns>Return true if empty, false otherwise</returns>
286 bool ret = NDalicPINVOKE.Property_Array_Empty(swigCPtr);
287 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
292 /// Clears the array.
296 NDalicPINVOKE.Property_Array_Clear(swigCPtr);
297 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
301 /// Increases the capacity of the array.
303 /// <param name="size">The size to reserve</param>
304 public void Reserve(uint size)
306 NDalicPINVOKE.Property_Array_Reserve(swigCPtr, size);
307 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
313 /// <param name="size">The size to resize</param>
314 public void Resize(uint size)
316 NDalicPINVOKE.Property_Array_Resize(swigCPtr, size);
317 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
321 /// Retrieves the capacity of the array.
323 /// <returns>The allocated capacity of the array</returns>
324 public uint Capacity()
326 uint ret = NDalicPINVOKE.Property_Array_Capacity(swigCPtr);
327 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
332 /// Adds an element to the array.
334 /// <param name="value">The value to add to the end of the array</param>
335 public void PushBack(PropertyValue value)
337 NDalicPINVOKE.Property_Array_PushBack(swigCPtr, PropertyValue.getCPtr(value));
338 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
342 /// Add an element to the array.
344 /// <param name="value">The value to add to the end of the array</param>
345 public PropertyArray Add(PropertyValue value)
347 PropertyArray ret = new PropertyArray(NDalicPINVOKE.Property_Array_Add(swigCPtr, PropertyValue.getCPtr(value)), false);
348 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
353 /// Access an element.
355 /// <param name="index">The element index to access. No bounds checking is performed</param>
356 /// <returns>The a reference to the element</returns>
357 public PropertyValue GetElementAt(uint index)
359 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Array_GetElementAt__SWIG_0(swigCPtr, index), false);
360 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
365 /// Retrieves the value of elements in the array.
367 /// <param name="index">The element index to retrieve.</param>
368 /// <returns>The a reference to the element</returns>
369 public PropertyValue ValueOfIndex(uint index)
371 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Array_ValueOfIndex__SWIG_0(swigCPtr, index), false);
372 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
379 /// <param name="other">The array to copy from</param>
380 /// <returns>The copied array</returns>
381 internal PropertyArray Assign(PropertyArray other)
383 PropertyArray ret = new PropertyArray(NDalicPINVOKE.Property_Array_Assign(swigCPtr, PropertyArray.getCPtr(other)), false);
384 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
391 /// A key type which can be either a std::string or a Property::Index
393 public class PropertyKey : global::System.IDisposable
395 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
396 protected bool swigCMemOwn;
398 internal PropertyKey(global::System.IntPtr cPtr, bool cMemoryOwn)
400 swigCMemOwn = cMemoryOwn;
401 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
404 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyKey obj)
406 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
411 DisposeQueue.Instance.Add(this);
414 public virtual void Dispose()
416 if (!Window.IsInstalled()) {
417 DisposeQueue.Instance.Add(this);
423 if (swigCPtr.Handle != global::System.IntPtr.Zero)
428 NDalicPINVOKE.delete_Property_Key(swigCPtr);
430 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
432 global::System.GC.SuppressFinalize(this);
437 /// The type of the key
439 public PropertyKey.Type type
443 NDalicPINVOKE.Property_Key_type_set(swigCPtr, (int)value);
444 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
448 PropertyKey.Type ret = (PropertyKey.Type)NDalicPINVOKE.Property_Key_type_get(swigCPtr);
449 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
461 NDalicPINVOKE.Property_Key_indexKey_set(swigCPtr, value);
462 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
466 int ret = NDalicPINVOKE.Property_Key_indexKey_get(swigCPtr);
467 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
475 public string stringKey
479 NDalicPINVOKE.Property_Key_stringKey_set(swigCPtr, value);
480 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
484 string ret = NDalicPINVOKE.Property_Key_stringKey_get(swigCPtr);
485 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
493 /// <param name="key">The string key</param>
494 public PropertyKey(string key) : this(NDalicPINVOKE.new_Property_Key__SWIG_0(key), true)
496 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
502 /// <param name="key">The index key</param>
503 public PropertyKey(int key) : this(NDalicPINVOKE.new_Property_Key__SWIG_1(key), true)
505 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
509 /// Compare if rhs is equal to
511 /// <param name="rhs">A string key to compare against</param>
512 /// <returns>Returns true if the key compares, or false if it isn't equal or of the wrong type</returns>
513 public bool EqualTo(string rhs)
515 bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_0(swigCPtr, rhs);
516 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
521 /// Compare if rhs is equal to
523 /// <param name="rhs">A index key to compare against</param>
524 /// <returns>Returns true if the key compares, or false if it isn't equal or of the wrong type</returns>
525 public bool EqualTo(int rhs)
527 bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_1(swigCPtr, rhs);
528 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
533 /// Compare if rhs is equal to
535 /// <param name="rhs">A key to compare against</param>
536 /// <returns>Returns true if the keys are of the same type and have the same value</returns>
537 public bool EqualTo(PropertyKey rhs)
539 bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_2(swigCPtr, PropertyKey.getCPtr(rhs));
540 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
545 /// Compare if rhs is not equal to
547 /// <param name="rhs">An index key to compare against.</param>
548 /// <returns>Returns true if the key is not equal or not a string key</returns>
549 public bool NotEqualTo(string rhs)
551 bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_0(swigCPtr, rhs);
552 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
557 /// Compare if rhs is not equal to
559 /// <param name="rhs">An index key to compare against.</param>
560 /// <returns>Returns true if the key is not equal, or not an index key</returns>
561 public bool NotEqualTo(int rhs)
563 bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_1(swigCPtr, rhs);
564 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
569 /// Compare if rhs is not equal to
571 /// <param name="rhs">A key to compare against.</param>
572 /// <returns>Returns true if the keys are not of the same type or are not equal</returns>
573 public bool NotEqualTo(PropertyKey rhs)
575 bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_2(swigCPtr, PropertyKey.getCPtr(rhs));
576 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
592 /// A Map of property values, the key type could be String or Property::Index.
594 public class PropertyMap : global::System.IDisposable
596 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
597 protected bool swigCMemOwn;
599 internal PropertyMap(global::System.IntPtr cPtr, bool cMemoryOwn)
601 swigCMemOwn = cMemoryOwn;
602 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
605 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyMap obj)
607 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
612 DisposeQueue.Instance.Add(this);
615 public virtual void Dispose()
617 if (!Window.IsInstalled()) {
618 DisposeQueue.Instance.Add(this);
624 if (swigCPtr.Handle != global::System.IntPtr.Zero)
629 NDalicPINVOKE.delete_Property_Map(swigCPtr);
631 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
633 global::System.GC.SuppressFinalize(this);
638 /// Operator to access the element with the specified string key.<br>
639 /// If an element with the key does not exist, then it is created.<br>
641 /// <param name="key">The key whose value to access</param>
642 /// <returns>A value for the element with the specified key</returns>
643 public PropertyValue this[string key]
647 return ValueOfIndex(key);
652 /// Operator to access the element with the specified index key.<br>
653 /// If an element with the key does not exist, then it is created.<br>
655 /// <param name="key">The key whose value to access</param>
656 /// <returns>A value for the element with the specified key</returns>
657 public PropertyValue this[int key]
661 return ValueOfIndex(key);
668 public PropertyMap() : this(NDalicPINVOKE.new_Property_Map__SWIG_0(), true)
670 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
676 /// <param name="other">The Map to copy from</param>
677 public PropertyMap(PropertyMap other) : this(NDalicPINVOKE.new_Property_Map__SWIG_1(PropertyMap.getCPtr(other)), true)
679 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
683 /// Retrieves the number of elements in the map.
685 /// <returns>The number of elements in the map</returns>
688 uint ret = NDalicPINVOKE.Property_Map_Count(swigCPtr);
689 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
694 /// Returns whether the map is empty.
696 /// <returns>Returns true if empty, false otherwise</returns>
699 bool ret = NDalicPINVOKE.Property_Map_Empty(swigCPtr);
700 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
705 /// Inserts the key-value pair in the Map, with the key type as string.<br>
706 /// Does not check for duplicates.<br>
708 /// <param name="key">The key to insert</param>
709 /// <param name="value">The value to insert</param>
710 public void Insert(string key, PropertyValue value)
712 NDalicPINVOKE.Property_Map_Insert__SWIG_0(swigCPtr, key, PropertyValue.getCPtr(value));
713 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
717 /// Inserts the key-value pair in the Map, with the key type as index.<br>
718 /// Does not check for duplicates.<br>
720 /// <param name="key">The key to insert</param>
721 /// <param name="value">The value to insert</param>
722 public void Insert(int key, PropertyValue value)
724 NDalicPINVOKE.Property_Map_Insert__SWIG_2(swigCPtr, key, PropertyValue.getCPtr(value));
725 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
729 /// Inserts the key-value pair in the Map, with the key type as string.<br>
730 /// Does not check for duplicates.<br>
732 /// <param name="key">The key to insert</param>
733 /// <param name="value">The value to insert</param>
734 /// <returns>Returns a reference to this object</returns>
735 public PropertyMap Add(string key, PropertyValue value)
737 PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Add__SWIG_0(swigCPtr, key, PropertyValue.getCPtr(value)), false);
738 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
743 /// Inserts the key-value pair in the Map, with the key type as string.<br>
744 /// Does not check for duplicates.<br>
746 /// <param name="key">The key to insert</param>
747 /// <param name="value">The value to insert</param>
748 /// <returns>Returns a reference to this object</returns>
749 public PropertyMap Add(int key, PropertyValue value)
751 PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Add__SWIG_2(swigCPtr, key, PropertyValue.getCPtr(value)), false);
752 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
757 /// Retrieves the value at the specified position.
759 /// <param name="position">The specified position</param>
760 /// <returns>A reference to the value at the specified position</returns>
761 public PropertyValue GetValue(uint position)
763 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_GetValue(swigCPtr, position), false);
764 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
769 /// Retrieves the key at the specified position.
771 /// <param name="position">The specified position</param>
772 /// <returns>A reference to the key at the specified position</returns>
773 public string GetKey(uint position)
775 string ret = NDalicPINVOKE.Property_Map_GetKey(swigCPtr, position);
776 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
781 /// Retrieve the key at the specified position.
783 /// <param name="position">The specified position</param>
784 /// <returns>A copy of the key at the specified position</returns>
785 public PropertyKey GetKeyAt(uint position)
787 PropertyKey ret = new PropertyKey(NDalicPINVOKE.Property_Map_GetKeyAt(swigCPtr, position), true);
788 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
792 internal StringValuePair GetPair(uint position)
794 StringValuePair ret = new StringValuePair(NDalicPINVOKE.Property_Map_GetPair(swigCPtr, position), false);
795 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
800 /// Finds the value for the specified key if it exists.
802 /// <param name="key">The key to find</param>
803 /// <returns>The value if it exists, an empty object otherwise</returns>
804 public PropertyValue Find(string key)
806 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_0(swigCPtr, key);
807 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
808 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
813 /// Finds the value for the specified key if it exists.
815 /// <param name="key">The key to find</param>
816 /// <returns>The value if it exists, an empty object otherwise</returns>
817 public PropertyValue Find(int key)
819 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_2(swigCPtr, key);
820 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
821 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
826 /// Finds the value for the specified keys if either exist.
828 /// <param name="indexKey">The index key to find</param>
829 /// <param name="stringKey">The string key to find</param>
830 /// <returns>The value if it exists, an empty object otherwise</returns>
831 public PropertyValue Find(int indexKey, string stringKey)
833 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_3(swigCPtr, indexKey, stringKey);
834 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
835 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
840 /// Finds the value for the specified key if it exists and its type is type.
842 /// <param name="key">The key to find</param>
843 /// <param name="type">The type to check</param>
844 /// <returns>The value if it exists, an empty value otherwise</returns>
845 public PropertyValue Find(string key, PropertyType type)
847 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_4(swigCPtr, key, (int)type);
848 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
849 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
854 /// Finds the value for the specified key if it exists and its type is type.
856 /// <param name="key">The key to find</param>
857 /// <param name="type">The type to check</param>
858 /// <returns>The value if it exists, an empty value otherwise</returns>
859 public PropertyValue Find(int key, PropertyType type)
861 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_5(swigCPtr, key, (int)type);
862 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
863 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
872 NDalicPINVOKE.Property_Map_Clear(swigCPtr);
873 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
877 /// Merges values from the map 'from' to the current.<br>
878 /// Any values in 'from' will overwrite the values in the current map.<br>
880 /// <param name="from">The map to merge from</param>
881 public void Merge(PropertyMap from)
883 NDalicPINVOKE.Property_Map_Merge(swigCPtr, PropertyMap.getCPtr(from));
884 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
888 /// Retrieves the element with the specified string key.
890 /// <param name="key">The key whose value to retrieve</param>
891 /// <returns>The value for the element with the specified key</returns>
892 public PropertyValue ValueOfIndex(string key)
894 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_ValueOfIndex__SWIG_0(swigCPtr, key), false);
895 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
900 /// Retrieves the element with the specified index key.
902 /// <param name="key">The key whose value to retrieve</param>
903 /// <returns>The value for the element with the specified key</returns>
904 public PropertyValue ValueOfIndex(int key)
906 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_ValueOfIndex__SWIG_2(swigCPtr, key), false);
907 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
914 /// <param name="other">The map to copy from</param>
915 /// <returns>The copied map</returns>
916 internal PropertyMap Assign(PropertyMap other)
918 PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Assign(swigCPtr, PropertyMap.getCPtr(other)), false);
919 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
926 /// A value-type representing a property value.
928 public class PropertyValue : global::System.IDisposable
930 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
931 protected bool swigCMemOwn;
933 internal PropertyValue(global::System.IntPtr cPtr, bool cMemoryOwn)
935 swigCMemOwn = cMemoryOwn;
936 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
939 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyValue obj)
941 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
946 DisposeQueue.Instance.Add(this);
949 public virtual void Dispose()
951 if (!Window.IsInstalled()) {
952 DisposeQueue.Instance.Add(this);
958 if (swigCPtr.Handle != global::System.IntPtr.Zero)
963 NDalicPINVOKE.delete_Property_Value(swigCPtr);
965 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
967 global::System.GC.SuppressFinalize(this);
973 /// Extension to property value class that allows us to create a
974 /// PropertyValue from a C# object, e.g. int, float, string.<br>
976 /// <param name="obj">An object to create</param>
977 /// <returns>The created value</returns>
978 static public PropertyValue CreateFromObject(System.Object obj)
980 System.Type type = obj.GetType();
984 if (type.Equals(typeof(int)))
986 value = new PropertyValue((int)obj);
988 if (type.Equals(typeof(System.Int32)))
990 value = new PropertyValue((int)obj);
992 else if (type.Equals(typeof(bool)))
994 value = new PropertyValue((bool)obj);
996 else if (type.Equals(typeof(float)))
998 value = new PropertyValue((float)obj);
1000 else if (type.Equals(typeof(string)))
1002 value = new PropertyValue((string)obj);
1004 else if (type.Equals(typeof(Vector2)))
1006 value = new PropertyValue((Vector2)obj);
1008 else if (type.Equals(typeof(Vector3)))
1010 value = new PropertyValue((Vector3)obj);
1012 else if (type.Equals(typeof(Vector4)))
1014 value = new PropertyValue((Vector4)obj);
1016 else if (type.Equals(typeof(Position)))
1018 value = new PropertyValue((Position)obj);
1020 else if (type.Equals(typeof(Position2D)))
1022 value = new PropertyValue((Position2D)obj);
1024 else if (type.Equals(typeof(Size)))
1026 value = new PropertyValue((Size)obj);
1028 else if (type.Equals(typeof(Size2D)))
1030 value = new PropertyValue((Size2D)obj);
1032 else if (type.Equals(typeof(Color)))
1034 value = new PropertyValue((Color)obj);
1036 else if (type.Equals(typeof(Rotation)))
1038 value = new PropertyValue((Rotation)obj);
1040 else if (type.Equals(typeof(RelativeVector2)))
1042 value = new PropertyValue((RelativeVector2)obj);
1044 else if (type.Equals(typeof(RelativeVector3)))
1046 value = new PropertyValue((RelativeVector3)obj);
1048 else if (type.Equals(typeof(RelativeVector4)))
1050 value = new PropertyValue((RelativeVector4)obj);
1054 throw new global::System.InvalidOperationException("Unimplemented type for Property Value :" + type.Name);
1057 Tizen.Log.Debug("NUI", " got an property value of =" + type.Name);
1063 /// Creates a Size2D property value.
1065 /// <param name="vectorValue">A Size2D values</param>
1066 public PropertyValue(Size2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Size2D.getCPtr(vectorValue)), true)
1068 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1072 /// Creates a Size property value.
1074 /// <param name="vectorValue">A Size values</param>
1075 public PropertyValue(Size vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Size.getCPtr(vectorValue)), true)
1077 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1081 /// Creates a Position2D property value.
1083 /// <param name="vectorValue">A Position2D values</param>
1084 public PropertyValue(Position2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Position2D.getCPtr(vectorValue)), true)
1086 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1090 /// Creates a Position property value.
1092 /// <param name="vectorValue">A Position values</param>
1093 public PropertyValue(Position vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Position.getCPtr(vectorValue)), true)
1095 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1099 /// Creates a Color property value.
1101 /// <param name="vectorValue">A Color values</param>
1102 public PropertyValue(Color vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Color.getCPtr(vectorValue)), true)
1104 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1109 /// Retrieves a Size2D value.
1111 /// <param name="vectorValue"> On return, a Size2D value</param>
1112 public bool Get(Size2D vectorValue)
1114 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Size2D.getCPtr(vectorValue));
1115 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1120 /// Retrieves a Size2D value.
1122 /// <param name="vectorValue"> On return, a Size2D value</param>
1123 public bool Get(Size vectorValue)
1125 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Size.getCPtr(vectorValue));
1126 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1131 /// Retrieves a Position2D value.
1133 /// <param name="vectorValue"> On return, a Position2D value</param>
1134 public bool Get(Position2D vectorValue)
1136 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Position2D.getCPtr(vectorValue));
1137 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1142 /// Retrieves a Position value.
1144 /// <param name="vectorValue"> On return, a Position value</param>
1145 public bool Get(Position vectorValue)
1147 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Position.getCPtr(vectorValue));
1148 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1153 /// Retrieves a Color value.
1155 /// <param name="vectorValue"> On return, a Color value</param>
1156 public bool Get(Color vectorValue)
1158 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Color.getCPtr(vectorValue));
1159 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1166 /// Default constructor.
1168 public PropertyValue() : this(NDalicPINVOKE.new_Property_Value__SWIG_0(), true)
1170 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1174 /// Creates a boolean property value.
1176 /// <param name="boolValue">A boolean value</param>
1177 public PropertyValue(bool boolValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_1(boolValue), true)
1179 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1183 /// Creates an integer property value.
1185 /// <param name="integerValue">An integer value</param>
1186 public PropertyValue(int integerValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_2(integerValue), true)
1188 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1192 /// Creates a float property value.
1194 /// <param name="floatValue">A floating-point value</param>
1195 public PropertyValue(float floatValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_3(floatValue), true)
1197 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1201 /// Creates a Vector2 property value.
1203 /// <param name="vectorValue">A vector of 2 floating-point values</param>
1204 public PropertyValue(Vector2 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Vector2.getCPtr(vectorValue)), true)
1206 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1210 /// Creates a Vector3 property value.
1212 /// <param name="vectorValue">A vector of 3 floating-point values</param>
1213 public PropertyValue(Vector3 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Vector3.getCPtr(vectorValue)), true)
1215 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1219 /// Creates a Vector4 property value.
1221 /// <param name="vectorValue">A vector of 4 floating-point values</param>
1222 public PropertyValue(Vector4 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Vector4.getCPtr(vectorValue)), true)
1224 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1227 internal PropertyValue(Matrix3 matrixValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_7(Matrix3.getCPtr(matrixValue)), true)
1229 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1232 internal PropertyValue(Matrix matrixValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_8(Matrix.getCPtr(matrixValue)), true)
1234 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1238 /// Creates a Rectangle property value.
1240 /// <param name="vectorValue">A Rectangle values</param>
1241 public PropertyValue(Rectangle vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_9(Rectangle.getCPtr(vectorValue)), true)
1243 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1246 internal PropertyValue(AngleAxis angleAxis) : this(NDalicPINVOKE.new_Property_Value__SWIG_10(AngleAxis.getCPtr(angleAxis)), true)
1248 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1252 /// Creates a Rotation property value.
1254 /// <param name="quaternion">A Rotation values</param>
1255 public PropertyValue(Rotation quaternion) : this(NDalicPINVOKE.new_Property_Value__SWIG_11(Rotation.getCPtr(quaternion)), true)
1257 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1261 /// Creates a string property value.
1263 /// <param name="stringValue">A string</param>
1264 public PropertyValue(string stringValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_12(stringValue), true)
1266 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1270 /// Creates an array property value.
1272 /// <param name="arrayValue">An array</param>
1273 public PropertyValue(PropertyArray arrayValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_14(PropertyArray.getCPtr(arrayValue)), true)
1275 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1279 /// Creates a map property value.
1281 /// <param name="mapValue">An array</param>
1282 public PropertyValue(PropertyMap mapValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_15(PropertyMap.getCPtr(mapValue)), true)
1284 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1288 /// Creates a PropertyType value.
1290 /// <param name="type">A PropertyType values</param>
1291 public PropertyValue(PropertyType type) : this(NDalicPINVOKE.new_Property_Value__SWIG_16((int)type), true)
1293 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1297 /// Creates a PropertyValue value.
1299 /// <param name="value">A PropertyValue values</param>
1300 public PropertyValue(PropertyValue value) : this(NDalicPINVOKE.new_Property_Value__SWIG_17(PropertyValue.getCPtr(value)), true)
1302 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1308 /// <param name="value">The value to copy from</param>
1309 /// <returns>The copied value</returns>
1310 internal PropertyValue Assign(PropertyValue value)
1312 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Value_Assign(swigCPtr, PropertyValue.getCPtr(value)), false);
1313 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1318 /// Queries the type of this property value.
1320 /// <returns>The type ID</returns>
1321 public PropertyType GetType()
1323 PropertyType ret = (PropertyType)NDalicPINVOKE.Property_Value_GetType(swigCPtr);
1324 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1329 /// Retrieves a boolean value.
1331 /// <param name="boolValue">On return, a boolean value</param>
1332 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1333 public bool Get(ref bool boolValue)
1335 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_1(swigCPtr, ref boolValue);
1336 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1341 /// Retrieves a floating-point value.
1343 /// <param name="floatValue">On return, a floating-point value</param>
1344 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1345 public bool Get(ref float floatValue)
1347 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_2(swigCPtr, ref floatValue);
1348 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1353 /// Retrieves a integer value.
1355 /// <param name="integerValue">On return, a integer value</param>
1356 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1357 public bool Get(ref int integerValue)
1359 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_3(swigCPtr, ref integerValue);
1360 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1365 /// Retrieves an integer rectangle.
1367 /// <param name="rect">On return, an integer rectangle</param>
1368 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1369 public bool Get(Rectangle rect)
1371 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_4(swigCPtr, Rectangle.getCPtr(rect));
1372 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1377 /// Retrieves a vector value.
1379 /// <param name="vectorValue">On return, a vector value</param>
1380 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1381 public bool Get(Vector2 vectorValue)
1383 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Vector2.getCPtr(vectorValue));
1384 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1389 /// Retrieves a vector value.
1391 /// <param name="vectorValue">On return, a vector value</param>
1392 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1393 public bool Get(Vector3 vectorValue)
1395 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Vector3.getCPtr(vectorValue));
1396 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1401 /// Retrieves a vector value.
1403 /// <param name="vectorValue">On return, a vector value</param>
1404 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1405 public bool Get(Vector4 vectorValue)
1407 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Vector4.getCPtr(vectorValue));
1408 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1412 internal bool Get(Matrix3 matrixValue)
1414 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_8(swigCPtr, Matrix3.getCPtr(matrixValue));
1415 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1419 internal bool Get(Matrix matrixValue)
1421 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_9(swigCPtr, Matrix.getCPtr(matrixValue));
1422 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1426 internal bool Get(AngleAxis angleAxisValue)
1428 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_10(swigCPtr, AngleAxis.getCPtr(angleAxisValue));
1429 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1434 /// Retrieves a Rotation value.
1436 /// <param name="quaternionValue">On return, a Rotation value</param>
1437 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1438 public bool Get(Rotation quaternionValue)
1440 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_11(swigCPtr, Rotation.getCPtr(quaternionValue));
1441 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1446 /// Retrieves a string property value.
1448 /// <param name="stringValue">On return, a string</param>
1449 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1450 public bool Get(out string stringValue)
1452 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_12(swigCPtr, out stringValue);
1453 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1458 /// Retrieves an array property value.
1460 /// <param name="arrayValue">On return, the array as a vector Property Values</param>
1461 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1462 public bool Get(PropertyArray arrayValue)
1464 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_13(swigCPtr, PropertyArray.getCPtr(arrayValue));
1465 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1470 /// Retrieves an map property value.
1472 /// <param name="mapValue">On return, the map as vector of string and Property Value pairs</param>
1473 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1474 public bool Get(PropertyMap mapValue)
1476 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_14(swigCPtr, PropertyMap.getCPtr(mapValue));
1477 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1482 /// Retrieves the Array API of the Property::Value without copying the contents of the map.
1484 /// <returns>The Array API of the Property::Value or NULL if not a Property::Array</returns>
1485 public PropertyArray GetArray()
1487 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Value_GetArray(swigCPtr);
1488 PropertyArray ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyArray(cPtr, false);
1489 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1494 /// Retrieves the Map API of the Property::Value without copying the contents of the map.
1496 /// <returns>The Map API of the Property::Value or NULL if not a Property::Map</returns>
1497 public PropertyMap GetMap()
1499 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Value_GetMap(swigCPtr);
1500 PropertyMap ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyMap(cPtr, false);
1501 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();