public void Insert(int index, ScoredExtentResult x) { indri_csharpPINVOKE.ScoredExtentResultVector_Insert(swigCPtr, index, ScoredExtentResult.getCPtr(x)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
private void setitem(int index, ScoredExtentResult val) { indri_csharpPINVOKE.ScoredExtentResultVector_setitem(swigCPtr, index, ScoredExtentResult.getCPtr(val)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
public static ScoredExtentResultVector Repeat(ScoredExtentResult value, int count) { IntPtr cPtr = indri_csharpPINVOKE.ScoredExtentResultVector_Repeat(ScoredExtentResult.getCPtr(value), count); ScoredExtentResultVector ret = (cPtr == IntPtr.Zero) ? null : new ScoredExtentResultVector(cPtr, true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }