DotNet Reference

.Net Reference

RoutingModelVisitor.cs
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 // <auto-generated />
3 //
4 // This file was automatically generated by SWIG (http://www.swig.org).
5 // Version 4.0.1
6 //
7 // Do not make changes to this file unless you know what you are doing--modify
8 // the SWIG interface file instead.
9 //------------------------------------------------------------------------------
10 
12 
13 using System;
14 using System.Runtime.InteropServices;
15 using System.Collections;
16 
17 public partial class RoutingModelVisitor : BaseObject {
18  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
19 
20  internal RoutingModelVisitor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_constraint_solverPINVOKE.RoutingModelVisitor_SWIGUpcast(cPtr), cMemoryOwn) {
21  swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
22  }
23 
24  internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RoutingModelVisitor obj) {
25  return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
26  }
27 
28  protected override void Dispose(bool disposing) {
29  lock(this) {
30  if (swigCPtr.Handle != global::System.IntPtr.Zero) {
31  if (swigCMemOwn) {
32  swigCMemOwn = false;
34  }
35  swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
36  }
37  base.Dispose(disposing);
38  }
39  }
40 
41  public static string kLightElement {
42  get {
44  return ret;
45  }
46  }
47 
48  public static string kLightElement2 {
49  get {
51  return ret;
52  }
53  }
54 
55  public static string kRemoveValues {
56  get {
58  return ret;
59  }
60  }
61 
62  public RoutingModelVisitor() : this(operations_research_constraint_solverPINVOKE.new_RoutingModelVisitor(), true) {
63  }
64 
65 }
66 
67 }
static void delete_RoutingModelVisitor(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RoutingModelVisitor_SWIGUpcast(global::System.IntPtr jarg1)