public AnalyticCapFloorEngine(OneFactorAffineModel model) : this(NQuantLibcPINVOKE.new_AnalyticCapFloorEngine__SWIG_1(OneFactorAffineModel.getCPtr(model)), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
public JamshidianSwaptionEngine(OneFactorAffineModel model) : this(NQuantLibcPINVOKE.new_JamshidianSwaptionEngine__SWIG_1(OneFactorAffineModel.getCPtr(model)), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
public AnalyticCapFloorEngine(OneFactorAffineModel model, YieldTermStructureHandle termStructure) : this(NQuantLibcPINVOKE.new_AnalyticCapFloorEngine__SWIG_0(OneFactorAffineModel.getCPtr(model), YieldTermStructureHandle.getCPtr(termStructure)), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OneFactorAffineModel obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }