public bar_vector(bar_vector other) : this(c_csharp_plotPINVOKE.new_bar_vector__SWIG_1(bar_vector.getCPtr(other)), true) { if (c_csharp_plotPINVOKE.SWIGPendingException.Pending) { throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve(); } }
public bar_vectorEnumerator(bar_vector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, bar_vector values) { c_csharp_plotPINVOKE.bar_vector_SetRange(swigCPtr, index, bar_vector.getCPtr(values)); if (c_csharp_plotPINVOKE.SWIGPendingException.Pending) { throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve(); } }
public static bar_vector Repeat(bar_point value, int count) { global::System.IntPtr cPtr = c_csharp_plotPINVOKE.bar_vector_Repeat(bar_point.getCPtr(value), count); bar_vector ret = (cPtr == global::System.IntPtr.Zero) ? null : new bar_vector(cPtr, true); if (c_csharp_plotPINVOKE.SWIGPendingException.Pending) { throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bar_vector GetRange(int index, int count) { global::System.IntPtr cPtr = c_csharp_plotPINVOKE.bar_vector_GetRange(swigCPtr, index, count); bar_vector ret = (cPtr == global::System.IntPtr.Zero) ? null : new bar_vector(cPtr, true); if (c_csharp_plotPINVOKE.SWIGPendingException.Pending) { throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(bar_vector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }