public IntervalPriceVector(IntervalPriceVector other) : this(NQuantLibcPINVOKE.new_IntervalPriceVector__SWIG_1(IntervalPriceVector.getCPtr(other)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public IntervalPriceTimeSeries(DateVector d, IntervalPriceVector v) : this(NQuantLibcPINVOKE.new_IntervalPriceTimeSeries__SWIG_1(DateVector.getCPtr(d), IntervalPriceVector.getCPtr(v)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public IntervalPriceVectorEnumerator(IntervalPriceVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, IntervalPriceVector values)
 {
     NQuantLibcPINVOKE.IntervalPriceVector_SetRange(swigCPtr, index, IntervalPriceVector.getCPtr(values));
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #5
0
        public IntervalPriceVector values()
        {
            IntervalPriceVector ret = new IntervalPriceVector(NQuantLibcPINVOKE.IntervalPriceTimeSeries_values(swigCPtr), true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static IntervalPriceVector Repeat(IntervalPrice value, int count)
        {
            global::System.IntPtr cPtr = NQuantLibcPINVOKE.IntervalPriceVector_Repeat(IntervalPrice.getCPtr(value), count);
            IntervalPriceVector   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new IntervalPriceVector(cPtr, true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public IntervalPriceVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = NQuantLibcPINVOKE.IntervalPriceVector_GetRange(swigCPtr, index, count);
            IntervalPriceVector   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new IntervalPriceVector(cPtr, true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(IntervalPriceVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
예제 #9
0
 public IntervalPriceVector values() {
   IntervalPriceVector ret = new IntervalPriceVector(NQuantLibcPINVOKE.IntervalPriceTimeSeries_values(swigCPtr), true);
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
예제 #10
0
 public IntervalPriceTimeSeries(DateVector d, IntervalPriceVector v) : this(NQuantLibcPINVOKE.new_IntervalPriceTimeSeries__SWIG_1(DateVector.getCPtr(d), IntervalPriceVector.getCPtr(v)), true) {
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
 }