internal static global::System.Runtime.InteropServices.HandleRef getCPtr(IntervalPrice obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public static RealTimeSeries extractComponent(IntervalPriceTimeSeries arg0, IntervalPrice.Type t) { RealTimeSeries ret = new RealTimeSeries(NQuantLibcPINVOKE.IntervalPrice_extractComponent(IntervalPriceTimeSeries.getCPtr(arg0), (int)t), true); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static DoubleVector extractValues(IntervalPriceTimeSeries arg0, IntervalPrice.Type t) { DoubleVector ret = new DoubleVector(NQuantLibcPINVOKE.IntervalPrice_extractValues(IntervalPriceTimeSeries.getCPtr(arg0), (int)t), true); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public double value(IntervalPrice.Type t) { double ret = NQuantLibcPINVOKE.IntervalPrice_value(swigCPtr, (int)t); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public void setValue(double arg0, IntervalPrice.Type arg1) { NQuantLibcPINVOKE.IntervalPrice_setValue(swigCPtr, arg0, (int)arg1); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(IntervalPrice obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }