public OcrString(OcrCharVector ocr_chars) : this(csSmartIdEnginePINVOKE.new_OcrString__SWIG_1(OcrCharVector.getCPtr(ocr_chars)), true)
 {
     if (csSmartIdEnginePINVOKE.SWIGPendingException.Pending)
     {
         throw csSmartIdEnginePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public OcrCharVectorEnumerator(OcrCharVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, OcrCharVector values)
 {
     csSmartIdEnginePINVOKE.OcrCharVector_SetRange(swigCPtr, index, OcrCharVector.getCPtr(values));
     if (csSmartIdEnginePINVOKE.SWIGPendingException.Pending)
     {
         throw csSmartIdEnginePINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public static OcrCharVector Repeat(OcrChar value, int count)
        {
            global::System.IntPtr cPtr = csSmartIdEnginePINVOKE.OcrCharVector_Repeat(OcrChar.getCPtr(value), count);
            OcrCharVector         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OcrCharVector(cPtr, true);

            if (csSmartIdEnginePINVOKE.SWIGPendingException.Pending)
            {
                throw csSmartIdEnginePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public OcrCharVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = csSmartIdEnginePINVOKE.OcrCharVector_GetRange(swigCPtr, index, count);
            OcrCharVector         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OcrCharVector(cPtr, true);

            if (csSmartIdEnginePINVOKE.SWIGPendingException.Pending)
            {
                throw csSmartIdEnginePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public OcrCharVector GetOcrChars()
        {
            OcrCharVector ret = new OcrCharVector(csSmartIdEnginePINVOKE.OcrString_GetOcrChars(swigCPtr), false);

            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OcrCharVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }