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 MCEuropeanBasketEngine : PricingEngine {
15
private HandleRef swigCPtr;
17
internal MCEuropeanBasketEngine(IntPtr cPtr, bool cMemoryOwn) : base(NQuantLibcPINVOKE.MCEuropeanBasketEngineUpcast(cPtr), cMemoryOwn) {
18
swigCPtr = new HandleRef(this, cPtr);
21
internal static HandleRef getCPtr(MCEuropeanBasketEngine obj) {
22
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
25
~MCEuropeanBasketEngine() {
29
public override void Dispose() {
31
if (swigCPtr.Handle != IntPtr.Zero) {
34
NQuantLibcPINVOKE.delete_MCEuropeanBasketEngine(swigCPtr);
36
swigCPtr = new HandleRef(null, IntPtr.Zero);
38
GC.SuppressFinalize(this);
43
public MCEuropeanBasketEngine(StochasticProcessArray process, string traits, uint timeSteps, uint timeStepsPerYear, bool brownianBridge, bool antitheticVariate, int requiredSamples, double requiredTolerance, int maxSamples, int seed) : this(NQuantLibcPINVOKE.new_MCEuropeanBasketEngine(StochasticProcessArray.getCPtr(process), traits, timeSteps, timeStepsPerYear, brownianBridge, antitheticVariate, requiredSamples, requiredTolerance, maxSamples, seed), true) {
44
if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();