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