11 namespace org.gnu.glpk {
14 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
15 protected bool swigCMemOwn;
17 internal glp_vertex(global::System.IntPtr cPtr,
bool cMemoryOwn) {
18 swigCMemOwn = cMemoryOwn;
19 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
this, cPtr);
22 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(
glp_vertex obj) {
23 return (obj == null) ?
new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
30 public virtual void Dispose() {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
37 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
39 global::System.GC.SuppressFinalize(
this);
61 string ret =
GLPKPINVOKE.glp_vertex_name_get(swigCPtr);
73 global::System.IntPtr cPtr =
GLPKPINVOKE.glp_vertex_entry_get(swigCPtr);
86 global::System.IntPtr cPtr =
GLPKPINVOKE.glp_vertex_data_get(swigCPtr);
99 global::System.IntPtr cPtr =
GLPKPINVOKE.glp_vertex_temp_get(swigCPtr);
108 GLPKPINVOKE.glp_vertex_in__set(swigCPtr, global::System.Runtime.InteropServices.HandleRef.ToIntPtr(
glp_arc.getCPtr(value)));
112 global::System.IntPtr cPtr =
GLPKPINVOKE.glp_vertex_in__get(swigCPtr);
114 return (cPtr == global::System.IntPtr.Zero) ? null :
new glp_arc(cPtr,
false);
121 GLPKPINVOKE.glp_vertex_out__set(swigCPtr, global::System.Runtime.InteropServices.HandleRef.ToIntPtr(
glp_arc.getCPtr(value)));
125 global::System.IntPtr cPtr =
GLPKPINVOKE.glp_vertex_out__get(swigCPtr);
127 return (cPtr == global::System.IntPtr.Zero) ? null :
new glp_arc(cPtr,
false);