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