Exemple #1
0
 public ColaEdge(ColaEdge p) : this(colaPINVOKE.new_ColaEdge__SWIG_2(ColaEdge.getCPtr(p)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public void Insert(int index, ColaEdge x)
 {
     colaPINVOKE.EdgeVector_Insert(swigCPtr, index, ColaEdge.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
 private void setitem(int index, ColaEdge val)
 {
     colaPINVOKE.EdgeVector_setitem(swigCPtr, index, ColaEdge.getCPtr(val));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
 public void Add(ColaEdge x)
 {
     colaPINVOKE.EdgeVector_Add(swigCPtr, ColaEdge.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #5
0
        private ColaEdge getitem(int index)
        {
            ColaEdge ret = new ColaEdge(colaPINVOKE.EdgeVector_getitem(swigCPtr, index), false);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #6
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);
        }
Exemple #7
0
 private void setitem(int index, ColaEdge val)
 {
     colaPINVOKE.EdgeVector_setitem(swigCPtr, index, ColaEdge.getCPtr(val));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #8
0
 private ColaEdge getitemcopy(int index)
 {
     ColaEdge ret = new ColaEdge(colaPINVOKE.EdgeVector_getitemcopy(swigCPtr, index), true);
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemple #9
0
 public void Insert(int index, ColaEdge x)
 {
     colaPINVOKE.EdgeVector_Insert(swigCPtr, index, ColaEdge.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #10
0
 public void Add(ColaEdge x)
 {
     colaPINVOKE.EdgeVector_Add(swigCPtr, ColaEdge.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #11
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;
 }
Exemple #12
0
 internal static HandleRef getCPtr(ColaEdge obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemple #13
0
 public ColaEdge(ColaEdge p)
     : this(colaPINVOKE.new_ColaEdge__SWIG_2(ColaEdge.getCPtr(p)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #14
0
 internal static HandleRef getCPtr(ColaEdge obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }