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 (!Stage.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(Handle arg0, int propertyIndex) : this(NDalicPINVOKE.new_Property__SWIG_0(Handle.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(Handle arg0, int propertyIndex, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_1(Handle.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(Handle arg0, string propertyName) : this(NDalicPINVOKE.new_Property__SWIG_2(Handle.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(Handle arg0, string propertyName, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_3(Handle.getCPtr(arg0), propertyName, componentIndex), true)
130 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
133 internal Handle _object
137 NDalicPINVOKE.Property__object_set(swigCPtr, Handle.getCPtr(value));
138 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
142 Handle ret = new Handle(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;
210 public virtual void Dispose()
214 if (swigCPtr.Handle != global::System.IntPtr.Zero)
219 NDalicPINVOKE.delete_Property_Array(swigCPtr);
221 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
223 global::System.GC.SuppressFinalize(this);
228 /// Operator to access an element.
230 /// <param name="index">The element index to access. No bounds checking is performed</param>
231 /// <returns>The a reference to the element</returns>
232 public PropertyValue this[uint index]
236 return ValueOfIndex(index);
243 public PropertyArray() : this(NDalicPINVOKE.new_Property_Array__SWIG_0(), true)
245 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
248 internal PropertyArray(PropertyArray other) : this(NDalicPINVOKE.new_Property_Array__SWIG_1(PropertyArray.getCPtr(other)), true)
250 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
254 /// Retrieves the number of elements in the array.
256 /// <returns>The number of elements in the array</returns>
259 uint ret = NDalicPINVOKE.Property_Array_Size(swigCPtr);
260 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
265 /// Retrieves the number of elements in the array.
267 /// <returns>The number of elements in the array</returns>
270 uint ret = NDalicPINVOKE.Property_Array_Count(swigCPtr);
271 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
276 /// Returns whether the array is empty.
278 /// <returns>Return true if empty, false otherwise</returns>
281 bool ret = NDalicPINVOKE.Property_Array_Empty(swigCPtr);
282 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
287 /// Clears the array.
291 NDalicPINVOKE.Property_Array_Clear(swigCPtr);
292 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
296 /// Increases the capacity of the array.
298 /// <param name="size">The size to reserve</param>
299 public void Reserve(uint size)
301 NDalicPINVOKE.Property_Array_Reserve(swigCPtr, size);
302 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
308 /// <param name="size">The size to resize</param>
309 public void Resize(uint size)
311 NDalicPINVOKE.Property_Array_Resize(swigCPtr, size);
312 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
316 /// Retrieves the capacity of the array.
318 /// <returns>The allocated capacity of the array</returns>
319 public uint Capacity()
321 uint ret = NDalicPINVOKE.Property_Array_Capacity(swigCPtr);
322 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
327 /// Adds an element to the array.
329 /// <param name="value">The value to add to the end of the array</param>
330 public void PushBack(PropertyValue value)
332 NDalicPINVOKE.Property_Array_PushBack(swigCPtr, PropertyValue.getCPtr(value));
333 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
337 /// Add an element to the array.
339 /// <param name="value">The value to add to the end of the array</param>
340 public PropertyArray Add(PropertyValue value)
342 PropertyArray ret = new PropertyArray(NDalicPINVOKE.Property_Array_Add(swigCPtr, PropertyValue.getCPtr(value)), false);
343 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
348 /// Access an element.
350 /// <param name="index">The element index to access. No bounds checking is performed</param>
351 /// <returns>The a reference to the element</returns>
352 public PropertyValue GetElementAt(uint index)
354 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Array_GetElementAt__SWIG_0(swigCPtr, index), false);
355 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
360 /// Retrieves the value of elements in the array.
362 /// <param name="index">The element index to retrieve.</param>
363 /// <returns>The a reference to the element</returns>
364 public PropertyValue ValueOfIndex(uint index)
366 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Array_ValueOfIndex__SWIG_0(swigCPtr, index), false);
367 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
374 /// <param name="other">The array to copy from</param>
375 /// <returns>The copied array</returns>
376 internal PropertyArray Assign(PropertyArray other)
378 PropertyArray ret = new PropertyArray(NDalicPINVOKE.Property_Array_Assign(swigCPtr, PropertyArray.getCPtr(other)), false);
379 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
386 /// A key type which can be either a std::string or a Property::Index
388 public class PropertyKey : global::System.IDisposable
390 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
391 protected bool swigCMemOwn;
393 internal PropertyKey(global::System.IntPtr cPtr, bool cMemoryOwn)
395 swigCMemOwn = cMemoryOwn;
396 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
399 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyKey obj)
401 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
409 public virtual void Dispose()
413 if (swigCPtr.Handle != global::System.IntPtr.Zero)
418 NDalicPINVOKE.delete_Property_Key(swigCPtr);
420 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
422 global::System.GC.SuppressFinalize(this);
427 /// The type of the key
429 public PropertyKey.Type type
433 NDalicPINVOKE.Property_Key_type_set(swigCPtr, (int)value);
434 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
438 PropertyKey.Type ret = (PropertyKey.Type)NDalicPINVOKE.Property_Key_type_get(swigCPtr);
439 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
451 NDalicPINVOKE.Property_Key_indexKey_set(swigCPtr, value);
452 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
456 int ret = NDalicPINVOKE.Property_Key_indexKey_get(swigCPtr);
457 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
465 public string stringKey
469 NDalicPINVOKE.Property_Key_stringKey_set(swigCPtr, value);
470 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
474 string ret = NDalicPINVOKE.Property_Key_stringKey_get(swigCPtr);
475 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
483 /// <param name="key">The string key</param>
484 public PropertyKey(string key) : this(NDalicPINVOKE.new_Property_Key__SWIG_0(key), true)
486 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
492 /// <param name="key">The index key</param>
493 public PropertyKey(int key) : this(NDalicPINVOKE.new_Property_Key__SWIG_1(key), true)
495 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
499 /// Compare if rhs is equal to
501 /// <param name="rhs">A string key to compare against</param>
502 /// <returns>Returns true if the key compares, or false if it isn't equal or of the wrong type</returns>
503 public bool EqualTo(string rhs)
505 bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_0(swigCPtr, rhs);
506 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
511 /// Compare if rhs is equal to
513 /// <param name="rhs">A index key to compare against</param>
514 /// <returns>Returns true if the key compares, or false if it isn't equal or of the wrong type</returns>
515 public bool EqualTo(int rhs)
517 bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_1(swigCPtr, rhs);
518 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
523 /// Compare if rhs is equal to
525 /// <param name="rhs">A key to compare against</param>
526 /// <returns>Returns true if the keys are of the same type and have the same value</returns>
527 public bool EqualTo(PropertyKey rhs)
529 bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_2(swigCPtr, PropertyKey.getCPtr(rhs));
530 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
535 /// Compare if rhs is not equal to
537 /// <param name="rhs">An index key to compare against.</param>
538 /// <returns>Returns true if the key is not equal or not a string key</returns>
539 public bool NotEqualTo(string rhs)
541 bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_0(swigCPtr, rhs);
542 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
547 /// Compare if rhs is not equal to
549 /// <param name="rhs">An index key to compare against.</param>
550 /// <returns>Returns true if the key is not equal, or not an index key</returns>
551 public bool NotEqualTo(int rhs)
553 bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_1(swigCPtr, rhs);
554 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
559 /// Compare if rhs is not equal to
561 /// <param name="rhs">A key to compare against.</param>
562 /// <returns>Returns true if the keys are not of the same type or are not equal</returns>
563 public bool NotEqualTo(PropertyKey rhs)
565 bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_2(swigCPtr, PropertyKey.getCPtr(rhs));
566 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
582 /// A Map of property values, the key type could be String or Property::Index.
584 public class PropertyMap : global::System.IDisposable
586 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
587 protected bool swigCMemOwn;
589 internal PropertyMap(global::System.IntPtr cPtr, bool cMemoryOwn)
591 swigCMemOwn = cMemoryOwn;
592 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
595 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyMap obj)
597 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
605 public virtual void Dispose()
609 if (swigCPtr.Handle != global::System.IntPtr.Zero)
614 NDalicPINVOKE.delete_Property_Map(swigCPtr);
616 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
618 global::System.GC.SuppressFinalize(this);
623 /// Operator to access the element with the specified string key.<br>
624 /// If an element with the key does not exist, then it is created.<br>
626 /// <param name="key">The key whose value to access</param>
627 /// <returns>A value for the element with the specified key</returns>
628 public PropertyValue this[string key]
632 return ValueOfIndex(key);
637 /// Operator to access the element with the specified index key.<br>
638 /// If an element with the key does not exist, then it is created.<br>
640 /// <param name="key">The key whose value to access</param>
641 /// <returns>A value for the element with the specified key</returns>
642 public PropertyValue this[int key]
646 return ValueOfIndex(key);
653 public PropertyMap() : this(NDalicPINVOKE.new_Property_Map__SWIG_0(), true)
655 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
661 /// <param name="other">The Map to copy from</param>
662 public PropertyMap(PropertyMap other) : this(NDalicPINVOKE.new_Property_Map__SWIG_1(PropertyMap.getCPtr(other)), true)
664 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
668 /// Retrieves the number of elements in the map.
670 /// <returns>The number of elements in the map</returns>
673 uint ret = NDalicPINVOKE.Property_Map_Count(swigCPtr);
674 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
679 /// Returns whether the map is empty.
681 /// <returns>Returns true if empty, false otherwise</returns>
684 bool ret = NDalicPINVOKE.Property_Map_Empty(swigCPtr);
685 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
690 /// Inserts the key-value pair in the Map, with the key type as string.<br>
691 /// Does not check for duplicates.<br>
693 /// <param name="key">The key to insert</param>
694 /// <param name="value">The value to insert</param>
695 public void Insert(string key, PropertyValue value)
697 NDalicPINVOKE.Property_Map_Insert__SWIG_0(swigCPtr, key, PropertyValue.getCPtr(value));
698 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
702 /// Inserts the key-value pair in the Map, with the key type as index.<br>
703 /// Does not check for duplicates.<br>
705 /// <param name="key">The key to insert</param>
706 /// <param name="value">The value to insert</param>
707 public void Insert(int key, PropertyValue value)
709 NDalicPINVOKE.Property_Map_Insert__SWIG_2(swigCPtr, key, PropertyValue.getCPtr(value));
710 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
714 /// Inserts the key-value pair in the Map, with the key type as string.<br>
715 /// Does not check for duplicates.<br>
717 /// <param name="key">The key to insert</param>
718 /// <param name="value">The value to insert</param>
719 /// <returns>Returns a reference to this object</returns>
720 public PropertyMap Add(string key, PropertyValue value)
722 PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Add__SWIG_0(swigCPtr, key, PropertyValue.getCPtr(value)), false);
723 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
728 /// Inserts the key-value pair in the Map, with the key type as string.<br>
729 /// Does not check for duplicates.<br>
731 /// <param name="key">The key to insert</param>
732 /// <param name="value">The value to insert</param>
733 /// <returns>Returns a reference to this object</returns>
734 public PropertyMap Add(int key, PropertyValue value)
736 PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Add__SWIG_2(swigCPtr, key, PropertyValue.getCPtr(value)), false);
737 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
742 /// Retrieves the value at the specified position.
744 /// <param name="position">The specified position</param>
745 /// <returns>A reference to the value at the specified position</returns>
746 public PropertyValue GetValue(uint position)
748 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_GetValue(swigCPtr, position), false);
749 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
754 /// Retrieves the key at the specified position.
756 /// <param name="position">The specified position</param>
757 /// <returns>A reference to the key at the specified position</returns>
758 public string GetKey(uint position)
760 string ret = NDalicPINVOKE.Property_Map_GetKey(swigCPtr, position);
761 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
766 /// Retrieve the key at the specified position.
768 /// <param name="position">The specified position</param>
769 /// <returns>A copy of the key at the specified position</returns>
770 public PropertyKey GetKeyAt(uint position)
772 PropertyKey ret = new PropertyKey(NDalicPINVOKE.Property_Map_GetKeyAt(swigCPtr, position), true);
773 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
777 internal StringValuePair GetPair(uint position)
779 StringValuePair ret = new StringValuePair(NDalicPINVOKE.Property_Map_GetPair(swigCPtr, position), false);
780 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
785 /// Finds the value for the specified key if it exists.
787 /// <param name="key">The key to find</param>
788 /// <returns>The value if it exists, an empty object otherwise</returns>
789 public PropertyValue Find(string key)
791 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_0(swigCPtr, key);
792 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
793 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
798 /// Finds the value for the specified key if it exists.
800 /// <param name="key">The key to find</param>
801 /// <returns>The value if it exists, an empty object otherwise</returns>
802 public PropertyValue Find(int key)
804 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_2(swigCPtr, key);
805 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
806 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
811 /// Finds the value for the specified keys if either exist.
813 /// <param name="indexKey">The index key to find</param>
814 /// <param name="stringKey">The string key to find</param>
815 /// <returns>The value if it exists, an empty object otherwise</returns>
816 public PropertyValue Find(int indexKey, string stringKey)
818 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_3(swigCPtr, indexKey, stringKey);
819 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
820 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
825 /// Finds the value for the specified key if it exists and its type is type.
827 /// <param name="key">The key to find</param>
828 /// <param name="type">The type to check</param>
829 /// <returns>The value if it exists, an empty value otherwise</returns>
830 public PropertyValue Find(string key, PropertyType type)
832 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_4(swigCPtr, key, (int)type);
833 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
834 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
839 /// Finds the value for the specified key if it exists and its type is type.
841 /// <param name="key">The key to find</param>
842 /// <param name="type">The type to check</param>
843 /// <returns>The value if it exists, an empty value otherwise</returns>
844 public PropertyValue Find(int key, PropertyType type)
846 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_5(swigCPtr, key, (int)type);
847 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
848 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
857 NDalicPINVOKE.Property_Map_Clear(swigCPtr);
858 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
862 /// Merges values from the map 'from' to the current.<br>
863 /// Any values in 'from' will overwrite the values in the current map.<br>
865 /// <param name="from">The map to merge from</param>
866 public void Merge(PropertyMap from)
868 NDalicPINVOKE.Property_Map_Merge(swigCPtr, PropertyMap.getCPtr(from));
869 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
873 /// Retrieves the element with the specified string key.
875 /// <param name="key">The key whose value to retrieve</param>
876 /// <returns>The value for the element with the specified key</returns>
877 public PropertyValue ValueOfIndex(string key)
879 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_ValueOfIndex__SWIG_0(swigCPtr, key), false);
880 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
885 /// Retrieves the element with the specified index key.
887 /// <param name="key">The key whose value to retrieve</param>
888 /// <returns>The value for the element with the specified key</returns>
889 public PropertyValue ValueOfIndex(int key)
891 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_ValueOfIndex__SWIG_2(swigCPtr, key), false);
892 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
899 /// <param name="other">The map to copy from</param>
900 /// <returns>The copied map</returns>
901 internal PropertyMap Assign(PropertyMap other)
903 PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Assign(swigCPtr, PropertyMap.getCPtr(other)), false);
904 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
911 /// A value-type representing a property value.
913 public class PropertyValue : global::System.IDisposable
915 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
916 protected bool swigCMemOwn;
918 internal PropertyValue(global::System.IntPtr cPtr, bool cMemoryOwn)
920 swigCMemOwn = cMemoryOwn;
921 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
924 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyValue obj)
926 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
934 public virtual void Dispose()
938 if (swigCPtr.Handle != global::System.IntPtr.Zero)
943 NDalicPINVOKE.delete_Property_Value(swigCPtr);
945 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
947 global::System.GC.SuppressFinalize(this);
953 /// Extension to property value class that allows us to create a
954 /// PropertyValue from a C# object, e.g. int, float, string.<br>
956 /// <param name="obj">An object to create</param>
957 /// <returns>The created value</returns>
958 static public PropertyValue CreateFromObject(System.Object obj)
960 System.Type type = obj.GetType();
964 if (type.Equals(typeof(int)))
966 value = new PropertyValue((int)obj);
968 if (type.Equals(typeof(System.Int32)))
970 value = new PropertyValue((int)obj);
972 else if (type.Equals(typeof(bool)))
974 value = new PropertyValue((bool)obj);
976 else if (type.Equals(typeof(float)))
978 value = new PropertyValue((float)obj);
980 else if (type.Equals(typeof(string)))
982 value = new PropertyValue((string)obj);
984 else if (type.Equals(typeof(Vector2)))
986 value = new PropertyValue((Vector2)obj);
988 else if (type.Equals(typeof(Vector3)))
990 value = new PropertyValue((Vector3)obj);
992 else if (type.Equals(typeof(Vector4)))
994 value = new PropertyValue((Vector4)obj);
996 else if (type.Equals(typeof(Position)))
998 value = new PropertyValue((Position)obj);
1000 else if (type.Equals(typeof(Position2D)))
1002 value = new PropertyValue((Position2D)obj);
1004 else if (type.Equals(typeof(Size)))
1006 value = new PropertyValue((Size)obj);
1008 else if (type.Equals(typeof(Size2D)))
1010 value = new PropertyValue((Size2D)obj);
1012 else if (type.Equals(typeof(Color)))
1014 value = new PropertyValue((Color)obj);
1016 else if (type.Equals(typeof(Rotation)))
1018 value = new PropertyValue((Rotation)obj);
1020 else if (type.Equals(typeof(RelativeVector2)))
1022 value = new PropertyValue((RelativeVector2)obj);
1024 else if (type.Equals(typeof(RelativeVector3)))
1026 value = new PropertyValue((RelativeVector3)obj);
1028 else if (type.Equals(typeof(RelativeVector4)))
1030 value = new PropertyValue((RelativeVector4)obj);
1034 throw new global::System.InvalidOperationException("Unimplemented type for Property Value :" + type.Name);
1037 Tizen.Log.Debug("NUI", " got an property value of =" + type.Name);
1043 /// Creates a Size2D property value.
1045 /// <param name="vectorValue">A Size2D values</param>
1046 public PropertyValue(Size2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Size2D.getCPtr(vectorValue)), true)
1048 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1052 /// Creates a Size property value.
1054 /// <param name="vectorValue">A Size values</param>
1055 public PropertyValue(Size vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Size.getCPtr(vectorValue)), true)
1057 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1061 /// Creates a Position2D property value.
1063 /// <param name="vectorValue">A Position2D values</param>
1064 public PropertyValue(Position2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Position2D.getCPtr(vectorValue)), true)
1066 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1070 /// Creates a Position property value.
1072 /// <param name="vectorValue">A Position values</param>
1073 public PropertyValue(Position vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Position.getCPtr(vectorValue)), true)
1075 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1079 /// Creates a Color property value.
1081 /// <param name="vectorValue">A Color values</param>
1082 public PropertyValue(Color vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Color.getCPtr(vectorValue)), true)
1084 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1089 /// Retrieves a Size2D value.
1091 /// <param name="vectorValue"> On return, a Size2D value</param>
1092 public bool Get(Size2D vectorValue)
1094 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Size2D.getCPtr(vectorValue));
1095 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1100 /// Retrieves a Size2D value.
1102 /// <param name="vectorValue"> On return, a Size2D value</param>
1103 public bool Get(Size vectorValue)
1105 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Size.getCPtr(vectorValue));
1106 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1111 /// Retrieves a Position2D value.
1113 /// <param name="vectorValue"> On return, a Position2D value</param>
1114 public bool Get(Position2D vectorValue)
1116 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Position2D.getCPtr(vectorValue));
1117 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1122 /// Retrieves a Position value.
1124 /// <param name="vectorValue"> On return, a Position value</param>
1125 public bool Get(Position vectorValue)
1127 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Position.getCPtr(vectorValue));
1128 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1133 /// Retrieves a Color value.
1135 /// <param name="vectorValue"> On return, a Color value</param>
1136 public bool Get(Color vectorValue)
1138 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Color.getCPtr(vectorValue));
1139 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1146 /// Default constructor.
1148 public PropertyValue() : this(NDalicPINVOKE.new_Property_Value__SWIG_0(), true)
1150 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1154 /// Creates a boolean property value.
1156 /// <param name="boolValue">A boolean value</param>
1157 public PropertyValue(bool boolValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_1(boolValue), true)
1159 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1163 /// Creates an integer property value.
1165 /// <param name="integerValue">An integer value</param>
1166 public PropertyValue(int integerValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_2(integerValue), true)
1168 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1172 /// Creates a float property value.
1174 /// <param name="floatValue">A floating-point value</param>
1175 public PropertyValue(float floatValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_3(floatValue), true)
1177 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1181 /// Creates a Vector2 property value.
1183 /// <param name="vectorValue">A vector of 2 floating-point values</param>
1184 public PropertyValue(Vector2 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Vector2.getCPtr(vectorValue)), true)
1186 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1190 /// Creates a Vector3 property value.
1192 /// <param name="vectorValue">A vector of 3 floating-point values</param>
1193 public PropertyValue(Vector3 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Vector3.getCPtr(vectorValue)), true)
1195 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1199 /// Creates a Vector4 property value.
1201 /// <param name="vectorValue">A vector of 4 floating-point values</param>
1202 public PropertyValue(Vector4 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Vector4.getCPtr(vectorValue)), true)
1204 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1207 internal PropertyValue(Matrix3 matrixValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_7(Matrix3.getCPtr(matrixValue)), true)
1209 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1212 internal PropertyValue(Matrix matrixValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_8(Matrix.getCPtr(matrixValue)), true)
1214 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1218 /// Creates a Rectangle property value.
1220 /// <param name="vectorValue">A Rectangle values</param>
1221 public PropertyValue(Rectangle vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_9(Rectangle.getCPtr(vectorValue)), true)
1223 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1226 internal PropertyValue(AngleAxis angleAxis) : this(NDalicPINVOKE.new_Property_Value__SWIG_10(AngleAxis.getCPtr(angleAxis)), true)
1228 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1232 /// Creates a Rotation property value.
1234 /// <param name="quaternion">A Rotation values</param>
1235 public PropertyValue(Rotation quaternion) : this(NDalicPINVOKE.new_Property_Value__SWIG_11(Rotation.getCPtr(quaternion)), true)
1237 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1241 /// Creates a string property value.
1243 /// <param name="stringValue">A string</param>
1244 public PropertyValue(string stringValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_12(stringValue), true)
1246 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1250 /// Creates an array property value.
1252 /// <param name="arrayValue">An array</param>
1253 public PropertyValue(PropertyArray arrayValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_14(PropertyArray.getCPtr(arrayValue)), true)
1255 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1259 /// Creates a map property value.
1261 /// <param name="mapValue">An array</param>
1262 public PropertyValue(PropertyMap mapValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_15(PropertyMap.getCPtr(mapValue)), true)
1264 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1268 /// Creates a PropertyType value.
1270 /// <param name="type">A PropertyType values</param>
1271 public PropertyValue(PropertyType type) : this(NDalicPINVOKE.new_Property_Value__SWIG_16((int)type), true)
1273 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1277 /// Creates a PropertyValue value.
1279 /// <param name="value">A PropertyValue values</param>
1280 public PropertyValue(PropertyValue value) : this(NDalicPINVOKE.new_Property_Value__SWIG_17(PropertyValue.getCPtr(value)), true)
1282 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1288 /// <param name="value">The value to copy from</param>
1289 /// <returns>The copied value</returns>
1290 internal PropertyValue Assign(PropertyValue value)
1292 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Value_Assign(swigCPtr, PropertyValue.getCPtr(value)), false);
1293 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1298 /// Queries the type of this property value.
1300 /// <returns>The type ID</returns>
1301 public PropertyType GetType()
1303 PropertyType ret = (PropertyType)NDalicPINVOKE.Property_Value_GetType(swigCPtr);
1304 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1309 /// Retrieves a boolean value.
1311 /// <param name="boolValue">On return, a boolean value</param>
1312 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1313 public bool Get(ref bool boolValue)
1315 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_1(swigCPtr, ref boolValue);
1316 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1321 /// Retrieves a floating-point value.
1323 /// <param name="floatValue">On return, a floating-point value</param>
1324 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1325 public bool Get(ref float floatValue)
1327 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_2(swigCPtr, ref floatValue);
1328 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1333 /// Retrieves a integer value.
1335 /// <param name="integerValue">On return, a integer value</param>
1336 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1337 public bool Get(ref int integerValue)
1339 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_3(swigCPtr, ref integerValue);
1340 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1345 /// Retrieves an integer rectangle.
1347 /// <param name="rect">On return, an integer rectangle</param>
1348 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1349 public bool Get(Rectangle rect)
1351 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_4(swigCPtr, Rectangle.getCPtr(rect));
1352 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1357 /// Retrieves a vector value.
1359 /// <param name="vectorValue">On return, a vector value</param>
1360 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1361 public bool Get(Vector2 vectorValue)
1363 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Vector2.getCPtr(vectorValue));
1364 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1369 /// Retrieves a vector value.
1371 /// <param name="vectorValue">On return, a vector value</param>
1372 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1373 public bool Get(Vector3 vectorValue)
1375 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Vector3.getCPtr(vectorValue));
1376 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1381 /// Retrieves a vector value.
1383 /// <param name="vectorValue">On return, a vector value</param>
1384 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1385 public bool Get(Vector4 vectorValue)
1387 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Vector4.getCPtr(vectorValue));
1388 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1392 internal bool Get(Matrix3 matrixValue)
1394 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_8(swigCPtr, Matrix3.getCPtr(matrixValue));
1395 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1399 internal bool Get(Matrix matrixValue)
1401 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_9(swigCPtr, Matrix.getCPtr(matrixValue));
1402 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1406 internal bool Get(AngleAxis angleAxisValue)
1408 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_10(swigCPtr, AngleAxis.getCPtr(angleAxisValue));
1409 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1414 /// Retrieves a Rotation value.
1416 /// <param name="quaternionValue">On return, a Rotation value</param>
1417 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1418 public bool Get(Rotation quaternionValue)
1420 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_11(swigCPtr, Rotation.getCPtr(quaternionValue));
1421 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1426 /// Retrieves a string property value.
1428 /// <param name="stringValue">On return, a string</param>
1429 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1430 public bool Get(out string stringValue)
1432 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_12(swigCPtr, out stringValue);
1433 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1438 /// Retrieves an array property value.
1440 /// <param name="arrayValue">On return, the array as a vector Property Values</param>
1441 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1442 public bool Get(PropertyArray arrayValue)
1444 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_13(swigCPtr, PropertyArray.getCPtr(arrayValue));
1445 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1450 /// Retrieves an map property value.
1452 /// <param name="mapValue">On return, the map as vector of string and Property Value pairs</param>
1453 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1454 public bool Get(PropertyMap mapValue)
1456 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_14(swigCPtr, PropertyMap.getCPtr(mapValue));
1457 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1462 /// Retrieves the Array API of the Property::Value without copying the contents of the map.
1464 /// <returns>The Array API of the Property::Value or NULL if not a Property::Array</returns>
1465 public PropertyArray GetArray()
1467 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Value_GetArray(swigCPtr);
1468 PropertyArray ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyArray(cPtr, false);
1469 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1474 /// Retrieves the Map API of the Property::Value without copying the contents of the map.
1476 /// <returns>The Map API of the Property::Value or NULL if not a Property::Map</returns>
1477 public PropertyMap GetMap()
1479 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Value_GetMap(swigCPtr);
1480 PropertyMap ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyMap(cPtr, false);
1481 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();