public static IndexedRealVector runQuery(string query, RetrievalMethod model) { IntPtr cPtr = lemur_csharpPINVOKE.RetMethodManager_runQuery(query, RetrievalMethod.getCPtr(model)); IndexedRealVector ret = (cPtr == IntPtr.Zero) ? null : new IndexedRealVector(cPtr, false); if (lemur_csharpPINVOKE.SWIGPendingException.Pending) throw lemur_csharpPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(RetrievalMethod obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public StructQueryRetMethod(RetrievalMethod m) : this((IntPtr)RetrievalMethod.getCPtr(m), false) {}