public TagExtentVectorEnumerator(TagExtentVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, TagExtentVector values) { indri_csharpPINVOKE.TagExtentVector_SetRange(swigCPtr, index, TagExtentVector.getCPtr(values)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
public static TagExtentVector Repeat(TagExtent value, int count) { IntPtr cPtr = indri_csharpPINVOKE.TagExtentVector_Repeat(TagExtent.getCPtr(value), count); TagExtentVector ret = (cPtr == IntPtr.Zero) ? null : new TagExtentVector(cPtr, true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public TagExtentVector GetRange(int index, int count) { IntPtr cPtr = indri_csharpPINVOKE.TagExtentVector_GetRange(swigCPtr, index, count); TagExtentVector ret = (cPtr == IntPtr.Zero) ? null : new TagExtentVector(cPtr, true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static HandleRef getCPtr(TagExtentVector obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public void SetRange(int index, TagExtentVector values) { indri_csharpPINVOKE.TagExtentVector_SetRange(swigCPtr, index, TagExtentVector.getCPtr(values)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(TagExtentVector obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }