public FieldVector(FieldVector other) : this(indri_csharpPINVOKE.new_FieldVector__SWIG_1(FieldVector.getCPtr(other)), true) { if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
public FieldVectorEnumerator(FieldVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, FieldVector values) { indri_csharpPINVOKE.FieldVector_SetRange(swigCPtr, index, FieldVector.getCPtr(values)); 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); }
public FieldVector GetRange(int index, int count) { IntPtr cPtr = indri_csharpPINVOKE.FieldVector_GetRange(swigCPtr, index, count); FieldVector ret = (cPtr == IntPtr.Zero) ? null : new FieldVector(cPtr, true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static HandleRef getCPtr(FieldVector obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public void SetRange(int index, FieldVector values) { indri_csharpPINVOKE.FieldVector_SetRange(swigCPtr, index, FieldVector.getCPtr(values)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); }
public FieldVector fields() { FieldVector ret = new FieldVector(indri_csharpPINVOKE.DocumentVector_fields(swigCPtr), false); return ret; }
public FieldVector fields() { FieldVector ret = new FieldVector(indri_csharpPINVOKE.DocumentVector_fields(swigCPtr), false); return(ret); }
internal static HandleRef getCPtr(FieldVector obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }