DotNet Reference

.Net Reference

CppFlags.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.2
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 
11 namespace Google.OrTools.Init {
12 
13 public class CppFlags : global::System.IDisposable {
14  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
15  protected bool swigCMemOwn;
16 
17  internal CppFlags(global::System.IntPtr cPtr, bool cMemoryOwn) {
18  swigCMemOwn = cMemoryOwn;
19  swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
20  }
21 
22  internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CppFlags obj) {
23  return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
24  }
25 
26  ~CppFlags() {
27  Dispose(false);
28  }
29 
30  public void Dispose() {
31  Dispose(true);
32  global::System.GC.SuppressFinalize(this);
33  }
34 
35  protected virtual void Dispose(bool disposing) {
36  lock(this) {
37  if (swigCPtr.Handle != global::System.IntPtr.Zero) {
38  if (swigCMemOwn) {
39  swigCMemOwn = false;
41  }
42  swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
43  }
44  }
45  }
46 
47  public bool logtostderr {
48  set {
50  }
51  get {
53  return ret;
54  }
55  }
56 
57  public bool log_prefix {
58  set {
60  }
61  get {
63  return ret;
64  }
65  }
66 
67  public string cp_model_dump_prefix {
68  set {
71  }
72  get {
75  return ret;
76  }
77  }
78 
79  public bool cp_model_dump_models {
80  set {
82  }
83  get {
85  return ret;
86  }
87  }
88 
89  public bool cp_model_dump_lns {
90  set {
92  }
93  get {
95  return ret;
96  }
97  }
98 
99  public bool cp_model_dump_response {
100  set {
102  }
103  get {
105  return ret;
106  }
107  }
108 
109  public CppFlags() : this(operations_research_initPINVOKE.new_CppFlags(), true) {
110  }
111 
112 }
113 
114 }
virtual void Dispose(bool disposing)
Definition: CppFlags.cs:35
static bool CppFlags_cp_model_dump_models_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CppFlags_logtostderr_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool CppFlags_log_prefix_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CppFlags_cp_model_dump_response_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CppFlags_log_prefix_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void CppFlags_cp_model_dump_prefix_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2)
static void delete_CppFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CppFlags_logtostderr_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CppFlags_cp_model_dump_lns_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static string CppFlags_cp_model_dump_prefix_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CppFlags_cp_model_dump_models_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void CppFlags_cp_model_dump_response_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void CppFlags_cp_model_dump_lns_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)