Ejemplo n.º 1
0
 public IntList2N(IntList2N other) : this(LandmarkDetectorPINVOKE.new_IntList2N__SWIG_1(IntList2N.getCPtr(other)), true)
 {
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public IntList2NEnumerator(IntList2N collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 3
0
 public void SetRange(int index, IntList2N values)
 {
     LandmarkDetectorPINVOKE.IntList2N_SetRange(swigCPtr, index, IntList2N.getCPtr(values));
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
        public static IntList2N Repeat(IntList value, int count)
        {
            global::System.IntPtr cPtr = LandmarkDetectorPINVOKE.IntList2N_Repeat(IntList.getCPtr(value), count);
            IntList2N             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new IntList2N(cPtr, true);

            if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
            {
                throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 5
0
        public IntList2N GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = LandmarkDetectorPINVOKE.IntList2N_GetRange(swigCPtr, index, count);
            IntList2N             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new IntList2N(cPtr, true);

            if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
            {
                throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(IntList2N obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }