public static IndexedRealVector runStructQuery(string query, StructQueryRetMethod model, string stopfile, string stemtype, string datadir) {
   IntPtr cPtr = lemur_csharpPINVOKE.RetMethodManager_runStructQuery__SWIG_1(query, StructQueryRetMethod.getCPtr(model), stopfile, stemtype, datadir);
   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(StructQueryRetMethod obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }