public PiecewiseFlatHazardRate(int settlementDays, Calendar calendar, DefaultProbabilityHelperVector instruments, DayCounter dayCounter) : this(NQuantLibcPINVOKE.new_PiecewiseFlatHazardRate__SWIG_5(settlementDays, Calendar.getCPtr(calendar), DefaultProbabilityHelperVector.getCPtr(instruments), DayCounter.getCPtr(dayCounter)), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
public DefaultProbabilityHelperVector(DefaultProbabilityHelperVector other) : this(NQuantLibcPINVOKE.new_DefaultProbabilityHelperVector__SWIG_1(DefaultProbabilityHelperVector.getCPtr(other)), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
public PiecewiseFlatHazardRate(Date referenceDate, DefaultProbabilityHelperVector instruments, DayCounter dayCounter) : this(NQuantLibcPINVOKE.new_PiecewiseFlatHazardRate__SWIG_2(Date.getCPtr(referenceDate), DefaultProbabilityHelperVector.getCPtr(instruments), DayCounter.getCPtr(dayCounter)), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
public DefaultProbabilityHelperVectorEnumerator(DefaultProbabilityHelperVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, DefaultProbabilityHelperVector values) { NQuantLibcPINVOKE.DefaultProbabilityHelperVector_SetRange(swigCPtr, index, DefaultProbabilityHelperVector.getCPtr(values)); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
public static DefaultProbabilityHelperVector Repeat(DefaultProbabilityHelper value, int count) { global::System.IntPtr cPtr = NQuantLibcPINVOKE.DefaultProbabilityHelperVector_Repeat(DefaultProbabilityHelper.getCPtr(value), count); DefaultProbabilityHelperVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new DefaultProbabilityHelperVector(cPtr, true); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public DefaultProbabilityHelperVector GetRange(int index, int count) { global::System.IntPtr cPtr = NQuantLibcPINVOKE.DefaultProbabilityHelperVector_GetRange(swigCPtr, index, count); DefaultProbabilityHelperVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new DefaultProbabilityHelperVector(cPtr, true); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PiecewiseFlatHazardRate(int settlementDays, Calendar calendar, DefaultProbabilityHelperVector instruments, DayCounter dayCounter) : this(NQuantLibcPINVOKE.new_PiecewiseFlatHazardRate__SWIG_5(settlementDays, Calendar.getCPtr(calendar), DefaultProbabilityHelperVector.getCPtr(instruments), DayCounter.getCPtr(dayCounter)), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); }
public PiecewiseFlatHazardRate(Date referenceDate, DefaultProbabilityHelperVector instruments, DayCounter dayCounter) : this(NQuantLibcPINVOKE.new_PiecewiseFlatHazardRate__SWIG_2(Date.getCPtr(referenceDate), DefaultProbabilityHelperVector.getCPtr(instruments), DayCounter.getCPtr(dayCounter)), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DefaultProbabilityHelperVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }