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