Exemple #1
0
 internal TypeRegistration(SWIGTYPE_p_std__type_info registerType, SWIGTYPE_p_std__type_info baseType, System.Delegate f, bool callCreateOnInit) : this(TypeRegistration.SwigConstructTypeRegistration(registerType, baseType, f, callCreateOnInit), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
        public void AnyContainerBasemContainer()
        {
            tlog.Debug(tag, $"AnyContainerBasemContainer START");

            using (Any any = new Any())
            {
                var testingTarget = new Any(any);
                Assert.IsNotNull(testingTarget, "Can't create success object Any");
                Assert.IsInstanceOf <Any>(testingTarget, "Should be an instance of Any type.");

                tlog.Debug(tag, "mContainer : " + testingTarget.mContainer);

                SWIGTYPE_p_std__type_info type = new SWIGTYPE_p_std__type_info(new View().SwigCPtr.Handle);
                SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase cloneFunc = new SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase(new ImageView().SwigCPtr.Handle);
                SWIGTYPE_p_f_p_q_const__Dali__Any__AnyContainerBase__void deleteFunc = new SWIGTYPE_p_f_p_q_const__Dali__Any__AnyContainerBase__void(new TextLabel().SwigCPtr.Handle);
                Any.AnyContainerBase container = new Any.AnyContainerBase(type, cloneFunc, deleteFunc);

                try
                {
                    testingTarget.mContainer = container;
                    tlog.Debug(tag, "mContainer : " + testingTarget.mContainer);
                }
                catch (Exception e)
                {
                    tlog.Debug(tag, e.Message.ToString());
                    Assert.Fail("Caught Exception: Failed!");
                }
            }

            tlog.Debug(tag, $"AnyContainerBasemContainer END (OK)");
        }
Exemple #3
0
 internal TypeRegistration(string name, SWIGTYPE_p_std__type_info baseType, System.Delegate f) : this(TypeRegistration.SwigConstructTypeRegistration(name, baseType, f), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
 public AnyContainerBase(SWIGTYPE_p_std__type_info type, SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase cloneFunc, SWIGTYPE_p_f_p_q_const__Dali__Any__AnyContainerBase__void deleteFunc) : this(Interop.Any.NewAnyAnyContainerBase(SWIGTYPE_p_std__type_info.getCPtr(type), SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase.getCPtr(cloneFunc), SWIGTYPE_p_f_p_q_const__Dali__Any__AnyContainerBase__void.getCPtr(deleteFunc)), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #5
0
 internal Tizen.NUI.TypeInfo GetTypeInfo(SWIGTYPE_p_std__type_info registerType)
 {
     Tizen.NUI.TypeInfo ret = new Tizen.NUI.TypeInfo(NDalicPINVOKE.TypeRegistry_GetTypeInfo__SWIG_1(swigCPtr, SWIGTYPE_p_std__type_info.getCPtr(registerType)), true);
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }
Exemple #6
0
        public static bool CanCastFromTypeidToTypeid(SWIGTYPE_p_std__type_info from, SWIGTYPE_p_std__type_info to)
        {
            bool ret = UsdCsPINVOKE.VtValue_CanCastFromTypeidToTypeid(SWIGTYPE_p_std__type_info.getCPtr(from), SWIGTYPE_p_std__type_info.getCPtr(to));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #7
0
        public static VtValue CastToTypeid(VtValue val, SWIGTYPE_p_std__type_info type)
        {
            VtValue ret = new VtValue(UsdCsPINVOKE.VtValue_CastToTypeid__SWIG_0(VtValue.getCPtr(val), SWIGTYPE_p_std__type_info.getCPtr(type)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #8
0
            /// <since_tizen> 3 </since_tizen>
            public new SWIGTYPE_p_std__type_info GetType()
            {
                SWIGTYPE_p_std__type_info ret = new SWIGTYPE_p_std__type_info(Interop.Any.Any_AnyContainerBase_GetType(swigCPtr), false);

                if (NDalicPINVOKE.SWIGPendingException.Pending)
                {
                    throw NDalicPINVOKE.SWIGPendingException.Retrieve();
                }
                return(ret);
            }
Exemple #9
0
        public static TfType Find(SWIGTYPE_p_std__type_info t)
        {
            TfType ret = new TfType(UsdCsPINVOKE.TfType_Find(SWIGTYPE_p_std__type_info.getCPtr(t)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #10
0
        public static string GetCanonicalTypeName(SWIGTYPE_p_std__type_info arg0)
        {
            string ret = UsdCsPINVOKE.TfType_GetCanonicalTypeName(SWIGTYPE_p_std__type_info.getCPtr(arg0));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #11
0
        public SWIGTYPE_p_std__type_info type()
        {
            SWIGTYPE_p_std__type_info ret = new SWIGTYPE_p_std__type_info(OgrePINVOKE.Any_type(swigCPtr), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #12
0
        public bool CanCastToTypeid(SWIGTYPE_p_std__type_info type)
        {
            bool ret = UsdCsPINVOKE.VtValue_CanCastToTypeid(swigCPtr, SWIGTYPE_p_std__type_info.getCPtr(type));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #13
0
        public new SWIGTYPE_p_std__type_info GetType()
        {
            SWIGTYPE_p_std__type_info ret = new SWIGTYPE_p_std__type_info(Interop.Any.GetType(SwigCPtr));

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #14
0
        public void AnyContainerBaseConstructor()
        {
            tlog.Debug(tag, $"AnyContainerBaseConstructor START");

            SWIGTYPE_p_std__type_info type = new SWIGTYPE_p_std__type_info(new View().SwigCPtr.Handle);
            SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase cloneFunc = new SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase(new ImageView().SwigCPtr.Handle);
            SWIGTYPE_p_f_p_q_const__Dali__Any__AnyContainerBase__void deleteFunc = new SWIGTYPE_p_f_p_q_const__Dali__Any__AnyContainerBase__void(new TextLabel().SwigCPtr.Handle);

            var testingTarget = new Any.AnyContainerBase(type, cloneFunc, deleteFunc);

            Assert.IsNotNull(testingTarget, "Can't create success object AnyContainerBase");
            Assert.IsInstanceOf <Any.AnyContainerBase>(testingTarget, "Should be an instance of AnyContainerBase type.");

            testingTarget.Dispose();
            tlog.Debug(tag, $"AnyContainerBaseConstructor END (OK)");
        }
Exemple #15
0
        public SWIGTYPE_p_std__type_info GetElementTypeid()
        {
            SWIGTYPE_p_std__type_info ret = new SWIGTYPE_p_std__type_info(UsdCsPINVOKE.VtValue_GetElementTypeid(swigCPtr), false);

            return(ret);
        }
Exemple #16
0
 static private global::System.IntPtr SwigConstructTypeRegistration(SWIGTYPE_p_std__type_info registerType, SWIGTYPE_p_std__type_info baseType, System.Delegate f, bool callCreateOnInit)
 {
     System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate <System.Delegate>(f);
     return(Interop.TypeRegistration.NewTypeRegistration(SWIGTYPE_p_std__type_info.getCPtr(registerType), SWIGTYPE_p_std__type_info.getCPtr(baseType), new System.Runtime.InteropServices.HandleRef(null, ip), callCreateOnInit));
 }
Exemple #17
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__type_info obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #18
0
 static private global::System.IntPtr SwigConstructTypeRegistration(string name, SWIGTYPE_p_std__type_info baseType, System.Delegate f)
 {
     System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate <System.Delegate>(f);
     return(NDalicPINVOKE.new_TypeRegistration__SWIG_2(name, SWIGTYPE_p_std__type_info.getCPtr(baseType), new System.Runtime.InteropServices.HandleRef(null, ip)));
 }