1
1
/* ----------------------------------------------------------------------------
2
2
* This file was automatically generated by SWIG (http://www.swig.org).
5
5
* Do not make changes to this file unless you know what you are doing--modify
6
6
* the SWIG interface file instead.
29
29
public override void Dispose() {
31
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
33
NQuantLibcPINVOKE.delete_CapHelper(swigCPtr);
31
if (swigCPtr.Handle != IntPtr.Zero) {
34
NQuantLibcPINVOKE.delete_CapHelper(swigCPtr);
36
swigCPtr = new HandleRef(null, IntPtr.Zero);
35
swigCPtr = new HandleRef(null, IntPtr.Zero);
36
38
GC.SuppressFinalize(this);
41
public CapHelper(Period length, QuoteHandle volatility, IborIndex index, Frequency fixedLegFrequency, DayCounter fixedLegDayCounter, bool includeFirstSwaplet, YieldTermStructureHandle termStructure) : this(NQuantLibcPINVOKE.new_CapHelper(Period.getCPtr(length), QuoteHandle.getCPtr(volatility), IborIndex.getCPtr(index), (int)fixedLegFrequency, DayCounter.getCPtr(fixedLegDayCounter), includeFirstSwaplet, YieldTermStructureHandle.getCPtr(termStructure)), true) {
43
public CapHelper(Period length, QuoteHandle volatility, IborIndex index, Frequency fixedLegFrequency, DayCounter fixedLegDayCounter, bool includeFirstSwaplet, YieldTermStructureHandle termStructure, _CalibrationHelper.CalibrationErrorType errorType) : this(NQuantLibcPINVOKE.new_CapHelper__SWIG_0(Period.getCPtr(length), QuoteHandle.getCPtr(volatility), IborIndex.getCPtr(index), (int)fixedLegFrequency, DayCounter.getCPtr(fixedLegDayCounter), includeFirstSwaplet, YieldTermStructureHandle.getCPtr(termStructure), (int)errorType), true) {
44
if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
47
public CapHelper(Period length, QuoteHandle volatility, IborIndex index, Frequency fixedLegFrequency, DayCounter fixedLegDayCounter, bool includeFirstSwaplet, YieldTermStructureHandle termStructure) : this(NQuantLibcPINVOKE.new_CapHelper__SWIG_1(Period.getCPtr(length), QuoteHandle.getCPtr(volatility), IborIndex.getCPtr(index), (int)fixedLegFrequency, DayCounter.getCPtr(fixedLegDayCounter), includeFirstSwaplet, YieldTermStructureHandle.getCPtr(termStructure)), true) {
42
48
if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();