Beispiel #1
0
 public PreIteration(ColaLocks locks) : this(colaPINVOKE.new_PreIteration__SWIG_1(ColaLocks.getCPtr(locks)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public ColaLocksEnumerator(ColaLocks collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Beispiel #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();
     }
 }
Beispiel #4
0
 public void AddRange(ColaLocks values)
 {
     colaPINVOKE.ColaLocks_AddRange(swigCPtr, ColaLocks.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #7
0
 internal static HandleRef getCPtr(ColaLocks obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Beispiel #8
0
 internal static HandleRef getCPtr(ColaLocks obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Beispiel #9
0
 public ColaLocksEnumerator(ColaLocks collection)
 {
     collectionRef = collection;
       currentIndex = -1;
       currentObject = null;
       currentSize = collectionRef.Count;
 }
Beispiel #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();
 }
Beispiel #11
0
 public void AddRange(ColaLocks values)
 {
     colaPINVOKE.ColaLocks_AddRange(swigCPtr, ColaLocks.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
Beispiel #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();
     }
 }
Beispiel #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();
 }
Beispiel #14
0
 public PreIteration(ColaLocks locks)
     : this(colaPINVOKE.new_PreIteration__SWIG_1(ColaLocks.getCPtr(locks)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }