Beispiel #1
0
 public CommonMbVectorPtr(CommonMbVectorPtr other) : this(commonWRAPPINVOKE.new_CommonMbVectorPtr__SWIG_1(CommonMbVectorPtr.getCPtr(other)), true)
 {
     if (commonWRAPPINVOKE.SWIGPendingException.Pending)
     {
         throw commonWRAPPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public CommonMbVectorPtrEnumerator(CommonMbVectorPtr collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Beispiel #3
0
 public void SetRange(int index, CommonMbVectorPtr values)
 {
     commonWRAPPINVOKE.CommonMbVectorPtr_SetRange(swigCPtr, index, CommonMbVectorPtr.getCPtr(values));
     if (commonWRAPPINVOKE.SWIGPendingException.Pending)
     {
         throw commonWRAPPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #4
0
        public static CommonMbVectorPtr Repeat(CommonMb value, int count)
        {
            IntPtr            cPtr = commonWRAPPINVOKE.CommonMbVectorPtr_Repeat(CommonMb.getCPtr(value), count);
            CommonMbVectorPtr ret  = (cPtr == IntPtr.Zero) ? null : new CommonMbVectorPtr(cPtr, true);

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

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