예제 #1
0
 public void AddMatchspy(MatchSpy spy)
 {
     XapianPINVOKE.Enquire_AddMatchspy(swigCPtr, MatchSpy.getCPtr(spy));
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public void RegisterMatchSpy(MatchSpy spy)
 {
     XapianPINVOKE.Registry_RegisterMatchSpy(swigCPtr, MatchSpy.getCPtr(spy));
     if (XapianPINVOKE.SWIGPendingException.Pending)
     {
         throw XapianPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
        public MatchSpy GetMatchSpy(string name)
        {
            IntPtr   cPtr = XapianPINVOKE.Registry_GetMatchSpy(swigCPtr, name);
            MatchSpy ret  = (cPtr == IntPtr.Zero) ? null : new MatchSpy(cPtr, false);

            if (XapianPINVOKE.SWIGPendingException.Pending)
            {
                throw XapianPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #4
0
 public void RegisterMatchSpy(MatchSpy spy)
 {
     XapianPINVOKE.Registry_RegisterMatchSpy(swigCPtr, MatchSpy.getCPtr(spy));
     if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #5
0
 internal static HandleRef getCPtr(MatchSpy obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
예제 #6
0
 public void AddMatchspy(MatchSpy spy)
 {
     XapianPINVOKE.Enquire_AddMatchspy(swigCPtr, MatchSpy.getCPtr(spy));
     if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #7
0
 public static extern void MatchSpy_director_connect(HandleRef jarg1, MatchSpy.SwigDelegateMatchSpy_0 delegate0, MatchSpy.SwigDelegateMatchSpy_1 delegate1, MatchSpy.SwigDelegateMatchSpy_2 delegate2, MatchSpy.SwigDelegateMatchSpy_3 delegate3);
예제 #8
0
 internal static HandleRef getCPtr(MatchSpy obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }