internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_LinearTsrPricer__Settings obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
예제 #2
0
 public LinearTsrPricer(SwaptionVolatilityStructureHandle swaptionVol, QuoteHandle meanReversion, YieldTermStructureHandle couponDiscountCurve, SWIGTYPE_p_LinearTsrPricer__Settings settings) : this(NQuantLibcPINVOKE.new_LinearTsrPricer__SWIG_0(SwaptionVolatilityStructureHandle.getCPtr(swaptionVol), QuoteHandle.getCPtr(meanReversion), YieldTermStructureHandle.getCPtr(couponDiscountCurve), SWIGTYPE_p_LinearTsrPricer__Settings.getCPtr(settings)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }