public QueryAnnotation runAnnotatedQuery(string query, IntVector documentSet, int resultsRequested) { IntPtr cPtr = indri_csharpPINVOKE.QueryEnvironment_runAnnotatedQuery__SWIG_1(swigCPtr, query, IntVector.getCPtr(documentSet), resultsRequested); QueryAnnotation ret = (cPtr == IntPtr.Zero) ? null : new QueryAnnotation(cPtr, true); if (indri_csharpPINVOKE.SWIGPendingException.Pending) { throw indri_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static HandleRef getCPtr(QueryAnnotation obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
internal static HandleRef getCPtr(QueryAnnotation obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }