Esempio n. 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();
 }
Esempio n. 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();
 }
Esempio n. 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;
 }
Esempio n. 4
0
 public void Add(Cluster x)
 {
     colaPINVOKE.ClusterVector_Add(swigCPtr, Cluster.getCPtr(x));
 }
Esempio n. 5
0
 internal static HandleRef getCPtr(Cluster obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }