コード例 #1
0
        public SWIGTYPE_p_boost__shared_ptrT_Swaption_t swaption()
        {
            SWIGTYPE_p_boost__shared_ptrT_Swaption_t ret = new SWIGTYPE_p_boost__shared_ptrT_Swaption_t(NQuantLibcPINVOKE.SwaptionHelper_swaption(swigCPtr), true);

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