public RiderVector(RiderVector other) : this(delivery_modelPINVOKE.new_RiderVector__SWIG_1(RiderVector.getCPtr(other)), true) { if (delivery_modelPINVOKE.SWIGPendingException.Pending) { throw delivery_modelPINVOKE.SWIGPendingException.Retrieve(); } }
public RiderVectorEnumerator(RiderVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, RiderVector values) { delivery_modelPINVOKE.RiderVector_SetRange(swigCPtr, index, RiderVector.getCPtr(values)); if (delivery_modelPINVOKE.SWIGPendingException.Pending) { throw delivery_modelPINVOKE.SWIGPendingException.Retrieve(); } }
public static RiderVector Repeat(Rider value, int count) { global::System.IntPtr cPtr = delivery_modelPINVOKE.RiderVector_Repeat(Rider.getCPtr(value), count); RiderVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new RiderVector(cPtr, true); if (delivery_modelPINVOKE.SWIGPendingException.Pending) { throw delivery_modelPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public RiderVector GetRange(int index, int count) { global::System.IntPtr cPtr = delivery_modelPINVOKE.RiderVector_GetRange(swigCPtr, index, count); RiderVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new RiderVector(cPtr, true); if (delivery_modelPINVOKE.SWIGPendingException.Pending) { throw delivery_modelPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RiderVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }