示例#1
0
 public OffsetListEnumerator(OffsetList collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
示例#2
0
 public void SetRange(int index, OffsetList values)
 {
     colaPINVOKE.OffsetList_SetRange(swigCPtr, index, OffsetList.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
 public void AddRange(OffsetList values)
 {
     colaPINVOKE.OffsetList_AddRange(swigCPtr, OffsetList.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
        public static OffsetList Repeat(OffsetPair value, int count)
        {
            IntPtr     cPtr = colaPINVOKE.OffsetList_Repeat(OffsetPair.getCPtr(value), count);
            OffsetList ret  = (cPtr == IntPtr.Zero) ? null : new OffsetList(cPtr, true);

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

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