示例#1
0
 public ColaEdge(ColaEdge p) : this(colaPINVOKE.new_ColaEdge__SWIG_2(ColaEdge.getCPtr(p)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 private void setitem(int index, ColaEdge val)
 {
     colaPINVOKE.EdgeVector_setitem(swigCPtr, index, ColaEdge.getCPtr(val));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
 public void Insert(int index, ColaEdge x)
 {
     colaPINVOKE.EdgeVector_Insert(swigCPtr, index, ColaEdge.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
 public void Add(ColaEdge x)
 {
     colaPINVOKE.EdgeVector_Add(swigCPtr, ColaEdge.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#5
0
        public static EdgeVector Repeat(ColaEdge value, int count)
        {
            IntPtr     cPtr = colaPINVOKE.EdgeVector_Repeat(ColaEdge.getCPtr(value), count);
            EdgeVector ret  = (cPtr == IntPtr.Zero) ? null : new EdgeVector(cPtr, true);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }