示例#1
0
 public UnsignedVectorEnumerator(UnsignedVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
示例#2
0
 public void SetRange(int index, UnsignedVector values)
 {
     colaPINVOKE.UnsignedVector_SetRange(swigCPtr, index, UnsignedVector.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
        public static UnsignedVector Repeat(uint value, int count)
        {
            IntPtr         cPtr = colaPINVOKE.UnsignedVector_Repeat(value, count);
            UnsignedVector ret  = (cPtr == IntPtr.Zero) ? null : new UnsignedVector(cPtr, true);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#4
0
        public UnsignedVector GetRange(int index, int count)
        {
            IntPtr         cPtr = colaPINVOKE.UnsignedVector_GetRange(swigCPtr, index, count);
            UnsignedVector ret  = (cPtr == IntPtr.Zero) ? null : new UnsignedVector(cPtr, true);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#5
0
 public UnsignedVectorEnumerator(UnsignedVector collection)
 {
     collectionRef = collection;
       currentIndex = -1;
       currentObject = null;
       currentSize = collectionRef.Count;
 }
示例#6
0
 internal static HandleRef getCPtr(UnsignedVector obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
示例#7
0
 public void SetRange(int index, UnsignedVector values)
 {
     colaPINVOKE.UnsignedVector_SetRange(swigCPtr, index, UnsignedVector.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
示例#8
0
 internal static HandleRef getCPtr(UnsignedVector obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }