예제 #1
0
 public candle_stick_vector(candle_stick_vector other) : this(c_csharp_plotPINVOKE.new_candle_stick_vector__SWIG_1(candle_stick_vector.getCPtr(other)), true)
 {
     if (c_csharp_plotPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public candle_stick_vectorEnumerator(candle_stick_vector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
예제 #3
0
 public void SetRange(int index, candle_stick_vector values)
 {
     c_csharp_plotPINVOKE.candle_stick_vector_SetRange(swigCPtr, index, candle_stick_vector.getCPtr(values));
     if (c_csharp_plotPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
        public static candle_stick_vector Repeat(candle_stick_point value, int count)
        {
            global::System.IntPtr cPtr = c_csharp_plotPINVOKE.candle_stick_vector_Repeat(candle_stick_point.getCPtr(value), count);
            candle_stick_vector   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new candle_stick_vector(cPtr, true);

            if (c_csharp_plotPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #5
0
        public candle_stick_vector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = c_csharp_plotPINVOKE.candle_stick_vector_GetRange(swigCPtr, index, count);
            candle_stick_vector   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new candle_stick_vector(cPtr, true);

            if (c_csharp_plotPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(candle_stick_vector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }