Exemple #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();
     }
 }
 public void RegisterPostingSource(PostingSource source)
 {
     XapianPINVOKE.Registry_RegisterPostingSource(swigCPtr, PostingSource.getCPtr(source));
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        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);
        }
Exemple #4
0
 public void RegisterPostingSource(PostingSource source)
 {
     XapianPINVOKE.Registry_RegisterPostingSource(swigCPtr, PostingSource.getCPtr(source));
     if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #5
0
 internal static HandleRef getCPtr(PostingSource obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemple #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);
Exemple #7
0
 internal static HandleRef getCPtr(PostingSource obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #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();
 }