Пример #1
0
 public QuoteVectorVector(QuoteVectorVector other) : this(NQuantLibcPINVOKE.new_QuoteVectorVector__SWIG_1(QuoteVectorVector.getCPtr(other)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public QuoteVectorVectorEnumerator(QuoteVectorVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Пример #3
0
 public void SetRange(int index, QuoteVectorVector values)
 {
     NQuantLibcPINVOKE.QuoteVectorVector_SetRange(swigCPtr, index, QuoteVectorVector.getCPtr(values));
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
        public static QuoteVectorVector Repeat(QuoteVector value, int count)
        {
            global::System.IntPtr cPtr = NQuantLibcPINVOKE.QuoteVectorVector_Repeat(QuoteVector.getCPtr(value), count);
            QuoteVectorVector     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new QuoteVectorVector(cPtr, true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #5
0
        public QuoteVectorVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = NQuantLibcPINVOKE.QuoteVectorVector_GetRange(swigCPtr, index, count);
            QuoteVectorVector     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new QuoteVectorVector(cPtr, true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(QuoteVectorVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }