public void Insert(int index, TermExtent value) { indri_csharpPINVOKE.TermExtentVector_Insert(swigCPtr, index, TermExtent.getCPtr(value)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
private void setitem(int index, TermExtent value) { indri_csharpPINVOKE.TermExtentVector_setitem(swigCPtr, index, TermExtent.getCPtr(value)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
private TermExtent getitem(int index) { TermExtent ret = new TermExtent(indri_csharpPINVOKE.TermExtentVector_getitem(swigCPtr, index), false); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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 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 void Insert(int index, TermExtent value) { indri_csharpPINVOKE.TermExtentVector_Insert(swigCPtr, index, TermExtent.getCPtr(value)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); }
private void setitem(int index, TermExtent value) { indri_csharpPINVOKE.TermExtentVector_setitem(swigCPtr, index, TermExtent.getCPtr(value)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); }
private TermExtent getitem(int index) { TermExtent ret = new TermExtent(indri_csharpPINVOKE.TermExtentVector_getitem(swigCPtr, index), false); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(TermExtent obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
internal static HandleRef getCPtr(TermExtent obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }