internal static HandleRef getCPtr(Field obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
private void setitem(int index, Field val) { indri_csharpPINVOKE.FieldVector_setitem(swigCPtr, index, Field.getCPtr(val)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); }
private Field getitemcopy(int index) { Field ret = new Field(indri_csharpPINVOKE.FieldVector_getitemcopy(swigCPtr, index), true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public void Insert(int index, Field x) { indri_csharpPINVOKE.FieldVector_Insert(swigCPtr, index, Field.getCPtr(x)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); }
public void Add(Field x) { indri_csharpPINVOKE.FieldVector_Add(swigCPtr, Field.getCPtr(x)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); }
public static FieldVector Repeat(Field value, int count) { IntPtr cPtr = indri_csharpPINVOKE.FieldVector_Repeat(Field.getCPtr(value), count); FieldVector ret = (cPtr == IntPtr.Zero) ? null : new FieldVector(cPtr, true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); return ret; }