Exemple #1
0
        public SWIGTYPE_p_CalibratedModel __deref__()
        {
            global::System.IntPtr      cPtr = NQuantLibcPINVOKE.CalibratedModel___deref__(swigCPtr);
            SWIGTYPE_p_CalibratedModel ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_CalibratedModel(cPtr, false);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_CalibratedModel obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_CalibratedModel obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }