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

« back to all changes in this revision

Viewing changes to CSharp/csharp/Leg.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.
189
189
    if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
190
190
  }
191
191
 
192
 
  public void Add(CashFlow value) {
193
 
    NQuantLibcPINVOKE.Leg_Add(swigCPtr, CashFlow.getCPtr(value));
 
192
  public void Add(CashFlow x) {
 
193
    NQuantLibcPINVOKE.Leg_Add(swigCPtr, CashFlow.getCPtr(x));
194
194
    if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
195
195
  }
196
196
 
231
231
    return ret;
232
232
  }
233
233
 
234
 
  private void setitem(int index, CashFlow value) {
235
 
    NQuantLibcPINVOKE.Leg_setitem(swigCPtr, index, CashFlow.getCPtr(value));
 
234
  private void setitem(int index, CashFlow val) {
 
235
    NQuantLibcPINVOKE.Leg_setitem(swigCPtr, index, CashFlow.getCPtr(val));
236
236
    if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
237
237
  }
238
238
 
248
248
    return ret;
249
249
  }
250
250
 
251
 
  public void Insert(int index, CashFlow value) {
252
 
    NQuantLibcPINVOKE.Leg_Insert(swigCPtr, index, CashFlow.getCPtr(value));
 
251
  public void Insert(int index, CashFlow x) {
 
252
    NQuantLibcPINVOKE.Leg_Insert(swigCPtr, index, CashFlow.getCPtr(x));
253
253
    if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
254
254
  }
255
255