public void Insert(int index, TermExtent value)
 {
     indri_csharpPINVOKE.TermExtentVector_Insert(swigCPtr, index, TermExtent.getCPtr(value));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 private void setitem(int index, TermExtent value)
 {
     indri_csharpPINVOKE.TermExtentVector_setitem(swigCPtr, index, TermExtent.getCPtr(value));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        private TermExtent getitem(int index)
        {
            TermExtent ret = new TermExtent(indri_csharpPINVOKE.TermExtentVector_getitem(swigCPtr, index), false);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static TermExtentVector Repeat(TermExtent value, int count)
        {
            IntPtr           cPtr = indri_csharpPINVOKE.TermExtentVector_Repeat(TermExtent.getCPtr(value), count);
            TermExtentVector ret  = (cPtr == IntPtr.Zero) ? null : new TermExtentVector(cPtr, true);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 5
0
 public static TermExtentVector Repeat(TermExtent value, int count) {
   IntPtr cPtr = indri_csharpPINVOKE.TermExtentVector_Repeat(TermExtent.getCPtr(value), count);
   TermExtentVector ret = (cPtr == IntPtr.Zero) ? null : new TermExtentVector(cPtr, true);
   if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Esempio n. 6
0
 public void Insert(int index, TermExtent value) {
   indri_csharpPINVOKE.TermExtentVector_Insert(swigCPtr, index, TermExtent.getCPtr(value));
   if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 7
0
 private void setitem(int index, TermExtent value) {
   indri_csharpPINVOKE.TermExtentVector_setitem(swigCPtr, index, TermExtent.getCPtr(value));
   if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 8
0
 private TermExtent getitem(int index) {
   TermExtent ret = new TermExtent(indri_csharpPINVOKE.TermExtentVector_getitem(swigCPtr, index), false);
   if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Esempio n. 9
0
 internal static HandleRef getCPtr(TermExtent obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Esempio n. 10
0
 internal static HandleRef getCPtr(TermExtent obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }