Example #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();
     }
 }
Example #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();
     }
 }
Example #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);
        }
Example #4
0
 public void Add(Cluster x)
 {
     colaPINVOKE.ClusterVector_Add(swigCPtr, Cluster.getCPtr(x));
 }