public SWIGTYPE_p_boost__shared_ptrT_VanillaSwap_t underlyingSwap()
        {
            SWIGTYPE_p_boost__shared_ptrT_VanillaSwap_t ret = new SWIGTYPE_p_boost__shared_ptrT_VanillaSwap_t(NQuantLibcPINVOKE.SwaptionHelper_underlyingSwap(swigCPtr), true);

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