14using System.Runtime.InteropServices;
15using System.Collections;
16using System.Collections.Generic;
18public partial class ModelCache : global::System.IDisposable {
22 internal ModelCache(global::System.IntPtr cPtr,
bool cMemoryOwn) {
24 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
this, cPtr);
27 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(
ModelCache obj) {
28 return (obj ==
null) ?
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero) : obj.swigCPtr;
31 internal static global::System.Runtime.InteropServices.HandleRef swigRelease(ModelCache obj) {
34 throw new global::System.ApplicationException(
"Cannot release ownership as memory is not owned");
35 global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr;
36 obj.swigCMemOwn =
false;
40 return new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
50 global::System.GC.SuppressFinalize(
this);
53 protected virtual void Dispose(
bool disposing) {
55 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
60 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
65 public virtual void Clear() {
66 operations_research_constraint_solverPINVOKE.ModelCache_Clear(swigCPtr);
111 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ?
null : new
IntExpr(cPtr, false);
121 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ?
null : new
IntExpr(cPtr, false);
131 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ?
null : new
IntExpr(cPtr, false);
141 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ?
null : new
IntExpr(cPtr, false);
151 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ?
null : new
IntExpr(cPtr, false);
161 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ?
null : new
IntExpr(cPtr, false);
171 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ?
null : new
IntExpr(cPtr, false);
183 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ?
null : new
IntExpr(cPtr, false);
195 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ?
null : new
IntExpr(cPtr, false);
207 Solver ret = (cPtr == global::System.IntPtr.Zero) ?
null : new
Solver(cPtr, false);