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 System.Console.WriteLine(" got an int property value ");
967 value = new PropertyValue((int)obj);
969 if (type.Equals(typeof(System.Int32)))
971 System.Console.WriteLine(" got an int property value ");
972 value = new PropertyValue((int)obj);
974 else if (type.Equals(typeof(bool)))
976 System.Console.WriteLine(" got an bool property value ");
977 value = new PropertyValue((bool)obj);
979 else if (type.Equals(typeof(float)))
981 System.Console.WriteLine(" got an float property value ");
982 value = new PropertyValue((float)obj);
984 else if (type.Equals(typeof(string)))
986 System.Console.WriteLine(" got a string property value ");
987 value = new PropertyValue((string)obj);
989 else if (type.Equals(typeof(Vector2)))
991 System.Console.WriteLine(" got an Vector2 property value ");
992 value = new PropertyValue((Vector2)obj);
994 else if (type.Equals(typeof(Vector3)))
996 System.Console.WriteLine(" got an Vector3 property value ");
997 value = new PropertyValue((Vector3)obj);
999 else if (type.Equals(typeof(Vector4)))
1001 System.Console.WriteLine(" got an Vector4 property value ");
1003 value = new PropertyValue((Vector4)obj);
1005 else if (type.Equals(typeof(Position)))
1007 System.Console.WriteLine(" got an Position property value ");
1008 value = new PropertyValue((Position)obj);
1010 else if (type.Equals(typeof(Position2D)))
1012 System.Console.WriteLine(" got an Position2D property value ");
1013 value = new PropertyValue((Position2D)obj);
1015 else if (type.Equals(typeof(Size)))
1017 System.Console.WriteLine(" got an Size property value ");
1018 value = new PropertyValue((Size)obj);
1020 else if (type.Equals(typeof(Size2D)))
1022 System.Console.WriteLine(" got an Size2D property value ");
1023 value = new PropertyValue((Size2D)obj);
1025 else if (type.Equals(typeof(Color)))
1027 System.Console.WriteLine(" got an Color property value ");
1028 value = new PropertyValue((Color)obj);
1030 else if (type.Equals(typeof(Rotation)))
1032 System.Console.WriteLine(" got an Rotation property value ");
1033 value = new PropertyValue((Rotation)obj);
1035 else if (type.Equals(typeof(RelativeVector2)))
1037 System.Console.WriteLine(" got an RelativeVector2 property value ");
1038 value = new PropertyValue((RelativeVector2)obj);
1040 else if (type.Equals(typeof(RelativeVector3)))
1042 System.Console.WriteLine(" got an RelativeVector3 property value ");
1043 value = new PropertyValue((RelativeVector3)obj);
1045 else if (type.Equals(typeof(RelativeVector4)))
1047 System.Console.WriteLine(" got an RelativeVector4 property value ");
1048 value = new PropertyValue((RelativeVector4)obj);
1052 throw new global::System.InvalidOperationException("Unimplemented type for Property Value :" + type.Name);
1059 /// Creates a Size2D property value.
1061 /// <param name="vectorValue">A Size2D values</param>
1062 public PropertyValue(Size2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Size2D.getCPtr(vectorValue)), true)
1064 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1068 /// Creates a Size property value.
1070 /// <param name="vectorValue">A Size values</param>
1071 public PropertyValue(Size vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Size.getCPtr(vectorValue)), true)
1073 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1077 /// Creates a Position2D property value.
1079 /// <param name="vectorValue">A Position2D values</param>
1080 public PropertyValue(Position2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Position2D.getCPtr(vectorValue)), true)
1082 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1086 /// Creates a Position property value.
1088 /// <param name="vectorValue">A Position values</param>
1089 public PropertyValue(Position vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Position.getCPtr(vectorValue)), true)
1091 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1095 /// Creates a Color property value.
1097 /// <param name="vectorValue">A Color values</param>
1098 public PropertyValue(Color vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Color.getCPtr(vectorValue)), true)
1100 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1105 /// Retrieves a Size2D value.
1107 /// <param name="vectorValue"> On return, a Size2D value</param>
1108 public bool Get(Size2D vectorValue)
1110 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Size2D.getCPtr(vectorValue));
1111 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1116 /// Retrieves a Size2D value.
1118 /// <param name="vectorValue"> On return, a Size2D value</param>
1119 public bool Get(Size vectorValue)
1121 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Size.getCPtr(vectorValue));
1122 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1127 /// Retrieves a Position2D value.
1129 /// <param name="vectorValue"> On return, a Position2D value</param>
1130 public bool Get(Position2D vectorValue)
1132 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Position2D.getCPtr(vectorValue));
1133 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1138 /// Retrieves a Position value.
1140 /// <param name="vectorValue"> On return, a Position value</param>
1141 public bool Get(Position vectorValue)
1143 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Position.getCPtr(vectorValue));
1144 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1149 /// Retrieves a Color value.
1151 /// <param name="vectorValue"> On return, a Color value</param>
1152 public bool Get(Color vectorValue)
1154 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Color.getCPtr(vectorValue));
1155 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1162 /// Default constructor.
1164 public PropertyValue() : this(NDalicPINVOKE.new_Property_Value__SWIG_0(), true)
1166 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1170 /// Creates a boolean property value.
1172 /// <param name="boolValue">A boolean value</param>
1173 public PropertyValue(bool boolValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_1(boolValue), true)
1175 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1179 /// Creates an integer property value.
1181 /// <param name="integerValue">An integer value</param>
1182 public PropertyValue(int integerValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_2(integerValue), true)
1184 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1188 /// Creates a float property value.
1190 /// <param name="floatValue">A floating-point value</param>
1191 public PropertyValue(float floatValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_3(floatValue), true)
1193 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1197 /// Creates a Vector2 property value.
1199 /// <param name="vectorValue">A vector of 2 floating-point values</param>
1200 public PropertyValue(Vector2 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Vector2.getCPtr(vectorValue)), true)
1202 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1206 /// Creates a Vector3 property value.
1208 /// <param name="vectorValue">A vector of 3 floating-point values</param>
1209 public PropertyValue(Vector3 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Vector3.getCPtr(vectorValue)), true)
1211 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1215 /// Creates a Vector4 property value.
1217 /// <param name="vectorValue">A vector of 4 floating-point values</param>
1218 public PropertyValue(Vector4 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Vector4.getCPtr(vectorValue)), true)
1220 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1223 internal PropertyValue(Matrix3 matrixValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_7(Matrix3.getCPtr(matrixValue)), true)
1225 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1228 internal PropertyValue(Matrix matrixValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_8(Matrix.getCPtr(matrixValue)), true)
1230 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1234 /// Creates a Rectangle property value.
1236 /// <param name="vectorValue">A Rectangle values</param>
1237 public PropertyValue(Rectangle vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_9(Rectangle.getCPtr(vectorValue)), true)
1239 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1242 internal PropertyValue(AngleAxis angleAxis) : this(NDalicPINVOKE.new_Property_Value__SWIG_10(AngleAxis.getCPtr(angleAxis)), true)
1244 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1248 /// Creates a Rotation property value.
1250 /// <param name="quaternion">A Rotation values</param>
1251 public PropertyValue(Rotation quaternion) : this(NDalicPINVOKE.new_Property_Value__SWIG_11(Rotation.getCPtr(quaternion)), true)
1253 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1257 /// Creates a string property value.
1259 /// <param name="stringValue">A string</param>
1260 public PropertyValue(string stringValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_12(stringValue), true)
1262 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1266 /// Creates an array property value.
1268 /// <param name="arrayValue">An array</param>
1269 public PropertyValue(PropertyArray arrayValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_14(PropertyArray.getCPtr(arrayValue)), true)
1271 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1275 /// Creates a map property value.
1277 /// <param name="mapValue">An array</param>
1278 public PropertyValue(PropertyMap mapValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_15(PropertyMap.getCPtr(mapValue)), true)
1280 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1284 /// Creates a PropertyType value.
1286 /// <param name="type">A PropertyType values</param>
1287 public PropertyValue(PropertyType type) : this(NDalicPINVOKE.new_Property_Value__SWIG_16((int)type), true)
1289 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1293 /// Creates a PropertyValue value.
1295 /// <param name="value">A PropertyValue values</param>
1296 public PropertyValue(PropertyValue value) : this(NDalicPINVOKE.new_Property_Value__SWIG_17(PropertyValue.getCPtr(value)), true)
1298 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1304 /// <param name="value">The value to copy from</param>
1305 /// <returns>The copied value</returns>
1306 internal PropertyValue Assign(PropertyValue value)
1308 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Value_Assign(swigCPtr, PropertyValue.getCPtr(value)), false);
1309 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1314 /// Queries the type of this property value.
1316 /// <returns>The type ID</returns>
1317 public PropertyType GetType()
1319 PropertyType ret = (PropertyType)NDalicPINVOKE.Property_Value_GetType(swigCPtr);
1320 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1325 /// Retrieves a boolean value.
1327 /// <param name="boolValue">On return, a boolean value</param>
1328 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1329 public bool Get(ref bool boolValue)
1331 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_1(swigCPtr, ref boolValue);
1332 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1337 /// Retrieves a floating-point value.
1339 /// <param name="floatValue">On return, a floating-point value</param>
1340 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1341 public bool Get(ref float floatValue)
1343 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_2(swigCPtr, ref floatValue);
1344 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1349 /// Retrieves a integer value.
1351 /// <param name="integerValue">On return, a integer value</param>
1352 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1353 public bool Get(ref int integerValue)
1355 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_3(swigCPtr, ref integerValue);
1356 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1361 /// Retrieves an integer rectangle.
1363 /// <param name="rect">On return, an integer rectangle</param>
1364 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1365 public bool Get(Rectangle rect)
1367 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_4(swigCPtr, Rectangle.getCPtr(rect));
1368 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1373 /// Retrieves a vector value.
1375 /// <param name="vectorValue">On return, a vector value</param>
1376 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1377 public bool Get(Vector2 vectorValue)
1379 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Vector2.getCPtr(vectorValue));
1380 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1385 /// Retrieves a vector value.
1387 /// <param name="vectorValue">On return, a vector value</param>
1388 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1389 public bool Get(Vector3 vectorValue)
1391 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Vector3.getCPtr(vectorValue));
1392 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1397 /// Retrieves a vector value.
1399 /// <param name="vectorValue">On return, a vector value</param>
1400 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1401 public bool Get(Vector4 vectorValue)
1403 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Vector4.getCPtr(vectorValue));
1404 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1408 internal bool Get(Matrix3 matrixValue)
1410 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_8(swigCPtr, Matrix3.getCPtr(matrixValue));
1411 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1415 internal bool Get(Matrix matrixValue)
1417 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_9(swigCPtr, Matrix.getCPtr(matrixValue));
1418 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1422 internal bool Get(AngleAxis angleAxisValue)
1424 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_10(swigCPtr, AngleAxis.getCPtr(angleAxisValue));
1425 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1430 /// Retrieves a Rotation value.
1432 /// <param name="quaternionValue">On return, a Rotation value</param>
1433 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1434 public bool Get(Rotation quaternionValue)
1436 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_11(swigCPtr, Rotation.getCPtr(quaternionValue));
1437 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1442 /// Retrieves a string property value.
1444 /// <param name="stringValue">On return, a string</param>
1445 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1446 public bool Get(out string stringValue)
1448 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_12(swigCPtr, out stringValue);
1449 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1454 /// Retrieves an array property value.
1456 /// <param name="arrayValue">On return, the array as a vector Property Values</param>
1457 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1458 public bool Get(PropertyArray arrayValue)
1460 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_13(swigCPtr, PropertyArray.getCPtr(arrayValue));
1461 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1466 /// Retrieves an map property value.
1468 /// <param name="mapValue">On return, the map as vector of string and Property Value pairs</param>
1469 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1470 public bool Get(PropertyMap mapValue)
1472 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_14(swigCPtr, PropertyMap.getCPtr(mapValue));
1473 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1478 /// Retrieves the Array API of the Property::Value without copying the contents of the map.
1480 /// <returns>The Array API of the Property::Value or NULL if not a Property::Array</returns>
1481 public PropertyArray GetArray()
1483 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Value_GetArray(swigCPtr);
1484 PropertyArray ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyArray(cPtr, false);
1485 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1490 /// Retrieves the Map API of the Property::Value without copying the contents of the map.
1492 /// <returns>The Map API of the Property::Value or NULL if not a Property::Map</returns>
1493 public PropertyMap GetMap()
1495 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Value_GetMap(swigCPtr);
1496 PropertyMap ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyMap(cPtr, false);
1497 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1504 /// This specifies all the property types. <br>
1505 /// Enumeration for the property types supported.
1507 public enum PropertyType
1526 /// a vector array of size=2 with float precision
1530 /// a vector array of size=3 with float precision
1534 /// a vector array of size=4 with float precision
1546 /// an integer array of size=4
1550 /// either a quaternion or an axis angle rotation
1558 /// an array of PropertyValue
1562 /// a string key to PropertyValue mapping
1568 /// This specifies the property access mode types. <br>
1569 /// Enumeration for the access mode for custom properties.
1571 public enum PropertyAccessMode
1574 /// if the property is read-only
1578 /// If the property is read/writeable
1582 /// If the property can be animated or constrained
1586 /// The number of access modes