~ubuntu-branches/ubuntu/vivid/quantlib-swig/vivid

« back to all changes in this revision

Viewing changes to CSharp/csharp/ZeroCouponBond.cs

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2007-12-26 08:10:08 UTC
  • mfrom: (1.1.6 upstream) (2.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20071226081008-cjq979mvtxydli4r
New upstream release 0.9.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* ----------------------------------------------------------------------------
2
2
 * This file was automatically generated by SWIG (http://www.swig.org).
3
 
 * Version 1.3.31
 
3
 * Version 1.3.33
4
4
 *
5
5
 * Do not make changes to this file unless you know what you are doing--modify
6
6
 * the SWIG interface file instead.
38
38
    }
39
39
  }
40
40
 
41
 
  public ZeroCouponBond(int settlementDays, double faceAmount, Calendar calendar, Date maturityDate, DayCounter dayCounter, BusinessDayConvention paymentConvention, double redemption, Date issueDate, YieldTermStructureHandle discountCurve) : this(NQuantLibcPINVOKE.new_ZeroCouponBond(settlementDays, faceAmount, Calendar.getCPtr(calendar), Date.getCPtr(maturityDate), DayCounter.getCPtr(dayCounter), (int)paymentConvention, redemption, Date.getCPtr(issueDate), YieldTermStructureHandle.getCPtr(discountCurve)), true) {
 
41
  public ZeroCouponBond(uint settlementDays, Calendar calendar, double faceAmount, Date maturityDate, BusinessDayConvention paymentConvention, double redemption, Date issueDate) : this(NQuantLibcPINVOKE.new_ZeroCouponBond(settlementDays, Calendar.getCPtr(calendar), faceAmount, Date.getCPtr(maturityDate), (int)paymentConvention, redemption, Date.getCPtr(issueDate)), true) {
42
42
    if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
43
43
  }
44
44