public InterestRateVector(InterestRateVector other) : this(NQuantLibcPINVOKE.new_InterestRateVector__SWIG_1(InterestRateVector.getCPtr(other)), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
public InterestRateVectorEnumerator(InterestRateVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, InterestRateVector values) { NQuantLibcPINVOKE.InterestRateVector_SetRange(swigCPtr, index, InterestRateVector.getCPtr(values)); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
public static InterestRateVector Repeat(InterestRate value, int count) { global::System.IntPtr cPtr = NQuantLibcPINVOKE.InterestRateVector_Repeat(InterestRate.getCPtr(value), count); InterestRateVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new InterestRateVector(cPtr, true); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public InterestRateVector GetRange(int index, int count) { global::System.IntPtr cPtr = NQuantLibcPINVOKE.InterestRateVector_GetRange(swigCPtr, index, count); InterestRateVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new InterestRateVector(cPtr, true); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InterestRateVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public FixedRateBond(int settlementDays, double faceAmount, Schedule schedule, InterestRateVector coupons) : this(NQuantLibcPINVOKE.new_FixedRateBond__SWIG_17(settlementDays, faceAmount, Schedule.getCPtr(schedule), InterestRateVector.getCPtr(coupons)), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
public FixedRateBond(int settlementDays, double faceAmount, Schedule schedule, InterestRateVector coupons, BusinessDayConvention paymentConvention, double redemption) : this(NQuantLibcPINVOKE.new_FixedRateBond__SWIG_15(settlementDays, faceAmount, Schedule.getCPtr(schedule), InterestRateVector.getCPtr(coupons), (int)paymentConvention, redemption), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
public FixedRateBond(int settlementDays, double faceAmount, Schedule schedule, InterestRateVector coupons, BusinessDayConvention paymentConvention, double redemption, Date issueDate, Calendar paymentCalendar, Period exCouponPeriod) : this(NQuantLibcPINVOKE.new_FixedRateBond__SWIG_12(settlementDays, faceAmount, Schedule.getCPtr(schedule), InterestRateVector.getCPtr(coupons), (int)paymentConvention, redemption, Date.getCPtr(issueDate), Calendar.getCPtr(paymentCalendar), Period.getCPtr(exCouponPeriod)), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }