public ParsedDocumentVectorEnumerator(ParsedDocumentVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public ParsedDocumentVector(ParsedDocumentVector other) : this(indri_csharpPINVOKE.new_ParsedDocumentVector__SWIG_1(ParsedDocumentVector.getCPtr(other)), true) { if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetRange(int index, ParsedDocumentVector values) { indri_csharpPINVOKE.ParsedDocumentVector_SetRange(swigCPtr, index, ParsedDocumentVector.getCPtr(values)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
public ParsedDocumentVector documentsFromMetadata(string attributeName, StringVector attributeValue) { ParsedDocumentVector ret = new ParsedDocumentVector(indri_csharpPINVOKE.QueryEnvironment_documentsFromMetadata(swigCPtr, attributeName, StringVector.getCPtr(attributeValue)), true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public ParsedDocumentVector documents(ScoredExtentResultVector results) { ParsedDocumentVector ret = new ParsedDocumentVector(indri_csharpPINVOKE.QueryEnvironment_documents__SWIG_1(swigCPtr, ScoredExtentResultVector.getCPtr(results)), true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static ParsedDocumentVector Repeat(ParsedDocument value, int count) { IntPtr cPtr = indri_csharpPINVOKE.ParsedDocumentVector_Repeat(ParsedDocument.getCPtr(value), count); ParsedDocumentVector ret = (cPtr == IntPtr.Zero) ? null : new ParsedDocumentVector(cPtr, true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public ParsedDocumentVector GetRange(int index, int count) { IntPtr cPtr = indri_csharpPINVOKE.ParsedDocumentVector_GetRange(swigCPtr, index, count); ParsedDocumentVector ret = (cPtr == IntPtr.Zero) ? null : new ParsedDocumentVector(cPtr, true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public ParsedDocumentVector documentsFromMetadata(string attributeName, StringVector attributeValue) { ParsedDocumentVector ret = new ParsedDocumentVector(indri_csharpPINVOKE.QueryEnvironment_documentsFromMetadata(swigCPtr, attributeName, StringVector.getCPtr(attributeValue)), true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public ParsedDocumentVector documents(ScoredExtentResultVector results) { ParsedDocumentVector ret = new ParsedDocumentVector(indri_csharpPINVOKE.QueryEnvironment_documents__SWIG_1(swigCPtr, ScoredExtentResultVector.getCPtr(results)), true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public ParsedDocumentVector documents(IntVector documentIDs) { ParsedDocumentVector ret = new ParsedDocumentVector(indri_csharpPINVOKE.QueryEnvironment_documents__SWIG_0(swigCPtr, IntVector.getCPtr(documentIDs)), true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(ParsedDocumentVector obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
internal static HandleRef getCPtr(ParsedDocumentVector obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public void SetRange(int index, ParsedDocumentVector values) { indri_csharpPINVOKE.ParsedDocumentVector_SetRange(swigCPtr, index, ParsedDocumentVector.getCPtr(values)); if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); }