public vector_vector_ByteImage(vector_vector_ByteImage other) : this(VisionLabPINVOKE.new_vector_vector_ByteImage__SWIG_1(vector_vector_ByteImage.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public vector_vector_ByteImageEnumerator(vector_vector_ByteImage collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, vector_vector_ByteImage values)
 {
     VisionLabPINVOKE.vector_vector_ByteImage_SetRange(swigCPtr, index, vector_vector_ByteImage.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public static vector_vector_ByteImage Repeat(vector_ByteImage value, int count)
    {
        IntPtr cPtr = VisionLabPINVOKE.vector_vector_ByteImage_Repeat(vector_ByteImage.getCPtr(value), count);
        vector_vector_ByteImage ret = (cPtr == IntPtr.Zero) ? null : new vector_vector_ByteImage(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public vector_vector_ByteImage GetRange(int index, int count)
    {
        IntPtr cPtr = VisionLabPINVOKE.vector_vector_ByteImage_GetRange(swigCPtr, index, count);
        vector_vector_ByteImage ret = (cPtr == IntPtr.Zero) ? null : new vector_vector_ByteImage(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 internal static HandleRef getCPtr(vector_vector_ByteImage obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Example #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_vector_ByteImage obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }