public vector_long_long(vector_long_long other) : this(VisionLabPINVOKE.new_vector_long_long__SWIG_1(vector_long_long.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public vector_long_longEnumerator(vector_long_long collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, vector_long_long values)
 {
     VisionLabPINVOKE.vector_long_long_SetRange(swigCPtr, index, vector_long_long.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public static vector_long_long Repeat(long value, int count)
    {
        IntPtr           cPtr = VisionLabPINVOKE.vector_long_long_Repeat(value, count);
        vector_long_long ret  = (cPtr == IntPtr.Zero) ? null : new vector_long_long(cPtr, true);

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

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