Пример #1
0
 public StringVector(StringVector other) : this(cAudioCSharpWrapperPINVOKE.new_StringVector__SWIG_1(StringVector.getCPtr(other)), true)
 {
     if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending)
     {
         throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public StringVectorEnumerator(StringVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Пример #3
0
 public void SetRange(int index, StringVector values)
 {
     cAudioCSharpWrapperPINVOKE.StringVector_SetRange(swigCPtr, index, StringVector.getCPtr(values));
     if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending)
     {
         throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
        public static StringVector Repeat(string value, int count)
        {
            IntPtr       cPtr = cAudioCSharpWrapperPINVOKE.StringVector_Repeat(value, count);
            StringVector ret  = (cPtr == IntPtr.Zero) ? null : new StringVector(cPtr, true);

            if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending)
            {
                throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #5
0
        public StringVector GetRange(int index, int count)
        {
            IntPtr       cPtr = cAudioCSharpWrapperPINVOKE.StringVector_GetRange(swigCPtr, index, count);
            StringVector ret  = (cPtr == IntPtr.Zero) ? null : new StringVector(cPtr, true);

            if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending)
            {
                throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #6
0
 internal static HandleRef getCPtr(StringVector obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }