Пример #1
0
 public Query(Query.op op_, string left, string right) : this(XapianPINVOKE.new_Query__SWIG_6((int)op_, left, right), true)
 {
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public Query(Query.op op_, Query left, Query right) : this(XapianPINVOKE.new_Query__SWIG_5((int)op_, Query.getCPtr(left), Query.getCPtr(right)), true)
 {
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #3
0
 public Query(Query.op op, SWIGTYPE_p_std__vectorT_Xapian__Query_t subqs) : this(XapianPINVOKE.new_Query__SWIG_16((int)op, SWIGTYPE_p_std__vectorT_Xapian__Query_t.getCPtr(subqs)), true)
 {
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
 public Query(Query.op op_, uint slot, string value) : this(XapianPINVOKE.new_Query__SWIG_11((int)op_, slot, value), true)
 {
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #5
0
 public Query(Query.op op_, Query q, double parameter) : this(XapianPINVOKE.new_Query__SWIG_9((int)op_, Query.getCPtr(q), parameter), true)
 {
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #6
0
 public void SetDefaultOp(Query.op default_op)
 {
     XapianPINVOKE.QueryParser_SetDefaultOp(swigCPtr, (int)default_op);
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #7
0
 public Query.op GetDefaultOp()
 {
     Query.op ret = (Query.op)XapianPINVOKE.QueryParser_GetDefaultOp(swigCPtr);
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }