Exemplo n.º 1
0
 public void Insert(int index, ScoredExtentResult x)
 {
     indri_csharpPINVOKE.ScoredExtentResultVector_Insert(swigCPtr, index, ScoredExtentResult.getCPtr(x));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 private void setitem(int index, ScoredExtentResult val)
 {
     indri_csharpPINVOKE.ScoredExtentResultVector_setitem(swigCPtr, index, ScoredExtentResult.getCPtr(val));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
        public static ScoredExtentResultVector Repeat(ScoredExtentResult value, int count)
        {
            IntPtr cPtr = indri_csharpPINVOKE.ScoredExtentResultVector_Repeat(ScoredExtentResult.getCPtr(value), count);
            ScoredExtentResultVector ret = (cPtr == IntPtr.Zero) ? null : new ScoredExtentResultVector(cPtr, true);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }