public CharVectorEnumerator(CharVector collection)
 {
     this.collectionRef = collection;
     this.currentIndex  = -1;
     this.currentObject = null;
     this.currentSize   = this.collectionRef.Count;
 }
 public CharVector(CharVector other) : this(AppUtilPINVOKE.new_CharVector__SWIG_1(CharVector.getCPtr(other)), true)
 {
     if (AppUtilPINVOKE.SWIGPendingException.Pending)
     {
         throw AppUtilPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void SetRange(int index, CharVector values)
 {
     AppUtilPINVOKE.CharVector_SetRange(this.swigCPtr, index, CharVector.getCPtr(values));
     if (AppUtilPINVOKE.SWIGPendingException.Pending)
     {
         throw AppUtilPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public static CharVector Repeat(byte value, int count)
        {
            IntPtr     intPtr = AppUtilPINVOKE.CharVector_Repeat(value, count);
            CharVector result = (!(intPtr == IntPtr.Zero)) ? new CharVector(intPtr, true) : null;

            if (AppUtilPINVOKE.SWIGPendingException.Pending)
            {
                throw AppUtilPINVOKE.SWIGPendingException.Retrieve();
            }
            return(result);
        }
        public CharVector GetRange(int index, int count)
        {
            IntPtr     intPtr = AppUtilPINVOKE.CharVector_GetRange(this.swigCPtr, index, count);
            CharVector result = (!(intPtr == IntPtr.Zero)) ? new CharVector(intPtr, true) : null;

            if (AppUtilPINVOKE.SWIGPendingException.Pending)
            {
                throw AppUtilPINVOKE.SWIGPendingException.Retrieve();
            }
            return(result);
        }
 internal static HandleRef getCPtr(CharVector obj)
 {
     return((obj != null) ? obj.swigCPtr : new HandleRef(null, IntPtr.Zero));
 }