예제 #1
0
 public CommonEltVectorPtr(CommonEltVectorPtr other) : this(commonWRAPPINVOKE.new_CommonEltVectorPtr__SWIG_1(CommonEltVectorPtr.getCPtr(other)), true)
 {
     if (commonWRAPPINVOKE.SWIGPendingException.Pending)
     {
         throw commonWRAPPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public CommonEltVectorPtrEnumerator(CommonEltVectorPtr collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
예제 #3
0
 public void SetRange(int index, CommonEltVectorPtr values)
 {
     commonWRAPPINVOKE.CommonEltVectorPtr_SetRange(swigCPtr, index, CommonEltVectorPtr.getCPtr(values));
     if (commonWRAPPINVOKE.SWIGPendingException.Pending)
     {
         throw commonWRAPPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
        public static CommonEltVectorPtr Repeat(CommonElt value, int count)
        {
            IntPtr             cPtr = commonWRAPPINVOKE.CommonEltVectorPtr_Repeat(CommonElt.getCPtr(value), count);
            CommonEltVectorPtr ret  = (cPtr == IntPtr.Zero) ? null : new CommonEltVectorPtr(cPtr, true);

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

            if (commonWRAPPINVOKE.SWIGPendingException.Pending)
            {
                throw commonWRAPPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #6
0
        public virtual CommonEltVectorPtr getElements()
        {
            CommonEltVectorPtr ret = new CommonEltVectorPtr(commonWRAPPINVOKE.CommonElt_getElements(swigCPtr), true);

            return(ret);
        }
예제 #7
0
 internal static HandleRef getCPtr(CommonEltVectorPtr obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }