internal static HandleRef getCPtr(IndriRetMethod obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public static IndexedRealVector runIndriQuery(string query, IndriRetMethod model) {
   IntPtr cPtr = lemur_csharpPINVOKE.RetMethodManager_runIndriQuery(query, IndriRetMethod.getCPtr(model));
   IndexedRealVector ret = (cPtr == IntPtr.Zero) ? null : new IndexedRealVector(cPtr, false);
   if (lemur_csharpPINVOKE.SWIGPendingException.Pending) throw lemur_csharpPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }