예제 #1
0
 public MResults(MResults other) : this(indri_csharpPINVOKE.new_MResults__SWIG_1(MResults.getCPtr(other)), true)
 {
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public MResultsEnumerator(MResults collection)
 {
     collectionRef = collection;
     keyCollection = new System.Collections.Generic.List <string>(collection.Keys);
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
예제 #3
0
        public MResults getAnnotations()
        {
            MResults ret = new MResults(indri_csharpPINVOKE.QueryAnnotation_getAnnotations(swigCPtr), false);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #4
0
 internal static HandleRef getCPtr(MResults obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
예제 #5
0
파일: MResults.cs 프로젝트: oroszgy/sefh
 public MResults(MResults arg0)
     : this(indri_csharpPINVOKE.new_MResults__SWIG_1(MResults.getCPtr(arg0)), true)
 {
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #6
0
파일: MResults.cs 프로젝트: oroszgy/sefh
 internal static HandleRef getCPtr(MResults obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
예제 #7
0
 public MResults getAnnotations() {
   MResults ret = new MResults(indri_csharpPINVOKE.QueryAnnotation_getAnnotations(swigCPtr), false);
   if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }