Ensure text-controller returns false when it doesn't use key.
[platform/core/uifw/dali-toolkit.git] / plugins / dali-sharp / sharp / public / TypeRegistry.cs
1 //------------------------------------------------------------------------------
2 // <auto-generated />
3 //
4 // This file was automatically generated by SWIG (http://www.swig.org).
5 // Version 3.0.10
6 //
7 // Do not make changes to this file unless you know what you are doing--modify
8 // the SWIG interface file instead.
9 //------------------------------------------------------------------------------
10
11 namespace Dali {
12
13 public class TypeRegistry : BaseHandle {
14   private global::System.Runtime.InteropServices.HandleRef swigCPtr;
15
16   internal TypeRegistry(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.TypeRegistry_SWIGUpcast(cPtr), cMemoryOwn) {
17     swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
18   }
19
20   internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TypeRegistry obj) {
21     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
22   }
23
24   ~TypeRegistry() {
25     Dispose();
26   }
27
28   public override void Dispose() {
29     lock(this) {
30       if (swigCPtr.Handle != global::System.IntPtr.Zero) {
31         if (swigCMemOwn) {
32           swigCMemOwn = false;
33           NDalicPINVOKE.delete_TypeRegistry(swigCPtr);
34         }
35         swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
36       }
37       global::System.GC.SuppressFinalize(this);
38       base.Dispose();
39     }
40   }
41
42   public static TypeRegistry Get() {
43     TypeRegistry ret = new TypeRegistry(NDalicPINVOKE.TypeRegistry_Get(), true);
44     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
45     return ret;
46   }
47
48   public TypeRegistry() : this(NDalicPINVOKE.new_TypeRegistry__SWIG_0(), true) {
49     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
50   }
51
52   public TypeRegistry(TypeRegistry handle) : this(NDalicPINVOKE.new_TypeRegistry__SWIG_1(TypeRegistry.getCPtr(handle)), true) {
53     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
54   }
55
56   public TypeRegistry Assign(TypeRegistry rhs) {
57     TypeRegistry ret = new TypeRegistry(NDalicPINVOKE.TypeRegistry_Assign(swigCPtr, TypeRegistry.getCPtr(rhs)), false);
58     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
59     return ret;
60   }
61
62   public TypeInfo GetTypeInfo(string uniqueTypeName) {
63     TypeInfo ret = new TypeInfo(NDalicPINVOKE.TypeRegistry_GetTypeInfo__SWIG_0(swigCPtr, uniqueTypeName), true);
64     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
65     return ret;
66   }
67
68   internal TypeInfo GetTypeInfo(SWIGTYPE_p_std__type_info registerType) {
69     TypeInfo ret = new TypeInfo(NDalicPINVOKE.TypeRegistry_GetTypeInfo__SWIG_1(swigCPtr, SWIGTYPE_p_std__type_info.getCPtr(registerType)), true);
70     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
71     return ret;
72   }
73
74   public uint GetTypeNameCount() {
75     uint ret = NDalicPINVOKE.TypeRegistry_GetTypeNameCount(swigCPtr);
76     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
77     return ret;
78   }
79
80   public string GetTypeName(uint index) {
81     string ret = NDalicPINVOKE.TypeRegistry_GetTypeName(swigCPtr, index);
82     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
83     return ret;
84   }
85
86   internal TypeRegistry(SWIGTYPE_p_Dali__Internal__TypeRegistry typeRegistry) : this(NDalicPINVOKE.new_TypeRegistry__SWIG_2(SWIGTYPE_p_Dali__Internal__TypeRegistry.getCPtr(typeRegistry)), true) {
87     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
88   }
89
90 }
91
92 }