public OffsetListEnumerator(OffsetList collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, OffsetList values) { colaPINVOKE.OffsetList_SetRange(swigCPtr, index, OffsetList.getCPtr(values)); if (colaPINVOKE.SWIGPendingException.Pending) { throw colaPINVOKE.SWIGPendingException.Retrieve(); } }
public void AddRange(OffsetList values) { colaPINVOKE.OffsetList_AddRange(swigCPtr, OffsetList.getCPtr(values)); if (colaPINVOKE.SWIGPendingException.Pending) { throw colaPINVOKE.SWIGPendingException.Retrieve(); } }
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); }
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); }
internal static HandleRef getCPtr(OffsetList obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
internal static HandleRef getCPtr(OffsetList obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public void SetRange(int index, OffsetList values) { colaPINVOKE.OffsetList_SetRange(swigCPtr, index, OffsetList.getCPtr(values)); if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve(); }
public void AddRange(OffsetList values) { colaPINVOKE.OffsetList_AddRange(swigCPtr, OffsetList.getCPtr(values)); if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve(); }