示例#1
0
 private void setitem(int index, Cluster val)
 {
     colaPINVOKE.ClusterVector_setitem(swigCPtr, index, Cluster.getCPtr(val));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
示例#2
0
 public void Insert(int index, Cluster x)
 {
     colaPINVOKE.ClusterVector_Insert(swigCPtr, index, Cluster.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
示例#3
0
 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;
 }
示例#4
0
 public void Add(Cluster x)
 {
     colaPINVOKE.ClusterVector_Add(swigCPtr, Cluster.getCPtr(x));
 }
示例#5
0
 internal static HandleRef getCPtr(Cluster obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }