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