Ejemplo n.º 1
0
 public FieldVector(FieldVector other) : this(indri_csharpPINVOKE.new_FieldVector__SWIG_1(FieldVector.getCPtr(other)), true)
 {
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public FieldVectorEnumerator(FieldVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 3
0
 public void SetRange(int index, FieldVector values)
 {
     indri_csharpPINVOKE.FieldVector_SetRange(swigCPtr, index, FieldVector.getCPtr(values));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
        public static FieldVector Repeat(Field value, int count)
        {
            IntPtr      cPtr = indri_csharpPINVOKE.FieldVector_Repeat(Field.getCPtr(value), count);
            FieldVector ret  = (cPtr == IntPtr.Zero) ? null : new FieldVector(cPtr, true);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 5
0
        public FieldVector GetRange(int index, int count)
        {
            IntPtr      cPtr = indri_csharpPINVOKE.FieldVector_GetRange(swigCPtr, index, count);
            FieldVector ret  = (cPtr == IntPtr.Zero) ? null : new FieldVector(cPtr, true);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 6
0
 public FieldVectorEnumerator(FieldVector collection)
 {
     collectionRef = collection;
       currentIndex = -1;
       currentObject = null;
       currentSize = collectionRef.Count;
 }
Ejemplo n.º 7
0
 internal static HandleRef getCPtr(FieldVector obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Ejemplo n.º 8
0
 public void SetRange(int index, FieldVector values)
 {
     indri_csharpPINVOKE.FieldVector_SetRange(swigCPtr, index, FieldVector.getCPtr(values));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
 }
Ejemplo n.º 9
0
 public FieldVector fields()
 {
     FieldVector ret = new FieldVector(indri_csharpPINVOKE.DocumentVector_fields(swigCPtr), false);
     return ret;
 }
Ejemplo n.º 10
0
        public FieldVector fields()
        {
            FieldVector ret = new FieldVector(indri_csharpPINVOKE.DocumentVector_fields(swigCPtr), false);

            return(ret);
        }
Ejemplo n.º 11
0
 internal static HandleRef getCPtr(FieldVector obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }