Exemplo n.º 1
0
 public CSVectorStringEnumerator(CSVectorString collection)
 {
     this.collectionRef = collection;
     this.currentIndex  = -1;
     this.currentObject = null;
     this.currentSize   = this.collectionRef.Count;
 }
Exemplo n.º 2
0
 public void SetRange(int index, CSVectorString values)
 {
     CocoStudioEngineAdapterPINVOKE.CSVectorString_SetRange(this.swigCPtr, index, CSVectorString.getCPtr(values));
     if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending)
     {
         throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 public CSVectorString(CSVectorString other)
     : this(CocoStudioEngineAdapterPINVOKE.new_CSVectorString__SWIG_1(CSVectorString.getCPtr(other)), true)
 {
     if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending)
     {
         throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
        public static CSVectorString Repeat(string value, int count)
        {
            IntPtr         intPtr = CocoStudioEngineAdapterPINVOKE.CSVectorString_Repeat(value, count);
            CSVectorString result = (intPtr == IntPtr.Zero) ? null : new CSVectorString(intPtr, true);

            if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending)
            {
                throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve();
            }
            return(result);
        }
Exemplo n.º 5
0
        public CSVectorString GetRange(int index, int count)
        {
            IntPtr         intPtr = CocoStudioEngineAdapterPINVOKE.CSVectorString_GetRange(this.swigCPtr, index, count);
            CSVectorString result = (intPtr == IntPtr.Zero) ? null : new CSVectorString(intPtr, true);

            if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending)
            {
                throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve();
            }
            return(result);
        }
Exemplo n.º 6
0
 public static HandleRef getCPtr(CSVectorString obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }