public CommonMbVectorPtr(CommonMbVectorPtr other) : this(commonWRAPPINVOKE.new_CommonMbVectorPtr__SWIG_1(CommonMbVectorPtr.getCPtr(other)), true) { if (commonWRAPPINVOKE.SWIGPendingException.Pending) { throw commonWRAPPINVOKE.SWIGPendingException.Retrieve(); } }
public CommonMbVectorPtrEnumerator(CommonMbVectorPtr collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, CommonMbVectorPtr values) { commonWRAPPINVOKE.CommonMbVectorPtr_SetRange(swigCPtr, index, CommonMbVectorPtr.getCPtr(values)); if (commonWRAPPINVOKE.SWIGPendingException.Pending) { throw commonWRAPPINVOKE.SWIGPendingException.Retrieve(); } }
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); }
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); }
internal static HandleRef getCPtr(CommonMbVectorPtr obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }