Esempio n. 1
0
 public ColaEdge(ColaEdge p) : this(colaPINVOKE.new_ColaEdge__SWIG_2(ColaEdge.getCPtr(p)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 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();
     }
 }
Esempio n. 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();
     }
 }
Esempio n. 4
0
 public void Add(ColaEdge x)
 {
     colaPINVOKE.EdgeVector_Add(swigCPtr, ColaEdge.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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();
 }
Esempio n. 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;
 }
Esempio n. 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();
 }
Esempio n. 10
0
 public void Add(ColaEdge x)
 {
     colaPINVOKE.EdgeVector_Add(swigCPtr, ColaEdge.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 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;
 }
Esempio n. 12
0
 internal static HandleRef getCPtr(ColaEdge obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Esempio n. 13
0
 public ColaEdge(ColaEdge p)
     : this(colaPINVOKE.new_ColaEdge__SWIG_2(ColaEdge.getCPtr(p)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 14
0
 internal static HandleRef getCPtr(ColaEdge obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }