1
/* ----------------------------------------------------------------------------
2
* This file was automatically generated by SWIG (http://www.swig.org).
5
* Do not make changes to this file unless you know what you are doing--modify
6
* the SWIG interface file instead.
7
* ----------------------------------------------------------------------------- */
12
using System.Runtime.InteropServices;
14
public class FixedCouponBondHelper : RateHelper {
15
private HandleRef swigCPtr;
17
internal FixedCouponBondHelper(IntPtr cPtr, bool cMemoryOwn) : base(NQuantLibcPINVOKE.FixedCouponBondHelperUpcast(cPtr), cMemoryOwn) {
18
swigCPtr = new HandleRef(this, cPtr);
21
internal static HandleRef getCPtr(FixedCouponBondHelper obj) {
22
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
25
~FixedCouponBondHelper() {
29
public override void Dispose() {
31
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
33
NQuantLibcPINVOKE.delete_FixedCouponBondHelper(swigCPtr);
35
swigCPtr = new HandleRef(null, IntPtr.Zero);
36
GC.SuppressFinalize(this);
41
public FixedCouponBondHelper(QuoteHandle cleanPrice, uint settlementDays, Schedule schedule, DoubleVector coupons, DayCounter paymentDayCounter, BusinessDayConvention paymentConvention, double redemption, Date issueDate) : this(NQuantLibcPINVOKE.new_FixedCouponBondHelper__SWIG_0(QuoteHandle.getCPtr(cleanPrice), settlementDays, Schedule.getCPtr(schedule), DoubleVector.getCPtr(coupons), DayCounter.getCPtr(paymentDayCounter), (int)paymentConvention, redemption, Date.getCPtr(issueDate)), true) {
42
if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
45
public FixedCouponBondHelper(QuoteHandle cleanPrice, uint settlementDays, Schedule schedule, DoubleVector coupons, DayCounter paymentDayCounter, BusinessDayConvention paymentConvention, double redemption) : this(NQuantLibcPINVOKE.new_FixedCouponBondHelper__SWIG_1(QuoteHandle.getCPtr(cleanPrice), settlementDays, Schedule.getCPtr(schedule), DoubleVector.getCPtr(coupons), DayCounter.getCPtr(paymentDayCounter), (int)paymentConvention, redemption), true) {
46
if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
49
public FixedCouponBondHelper(QuoteHandle cleanPrice, uint settlementDays, Schedule schedule, DoubleVector coupons, DayCounter paymentDayCounter, BusinessDayConvention paymentConvention) : this(NQuantLibcPINVOKE.new_FixedCouponBondHelper__SWIG_2(QuoteHandle.getCPtr(cleanPrice), settlementDays, Schedule.getCPtr(schedule), DoubleVector.getCPtr(coupons), DayCounter.getCPtr(paymentDayCounter), (int)paymentConvention), true) {
50
if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
53
public FixedCouponBondHelper(QuoteHandle cleanPrice, uint settlementDays, Schedule schedule, DoubleVector coupons, DayCounter paymentDayCounter) : this(NQuantLibcPINVOKE.new_FixedCouponBondHelper__SWIG_3(QuoteHandle.getCPtr(cleanPrice), settlementDays, Schedule.getCPtr(schedule), DoubleVector.getCPtr(coupons), DayCounter.getCPtr(paymentDayCounter)), true) {
54
if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();