예제 #1
0
 public PreIteration(ColaLocks locks) : this(colaPINVOKE.new_PreIteration__SWIG_1(ColaLocks.getCPtr(locks)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public ColaLocksEnumerator(ColaLocks collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
예제 #3
0
 public void SetRange(int index, ColaLocks values)
 {
     colaPINVOKE.ColaLocks_SetRange(swigCPtr, index, ColaLocks.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
 public void AddRange(ColaLocks values)
 {
     colaPINVOKE.ColaLocks_AddRange(swigCPtr, ColaLocks.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #5
0
        public static ColaLocks Repeat(Lock value, int count)
        {
            IntPtr    cPtr = colaPINVOKE.ColaLocks_Repeat(Lock.getCPtr(value), count);
            ColaLocks ret  = (cPtr == IntPtr.Zero) ? null : new ColaLocks(cPtr, true);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #6
0
        public ColaLocks GetRange(int index, int count)
        {
            IntPtr    cPtr = colaPINVOKE.ColaLocks_GetRange(swigCPtr, index, count);
            ColaLocks ret  = (cPtr == IntPtr.Zero) ? null : new ColaLocks(cPtr, true);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #7
0
 internal static HandleRef getCPtr(ColaLocks obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
예제 #8
0
 internal static HandleRef getCPtr(ColaLocks obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
예제 #9
0
 public ColaLocksEnumerator(ColaLocks collection)
 {
     collectionRef = collection;
       currentIndex = -1;
       currentObject = null;
       currentSize = collectionRef.Count;
 }
예제 #10
0
 public void SetRange(int index, ColaLocks values)
 {
     colaPINVOKE.ColaLocks_SetRange(swigCPtr, index, ColaLocks.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #11
0
 public void AddRange(ColaLocks values)
 {
     colaPINVOKE.ColaLocks_AddRange(swigCPtr, ColaLocks.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #12
0
 public static void removeClusterOverlapFast(RootCluster clusterHierarchy, RectPtrVector rs, ColaLocks locks)
 {
     colaPINVOKE.removeClusterOverlapFast(RootCluster.getCPtr(clusterHierarchy), RectPtrVector.getCPtr(rs), ColaLocks.getCPtr(locks));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #13
0
 public static void removeClusterOverlapFast(RootCluster clusterHierarchy, RectPtrVector rs, ColaLocks locks)
 {
     colaPINVOKE.removeClusterOverlapFast(RootCluster.getCPtr(clusterHierarchy), RectPtrVector.getCPtr(rs), ColaLocks.getCPtr(locks));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #14
0
 public PreIteration(ColaLocks locks)
     : this(colaPINVOKE.new_PreIteration__SWIG_1(ColaLocks.getCPtr(locks)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }