public Char_pVectorEnumerator(Char_pVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, Char_pVector values)
 {
     indri_csharpPINVOKE.Char_pVector_SetRange(swigCPtr, index, Char_pVector.getCPtr(values));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public static Char_pVector Repeat(string value, int count)
        {
            IntPtr       cPtr = indri_csharpPINVOKE.Char_pVector_Repeat(value, count);
            Char_pVector ret  = (cPtr == IntPtr.Zero) ? null : new Char_pVector(cPtr, true);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public Char_pVector GetRange(int index, int count)
        {
            IntPtr       cPtr = indri_csharpPINVOKE.Char_pVector_GetRange(swigCPtr, index, count);
            Char_pVector ret  = (cPtr == IntPtr.Zero) ? null : new Char_pVector(cPtr, true);

            if (indri_csharpPINVOKE.SWIGPendingException.Pending)
            {
                throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#5
0
 public Char_pVectorEnumerator(Char_pVector collection)
 {
     collectionRef = collection;
       currentIndex = -1;
       currentObject = null;
       currentSize = collectionRef.Count;
 }
示例#6
0
 internal static HandleRef getCPtr(Char_pVector obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
示例#7
0
 public void SetRange(int index, Char_pVector values)
 {
     indri_csharpPINVOKE.Char_pVector_SetRange(swigCPtr, index, Char_pVector.getCPtr(values));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending) throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(Char_pVector obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }