public size_vector(size_vector other) : this(c_csharp_runPINVOKE.new_size_vector__SWIG_1(size_vector.getCPtr(other)), true) { if (c_csharp_runPINVOKE.SWIGPendingException.Pending) { throw c_csharp_runPINVOKE.SWIGPendingException.Retrieve(); } }
public distortion_metric_header(size_vector dimensions, uint channel_count, uint image_width, uint image_height, distortion_curve_type type) : this(c_csharp_metricsPINVOKE.new_distortion_metric_header(size_vector.getCPtr(dimensions), channel_count, image_width, image_height, (int)type), true) { if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending) { throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve(); } }
public size_vectorEnumerator(size_vector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, size_vector values) { c_csharp_runPINVOKE.size_vector_SetRange(swigCPtr, index, size_vector.getCPtr(values)); if (c_csharp_runPINVOKE.SWIGPendingException.Pending) { throw c_csharp_runPINVOKE.SWIGPendingException.Retrieve(); } }
public static size_vector Repeat(uint value, int count) { global::System.IntPtr cPtr = c_csharp_runPINVOKE.size_vector_Repeat(value, count); size_vector ret = (cPtr == global::System.IntPtr.Zero) ? null : new size_vector(cPtr, true); if (c_csharp_runPINVOKE.SWIGPendingException.Pending) { throw c_csharp_runPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public size_vector GetRange(int index, int count) { global::System.IntPtr cPtr = c_csharp_runPINVOKE.size_vector_GetRange(swigCPtr, index, count); size_vector ret = (cPtr == global::System.IntPtr.Zero) ? null : new size_vector(cPtr, true); if (c_csharp_runPINVOKE.SWIGPendingException.Pending) { throw c_csharp_runPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(size_vector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }