Beispiel #1
0
 public Query(PostingSource external_source) : this(XapianPINVOKE.new_Query__SWIG_12(PostingSource.getCPtr(external_source)), true)
 {
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public void RegisterPostingSource(PostingSource source)
 {
     XapianPINVOKE.Registry_RegisterPostingSource(swigCPtr, PostingSource.getCPtr(source));
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #3
0
        public PostingSource GetPostingSource(string name)
        {
            IntPtr        cPtr = XapianPINVOKE.Registry_GetPostingSource(swigCPtr, name);
            PostingSource ret  = (cPtr == IntPtr.Zero) ? null : new PostingSource(cPtr, false);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #4
0
 public void RegisterPostingSource(PostingSource source)
 {
     XapianPINVOKE.Registry_RegisterPostingSource(swigCPtr, PostingSource.getCPtr(source));
     if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
 }
Beispiel #5
0
 internal static HandleRef getCPtr(PostingSource obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Beispiel #6
0
 public static extern void PostingSource_director_connect(HandleRef jarg1, PostingSource.SwigDelegatePostingSource_0 delegate0, PostingSource.SwigDelegatePostingSource_1 delegate1, PostingSource.SwigDelegatePostingSource_2 delegate2, PostingSource.SwigDelegatePostingSource_3 delegate3, PostingSource.SwigDelegatePostingSource_4 delegate4, PostingSource.SwigDelegatePostingSource_5 delegate5, PostingSource.SwigDelegatePostingSource_6 delegate6, PostingSource.SwigDelegatePostingSource_7 delegate7, PostingSource.SwigDelegatePostingSource_8 delegate8, PostingSource.SwigDelegatePostingSource_9 delegate9, PostingSource.SwigDelegatePostingSource_10 delegate10, PostingSource.SwigDelegatePostingSource_11 delegate11);
Beispiel #7
0
 internal static HandleRef getCPtr(PostingSource obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Beispiel #8
0
 public Query(PostingSource external_source)
     : this(XapianPINVOKE.new_Query__SWIG_12(PostingSource.getCPtr(external_source)), true)
 {
     if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
 }