Example #1
0
 public CommonEltVector(CommonEltVector other) : this(commonWRAPPINVOKE.new_CommonEltVector__SWIG_1(CommonEltVector.getCPtr(other)), true)
 {
     if (commonWRAPPINVOKE.SWIGPendingException.Pending)
     {
         throw commonWRAPPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public CommonEltVectorEnumerator(CommonEltVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Example #3
0
 public void SetRange(int index, CommonEltVector values)
 {
     commonWRAPPINVOKE.CommonEltVector_SetRange(swigCPtr, index, CommonEltVector.getCPtr(values));
     if (commonWRAPPINVOKE.SWIGPendingException.Pending)
     {
         throw commonWRAPPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
        public static CommonEltVector Repeat(CommonElt value, int count)
        {
            IntPtr          cPtr = commonWRAPPINVOKE.CommonEltVector_Repeat(CommonElt.getCPtr(value), count);
            CommonEltVector ret  = (cPtr == IntPtr.Zero) ? null : new CommonEltVector(cPtr, true);

            if (commonWRAPPINVOKE.SWIGPendingException.Pending)
            {
                throw commonWRAPPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #5
0
        public CommonEltVector GetRange(int index, int count)
        {
            IntPtr          cPtr = commonWRAPPINVOKE.CommonEltVector_GetRange(swigCPtr, index, count);
            CommonEltVector ret  = (cPtr == IntPtr.Zero) ? null : new CommonEltVector(cPtr, true);

            if (commonWRAPPINVOKE.SWIGPendingException.Pending)
            {
                throw commonWRAPPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #6
0
 internal static HandleRef getCPtr(CommonEltVector obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }