public ClusterVectorEnumerator(ClusterVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, ClusterVector values) { colaPINVOKE.ClusterVector_SetRange(swigCPtr, index, ClusterVector.getCPtr(values)); if (colaPINVOKE.SWIGPendingException.Pending) { throw colaPINVOKE.SWIGPendingException.Retrieve(); } }
public static ClusterVector Repeat(Cluster value, int count) { IntPtr cPtr = colaPINVOKE.ClusterVector_Repeat(Cluster.getCPtr(value), count); ClusterVector ret = (cPtr == IntPtr.Zero) ? null : new ClusterVector(cPtr, true); if (colaPINVOKE.SWIGPendingException.Pending) { throw colaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public ClusterVector GetRange(int index, int count) { IntPtr cPtr = colaPINVOKE.ClusterVector_GetRange(swigCPtr, index, count); ClusterVector ret = (cPtr == IntPtr.Zero) ? null : new ClusterVector(cPtr, true); if (colaPINVOKE.SWIGPendingException.Pending) { throw colaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static HandleRef getCPtr(ClusterVector obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
internal static HandleRef getCPtr(ClusterVector obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public void SetRange(int index, ClusterVector values) { colaPINVOKE.ClusterVector_SetRange(swigCPtr, index, ClusterVector.getCPtr(values)); if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve(); }
public void AddRange(ClusterVector values) { colaPINVOKE.ClusterVector_AddRange(swigCPtr, ClusterVector.getCPtr(values)); if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve(); }