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();
89 public Property(Handle arg0, int propertyIndex) : this(NDalicPINVOKE.new_Property__SWIG_0(Handle.getCPtr(arg0), propertyIndex), true)
91 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
94 public Property(Handle arg0, int propertyIndex, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_1(Handle.getCPtr(arg0), propertyIndex, componentIndex), true)
96 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
99 public Property(Handle arg0, string propertyName) : this(NDalicPINVOKE.new_Property__SWIG_2(Handle.getCPtr(arg0), propertyName), true)
101 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
104 public Property(Handle arg0, string propertyName, int componentIndex) : this(NDalicPINVOKE.new_Property__SWIG_3(Handle.getCPtr(arg0), propertyName, componentIndex), true)
106 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
109 internal Handle _object
113 NDalicPINVOKE.Property__object_set(swigCPtr, Handle.getCPtr(value));
114 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
118 Handle ret = new Handle(NDalicPINVOKE.Property__object_get(swigCPtr), false);
119 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
124 public int propertyIndex
128 NDalicPINVOKE.Property_propertyIndex_set(swigCPtr, value);
129 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
133 int ret = NDalicPINVOKE.Property_propertyIndex_get(swigCPtr);
134 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
139 public int componentIndex
143 NDalicPINVOKE.Property_componentIndex_set(swigCPtr, value);
144 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
148 int ret = NDalicPINVOKE.Property_componentIndex_get(swigCPtr);
149 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
157 /// A Array of property values.
159 public class PropertyArray : global::System.IDisposable
161 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
162 protected bool swigCMemOwn;
164 internal PropertyArray(global::System.IntPtr cPtr, bool cMemoryOwn)
166 swigCMemOwn = cMemoryOwn;
167 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
170 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyArray obj)
172 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
180 public virtual void Dispose()
184 if (swigCPtr.Handle != global::System.IntPtr.Zero)
189 NDalicPINVOKE.delete_Property_Array(swigCPtr);
191 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
193 global::System.GC.SuppressFinalize(this);
198 /// Operator to access an element.
200 /// <param name="index">The element index to access. No bounds checking is performed</param>
201 /// <returns>The a reference to the element</returns>
202 public PropertyValue this[uint index]
206 return ValueOfIndex(index);
213 public PropertyArray() : this(NDalicPINVOKE.new_Property_Array__SWIG_0(), true)
215 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
218 internal PropertyArray(PropertyArray other) : this(NDalicPINVOKE.new_Property_Array__SWIG_1(PropertyArray.getCPtr(other)), true)
220 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
224 /// Retrieves the number of elements in the array.
226 /// <returns>The number of elements in the array</returns>
229 uint ret = NDalicPINVOKE.Property_Array_Size(swigCPtr);
230 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
235 /// Retrieves the number of elements in the array.
237 /// <returns>The number of elements in the array</returns>
240 uint ret = NDalicPINVOKE.Property_Array_Count(swigCPtr);
241 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
246 /// Returns whether the array is empty.
248 /// <returns>Return true if empty, false otherwise</returns>
251 bool ret = NDalicPINVOKE.Property_Array_Empty(swigCPtr);
252 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
257 /// Clears the array.
261 NDalicPINVOKE.Property_Array_Clear(swigCPtr);
262 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
266 /// Increases the capacity of the array.
268 /// <param name="size">The size to reserve</param>
269 public void Reserve(uint size)
271 NDalicPINVOKE.Property_Array_Reserve(swigCPtr, size);
272 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
278 /// <param name="size">The size to resize</param>
279 public void Resize(uint size)
281 NDalicPINVOKE.Property_Array_Resize(swigCPtr, size);
282 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
286 /// Retrieves the capacity of the array.
288 /// <returns>The allocated capacity of the array</returns>
289 public uint Capacity()
291 uint ret = NDalicPINVOKE.Property_Array_Capacity(swigCPtr);
292 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
297 /// Adds an element to the array.
299 /// <param name="value">The value to add to the end of the array</param>
300 public void PushBack(PropertyValue value)
302 NDalicPINVOKE.Property_Array_PushBack(swigCPtr, PropertyValue.getCPtr(value));
303 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
307 /// Add an element to the array.
309 /// <param name="value">The value to add to the end of the array</param>
310 public PropertyArray Add(PropertyValue value)
312 PropertyArray ret = new PropertyArray(NDalicPINVOKE.Property_Array_Add(swigCPtr, PropertyValue.getCPtr(value)), false);
313 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
318 /// Access an element.
320 /// <param name="index">The element index to access. No bounds checking is performed</param>
321 /// <returns>The a reference to the element</returns>
322 public PropertyValue GetElementAt(uint index)
324 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Array_GetElementAt__SWIG_0(swigCPtr, index), false);
325 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
330 /// Retrieves the value of elements in the array.
332 /// <param name="index">The element index to retrieve.</param>
333 /// <returns>The a reference to the element</returns>
334 public PropertyValue ValueOfIndex(uint index)
336 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Array_ValueOfIndex__SWIG_0(swigCPtr, index), false);
337 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
344 /// <param name="other">The array to copy from</param>
345 /// <returns>The copied array</returns>
346 internal PropertyArray Assign(PropertyArray other)
348 PropertyArray ret = new PropertyArray(NDalicPINVOKE.Property_Array_Assign(swigCPtr, PropertyArray.getCPtr(other)), false);
349 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
356 /// A key type which can be either a std::string or a Property::Index
358 public class PropertyKey : global::System.IDisposable
360 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
361 protected bool swigCMemOwn;
363 internal PropertyKey(global::System.IntPtr cPtr, bool cMemoryOwn)
365 swigCMemOwn = cMemoryOwn;
366 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
369 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyKey obj)
371 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
379 public virtual void Dispose()
383 if (swigCPtr.Handle != global::System.IntPtr.Zero)
388 NDalicPINVOKE.delete_Property_Key(swigCPtr);
390 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
392 global::System.GC.SuppressFinalize(this);
397 /// The type of the key
399 public PropertyKey.Type type
403 NDalicPINVOKE.Property_Key_type_set(swigCPtr, (int)value);
404 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
408 PropertyKey.Type ret = (PropertyKey.Type)NDalicPINVOKE.Property_Key_type_get(swigCPtr);
409 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
421 NDalicPINVOKE.Property_Key_indexKey_set(swigCPtr, value);
422 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
426 int ret = NDalicPINVOKE.Property_Key_indexKey_get(swigCPtr);
427 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
435 public string stringKey
439 NDalicPINVOKE.Property_Key_stringKey_set(swigCPtr, value);
440 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
444 string ret = NDalicPINVOKE.Property_Key_stringKey_get(swigCPtr);
445 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
453 /// <param name="key">The string key</param>
454 public PropertyKey(string key) : this(NDalicPINVOKE.new_Property_Key__SWIG_0(key), true)
456 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
462 /// <param name="key">The index key</param>
463 public PropertyKey(int key) : this(NDalicPINVOKE.new_Property_Key__SWIG_1(key), true)
465 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
469 /// Compare if rhs is equal to
471 /// <param name="rhs">A string key to compare against</param>
472 /// <returns>Returns true if the key compares, or false if it isn't equal or of the wrong type</returns>
473 public bool EqualTo(string rhs)
475 bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_0(swigCPtr, rhs);
476 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
481 /// Compare if rhs is equal to
483 /// <param name="rhs">A index key to compare against</param>
484 /// <returns>Returns true if the key compares, or false if it isn't equal or of the wrong type</returns>
485 public bool EqualTo(int rhs)
487 bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_1(swigCPtr, rhs);
488 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
493 /// Compare if rhs is equal to
495 /// <param name="rhs">A key to compare against</param>
496 /// <returns>Returns true if the keys are of the same type and have the same value</returns>
497 public bool EqualTo(PropertyKey rhs)
499 bool ret = NDalicPINVOKE.Property_Key_EqualTo__SWIG_2(swigCPtr, PropertyKey.getCPtr(rhs));
500 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
505 /// Compare if rhs is not equal to
507 /// <param name="rhs">An index key to compare against.</param>
508 /// <returns>Returns true if the key is not equal or not a string key</returns>
509 public bool NotEqualTo(string rhs)
511 bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_0(swigCPtr, rhs);
512 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
517 /// Compare if rhs is not equal to
519 /// <param name="rhs">An index key to compare against.</param>
520 /// <returns>Returns true if the key is not equal, or not an index key</returns>
521 public bool NotEqualTo(int rhs)
523 bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_1(swigCPtr, rhs);
524 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
529 /// Compare if rhs is not equal to
531 /// <param name="rhs">A key to compare against.</param>
532 /// <returns>Returns true if the keys are not of the same type or are not equal</returns>
533 public bool NotEqualTo(PropertyKey rhs)
535 bool ret = NDalicPINVOKE.Property_Key_NotEqualTo__SWIG_2(swigCPtr, PropertyKey.getCPtr(rhs));
536 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
552 /// A Map of property values, the key type could be String or Property::Index.
554 public class PropertyMap : global::System.IDisposable
556 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
557 protected bool swigCMemOwn;
559 internal PropertyMap(global::System.IntPtr cPtr, bool cMemoryOwn)
561 swigCMemOwn = cMemoryOwn;
562 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
565 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyMap obj)
567 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
575 public virtual void Dispose()
579 if (swigCPtr.Handle != global::System.IntPtr.Zero)
584 NDalicPINVOKE.delete_Property_Map(swigCPtr);
586 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
588 global::System.GC.SuppressFinalize(this);
593 /// Operator to access the element with the specified string key.
594 /// If an element with the key does not exist, then it is created.
596 /// <param name="key">The key whose value to access</param>
597 /// <returns>A value for the element with the specified key</returns>
598 public PropertyValue this[string key]
602 return ValueOfIndex(key);
607 /// Operator to access the element with the specified index key.
608 /// If an element with the key does not exist, then it is created.
610 /// <param name="key">The key whose value to access</param>
611 /// <returns>A value for the element with the specified key</returns>
612 public PropertyValue this[int key]
616 return ValueOfIndex(key);
623 public PropertyMap() : this(NDalicPINVOKE.new_Property_Map__SWIG_0(), true)
625 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
631 /// <param name="other">The Map to copy from</param>
632 public PropertyMap(PropertyMap other) : this(NDalicPINVOKE.new_Property_Map__SWIG_1(PropertyMap.getCPtr(other)), true)
634 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
638 /// Retrieves the number of elements in the map.
640 /// <returns>The number of elements in the map</returns>
643 uint ret = NDalicPINVOKE.Property_Map_Count(swigCPtr);
644 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
649 /// Returns whether the map is empty.
651 /// <returns>Returns true if empty, false otherwise</returns>
654 bool ret = NDalicPINVOKE.Property_Map_Empty(swigCPtr);
655 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
660 /// Inserts the key-value pair in the Map, with the key type as string.
661 /// Does not check for duplicates.
663 /// <param name="key">The key to insert</param>
664 /// <param name="value">The value to insert</param>
665 public void Insert(string key, PropertyValue value)
667 NDalicPINVOKE.Property_Map_Insert__SWIG_0(swigCPtr, key, PropertyValue.getCPtr(value));
668 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
672 /// Inserts the key-value pair in the Map, with the key type as index.
673 /// Does not check for duplicates.
675 /// <param name="key">The key to insert</param>
676 /// <param name="value">The value to insert</param>
677 public void Insert(int key, PropertyValue value)
679 NDalicPINVOKE.Property_Map_Insert__SWIG_2(swigCPtr, key, PropertyValue.getCPtr(value));
680 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
684 /// Inserts the key-value pair in the Map, with the key type as string.
685 /// Does not check for duplicates.
687 /// <param name="key">The key to insert</param>
688 /// <param name="value">The value to insert</param>
689 /// <returns>Returns a reference to this object</returns>
690 public PropertyMap Add(string key, PropertyValue value)
692 PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Add__SWIG_0(swigCPtr, key, PropertyValue.getCPtr(value)), false);
693 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
698 /// Inserts the key-value pair in the Map, with the key type as string.
699 /// Does not check for duplicates.
701 /// <param name="key">The key to insert</param>
702 /// <param name="value">The value to insert</param>
703 /// <returns>Returns a reference to this object</returns>
704 public PropertyMap Add(int key, PropertyValue value)
706 PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Add__SWIG_2(swigCPtr, key, PropertyValue.getCPtr(value)), false);
707 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
712 /// Retrieves the value at the specified position.
714 /// <param name="position">The specified position</param>
715 /// <returns>A reference to the value at the specified position</returns>
716 public PropertyValue GetValue(uint position)
718 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_GetValue(swigCPtr, position), false);
719 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
724 /// Retrieves the key at the specified position.
726 /// <param name="position">The specified position</param>
727 /// <returns>A reference to the key at the specified position</returns>
728 public string GetKey(uint position)
730 string ret = NDalicPINVOKE.Property_Map_GetKey(swigCPtr, position);
731 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
736 /// Retrieve the key at the specified position.
738 /// <param name="position">The specified position</param>
739 /// <returns>A copy of the key at the specified position</returns>
740 public PropertyKey GetKeyAt(uint position)
742 PropertyKey ret = new PropertyKey(NDalicPINVOKE.Property_Map_GetKeyAt(swigCPtr, position), true);
743 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
747 internal StringValuePair GetPair(uint position)
749 StringValuePair ret = new StringValuePair(NDalicPINVOKE.Property_Map_GetPair(swigCPtr, position), false);
750 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
755 /// Finds the value for the specified key if it exists.
757 /// <param name="key">The key to find</param>
758 /// <returns>The value if it exists, an empty object otherwise</returns>
759 public PropertyValue Find(string key)
761 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_0(swigCPtr, key);
762 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
763 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
768 /// Finds the value for the specified key if it exists.
770 /// <param name="key">The key to find</param>
771 /// <returns>The value if it exists, an empty object otherwise</returns>
772 public PropertyValue Find(int key)
774 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_2(swigCPtr, key);
775 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
776 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
781 /// Finds the value for the specified keys if either exist.
783 /// <param name="indexKey">The index key to find</param>
784 /// <param name="stringKey">The string key to find</param>
785 /// <returns>The value if it exists, an empty object otherwise</returns>
786 public PropertyValue Find(int indexKey, string stringKey)
788 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_3(swigCPtr, indexKey, stringKey);
789 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
790 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
795 /// Finds the value for the specified key if it exists and its type is type.
797 /// <param name="key">The key to find</param>
798 /// <param name="type">The type to check</param>
799 /// <returns>The value if it exists, an empty value otherwise</returns>
800 public PropertyValue Find(string key, PropertyType type)
802 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_4(swigCPtr, key, (int)type);
803 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
804 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
809 /// Finds the value for the specified key if it exists and its type is type.
811 /// <param name="key">The key to find</param>
812 /// <param name="type">The type to check</param>
813 /// <returns>The value if it exists, an empty value otherwise</returns>
814 public PropertyValue Find(int key, PropertyType type)
816 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Map_Find__SWIG_5(swigCPtr, key, (int)type);
817 PropertyValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyValue(cPtr, false);
818 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
827 NDalicPINVOKE.Property_Map_Clear(swigCPtr);
828 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
832 /// Merges values from the map 'from' to the current.
833 /// Any values in 'from' will overwrite the values in the current map.
835 /// <param name="from">The map to merge from</param>
836 public void Merge(PropertyMap from)
838 NDalicPINVOKE.Property_Map_Merge(swigCPtr, PropertyMap.getCPtr(from));
839 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
843 /// Retrieves the element with the specified string key.
845 /// <param name="key">The key whose value to retrieve</param>
846 /// <returns>The value for the element with the specified key</returns>
847 public PropertyValue ValueOfIndex(string key)
849 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_ValueOfIndex__SWIG_0(swigCPtr, key), false);
850 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
855 /// Retrieves the element with the specified index key.
857 /// <param name="key">The key whose value to retrieve</param>
858 /// <returns>The value for the element with the specified key</returns>
859 public PropertyValue ValueOfIndex(int key)
861 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Map_ValueOfIndex__SWIG_2(swigCPtr, key), false);
862 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
869 /// <param name="other">The map to copy from</param>
870 /// <returns>The copied map</returns>
871 internal PropertyMap Assign(PropertyMap other)
873 PropertyMap ret = new PropertyMap(NDalicPINVOKE.Property_Map_Assign(swigCPtr, PropertyMap.getCPtr(other)), false);
874 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
881 /// A value-type representing a property value.
883 public class PropertyValue : global::System.IDisposable
885 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
886 protected bool swigCMemOwn;
888 internal PropertyValue(global::System.IntPtr cPtr, bool cMemoryOwn)
890 swigCMemOwn = cMemoryOwn;
891 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
894 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropertyValue obj)
896 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
904 public virtual void Dispose()
908 if (swigCPtr.Handle != global::System.IntPtr.Zero)
913 NDalicPINVOKE.delete_Property_Value(swigCPtr);
915 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
917 global::System.GC.SuppressFinalize(this);
923 /// Extension to property value class that allows us to create a
924 /// PropertyValue from a C# object, e.g. int, float, string
926 /// <param name="obj">An object to create</param>
927 /// <returns>The created value</returns>
928 static public PropertyValue CreateFromObject(System.Object obj)
930 System.Type type = obj.GetType();
934 if (type.Equals(typeof(int)))
936 System.Console.WriteLine(" got an int property value ");
937 value = new PropertyValue((int)obj);
939 if (type.Equals(typeof(System.Int32)))
941 System.Console.WriteLine(" got an int property value ");
942 value = new PropertyValue((int)obj);
944 else if (type.Equals(typeof(bool)))
946 System.Console.WriteLine(" got an bool property value ");
947 value = new PropertyValue((bool)obj);
949 else if (type.Equals(typeof(float)))
951 System.Console.WriteLine(" got an float property value ");
952 value = new PropertyValue((float)obj);
954 else if (type.Equals(typeof(string)))
956 System.Console.WriteLine(" got a string property value ");
957 value = new PropertyValue((string)obj);
959 else if (type.Equals(typeof(Vector2)))
961 System.Console.WriteLine(" got an Vector2 property value ");
962 value = new PropertyValue((Vector2)obj);
964 else if (type.Equals(typeof(Vector3)))
966 System.Console.WriteLine(" got an Vector3 property value ");
967 value = new PropertyValue((Vector3)obj);
969 else if (type.Equals(typeof(Vector4)))
971 System.Console.WriteLine(" got an Vector4 property value ");
973 value = new PropertyValue((Vector4)obj);
975 else if (type.Equals(typeof(Position)))
977 System.Console.WriteLine(" got an Position property value ");
978 value = new PropertyValue((Position)obj);
980 else if (type.Equals(typeof(Size)))
982 System.Console.WriteLine(" got an Size property value ");
983 value = new PropertyValue((Size)obj);
985 else if (type.Equals(typeof(Color)))
987 System.Console.WriteLine(" got an Color property value ");
988 value = new PropertyValue((Color)obj);
992 throw new global::System.InvalidOperationException("Unimplemented type for Property Value");
999 /// Creates a Size2D property value.
1001 /// <param name="vectorValue">A Size2D values</param>
1002 public PropertyValue(Size2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Size2D.getCPtr(vectorValue)), true)
1004 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1008 /// Creates a Size property value.
1010 /// <param name="vectorValue">A Size values</param>
1011 public PropertyValue(Size vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Size.getCPtr(vectorValue)), true)
1013 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1017 /// Creates a Position2D property value.
1019 /// <param name="vectorValue">A Position2D values</param>
1020 public PropertyValue(Position2D vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Position2D.getCPtr(vectorValue)), true)
1022 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1026 /// Creates a Position property value.
1028 /// <param name="vectorValue">A Position values</param>
1029 public PropertyValue(Position vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Position.getCPtr(vectorValue)), true)
1031 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1035 /// Creates a Color property value.
1037 /// <param name="vectorValue">A Color values</param>
1038 public PropertyValue(Color vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Color.getCPtr(vectorValue)), true)
1040 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1045 /// Retrieves a Size2D value.
1047 /// <param name="vectorValue"> On return, a Size2D value</param>
1048 public bool Get(Size2D vectorValue)
1050 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Size2D.getCPtr(vectorValue));
1051 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1056 /// Retrieves a Size2D value.
1058 /// <param name="vectorValue"> On return, a Size2D value</param>
1059 public bool Get(Size vectorValue)
1061 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Size.getCPtr(vectorValue));
1062 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1067 /// Retrieves a Position2D value.
1069 /// <param name="vectorValue"> On return, a Position2D value</param>
1070 public bool Get(Position2D vectorValue)
1072 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Position2D.getCPtr(vectorValue));
1073 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1078 /// Retrieves a Position value.
1080 /// <param name="vectorValue"> On return, a Position value</param>
1081 public bool Get(Position vectorValue)
1083 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Position.getCPtr(vectorValue));
1084 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1089 /// Retrieves a Color value.
1091 /// <param name="vectorValue"> On return, a Color value</param>
1092 public bool Get(Color vectorValue)
1094 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Color.getCPtr(vectorValue));
1095 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1102 /// Default constructor.
1104 public PropertyValue() : this(NDalicPINVOKE.new_Property_Value__SWIG_0(), true)
1106 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1110 /// Creates a boolean property value.
1112 /// <param name="boolValue">A boolean value</param>
1113 public PropertyValue(bool boolValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_1(boolValue), true)
1115 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1119 /// Creates an integer property value.
1121 /// <param name="integerValue">An integer value</param>
1122 public PropertyValue(int integerValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_2(integerValue), true)
1124 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1128 /// Creates a float property value.
1130 /// <param name="floatValue">A floating-point value</param>
1131 public PropertyValue(float floatValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_3(floatValue), true)
1133 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1137 /// Creates a Vector2 property value.
1139 /// <param name="vectorValue">A vector of 2 floating-point values</param>
1140 public PropertyValue(Vector2 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_4(Vector2.getCPtr(vectorValue)), true)
1142 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1146 /// Creates a Vector3 property value.
1148 /// <param name="vectorValue">A vector of 3 floating-point values</param>
1149 public PropertyValue(Vector3 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Vector3.getCPtr(vectorValue)), true)
1151 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1155 /// Creates a Vector4 property value.
1157 /// <param name="vectorValue">A vector of 4 floating-point values</param>
1158 public PropertyValue(Vector4 vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_6(Vector4.getCPtr(vectorValue)), true)
1160 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1163 internal PropertyValue(Matrix3 matrixValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_7(Matrix3.getCPtr(matrixValue)), true)
1165 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1168 internal PropertyValue(Matrix matrixValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_8(Matrix.getCPtr(matrixValue)), true)
1170 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1174 /// Creates a Rectangle property value.
1176 /// <param name="vectorValue">A Rectangle values</param>
1177 public PropertyValue(Rectangle vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_9(Rectangle.getCPtr(vectorValue)), true)
1179 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1182 internal PropertyValue(AngleAxis angleAxis) : this(NDalicPINVOKE.new_Property_Value__SWIG_10(AngleAxis.getCPtr(angleAxis)), true)
1184 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1188 /// Creates a Rotation property value.
1190 /// <param name="quaternion">A Rotation values</param>
1191 public PropertyValue(Rotation quaternion) : this(NDalicPINVOKE.new_Property_Value__SWIG_11(Rotation.getCPtr(quaternion)), true)
1193 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1197 /// Creates a string property value.
1199 /// <param name="stringValue">A string</param>
1200 public PropertyValue(string stringValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_12(stringValue), true)
1202 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1206 /// Creates an array property value.
1208 /// <param name="arrayValue">An array</param>
1209 public PropertyValue(PropertyArray arrayValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_14(PropertyArray.getCPtr(arrayValue)), true)
1211 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1215 /// Creates a map property value.
1217 /// <param name="mapValue">An array</param>
1218 public PropertyValue(PropertyMap mapValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_15(PropertyMap.getCPtr(mapValue)), true)
1220 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1224 /// Creates a PropertyType value.
1226 /// <param name="type">A PropertyType values</param>
1227 public PropertyValue(PropertyType type) : this(NDalicPINVOKE.new_Property_Value__SWIG_16((int)type), true)
1229 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1233 /// Creates a PropertyValue value.
1235 /// <param name="value">A PropertyValue values</param>
1236 public PropertyValue(PropertyValue value) : this(NDalicPINVOKE.new_Property_Value__SWIG_17(PropertyValue.getCPtr(value)), true)
1238 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1244 /// <param name="value">The value to copy from</param>
1245 /// <returns>The copied value</returns>
1246 internal PropertyValue Assign(PropertyValue value)
1248 PropertyValue ret = new PropertyValue(NDalicPINVOKE.Property_Value_Assign(swigCPtr, PropertyValue.getCPtr(value)), false);
1249 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1254 /// Queries the type of this property value.
1256 /// <returns>The type ID</returns>
1257 public PropertyType GetType()
1259 PropertyType ret = (PropertyType)NDalicPINVOKE.Property_Value_GetType(swigCPtr);
1260 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1265 /// Retrieves a boolean value.
1267 /// <param name="boolValue">On return, a boolean value</param>
1268 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1269 public bool Get(ref bool boolValue)
1271 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_1(swigCPtr, ref boolValue);
1272 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1277 /// Retrieves a floating-point value.
1279 /// <param name="floatValue">On return, a floating-point value</param>
1280 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1281 public bool Get(ref float floatValue)
1283 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_2(swigCPtr, ref floatValue);
1284 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1289 /// Retrieves a integer value.
1291 /// <param name="integerValue">On return, a integer value</param>
1292 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1293 public bool Get(ref int integerValue)
1295 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_3(swigCPtr, ref integerValue);
1296 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1301 /// Retrieves an integer rectangle.
1303 /// <param name="rect">On return, an integer rectangle</param>
1304 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1305 public bool Get(Rectangle rect)
1307 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_4(swigCPtr, Rectangle.getCPtr(rect));
1308 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1313 /// Retrieves a vector value.
1315 /// <param name="vectorValue">On return, a vector value</param>
1316 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1317 public bool Get(Vector2 vectorValue)
1319 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_5(swigCPtr, Vector2.getCPtr(vectorValue));
1320 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1325 /// Retrieves a vector value.
1327 /// <param name="vectorValue">On return, a vector value</param>
1328 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1329 public bool Get(Vector3 vectorValue)
1331 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Vector3.getCPtr(vectorValue));
1332 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1337 /// Retrieves a vector value.
1339 /// <param name="vectorValue">On return, a vector value</param>
1340 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1341 public bool Get(Vector4 vectorValue)
1343 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_7(swigCPtr, Vector4.getCPtr(vectorValue));
1344 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1348 internal bool Get(Matrix3 matrixValue)
1350 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_8(swigCPtr, Matrix3.getCPtr(matrixValue));
1351 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1355 internal bool Get(Matrix matrixValue)
1357 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_9(swigCPtr, Matrix.getCPtr(matrixValue));
1358 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1362 internal bool Get(AngleAxis angleAxisValue)
1364 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_10(swigCPtr, AngleAxis.getCPtr(angleAxisValue));
1365 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1370 /// Retrieves a Rotation value.
1372 /// <param name="quaternionValue">On return, a Rotation value</param>
1373 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1374 public bool Get(Rotation quaternionValue)
1376 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_11(swigCPtr, Rotation.getCPtr(quaternionValue));
1377 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1382 /// Retrieves a string property value.
1384 /// <param name="stringValue">On return, a string</param>
1385 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1386 public bool Get(out string stringValue)
1388 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_12(swigCPtr, out stringValue);
1389 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1394 /// Retrieves an array property value.
1396 /// <param name="arrayValue">On return, the array as a vector Property Values</param>
1397 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1398 public bool Get(PropertyArray arrayValue)
1400 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_13(swigCPtr, PropertyArray.getCPtr(arrayValue));
1401 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1406 /// Retrieves an map property value.
1408 /// <param name="mapValue">On return, the map as vector of string and Property Value pairs</param>
1409 /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible</returns>
1410 public bool Get(PropertyMap mapValue)
1412 bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_14(swigCPtr, PropertyMap.getCPtr(mapValue));
1413 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1418 /// Retrieves the Array API of the Property::Value without copying the contents of the map.
1420 /// <returns>The Array API of the Property::Value or NULL if not a Property::Array</returns>
1421 public PropertyArray GetArray()
1423 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Value_GetArray(swigCPtr);
1424 PropertyArray ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyArray(cPtr, false);
1425 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1430 /// Retrieves the Map API of the Property::Value without copying the contents of the map.
1432 /// <returns>The Map API of the Property::Value or NULL if not a Property::Map</returns>
1433 public PropertyMap GetMap()
1435 global::System.IntPtr cPtr = NDalicPINVOKE.Property_Value_GetMap(swigCPtr);
1436 PropertyMap ret = (cPtr == global::System.IntPtr.Zero) ? null : new PropertyMap(cPtr, false);
1437 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1443 public enum PropertyType
1461 public enum PropertyAccessMode