DotNet Reference

.Net Reference

AssignmentSequenceContainer.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 
12 
13 using System;
14 using System.Runtime.InteropServices;
15 using System.Collections;
16 using System.Collections.Generic;
17 
18 public partial class AssignmentSequenceContainer : global::System.IDisposable {
19  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
20  protected bool swigCMemOwn;
21 
22  internal AssignmentSequenceContainer(global::System.IntPtr cPtr, bool cMemoryOwn) {
23  swigCMemOwn = cMemoryOwn;
24  swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
25  }
26 
27  internal static global::System.Runtime.InteropServices.HandleRef getCPtr(AssignmentSequenceContainer obj) {
28  return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
29  }
30 
32  Dispose(false);
33  }
34 
35  public void Dispose() {
36  Dispose(true);
37  global::System.GC.SuppressFinalize(this);
38  }
39 
40  protected virtual void Dispose(bool disposing) {
41  lock(this) {
42  if (swigCPtr.Handle != global::System.IntPtr.Zero) {
43  if (swigCMemOwn) {
44  swigCMemOwn = false;
46  }
47  swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
48  }
49  }
50  }
51 
52  public AssignmentSequenceContainer() : this(operations_research_constraint_solverPINVOKE.new_AssignmentSequenceContainer(), true) {
53  }
54 
57  SequenceVarElement ret = (cPtr == global::System.IntPtr.Zero) ? null : new SequenceVarElement(cPtr, false);
58  return ret;
59  }
60 
63  SequenceVarElement ret = (cPtr == global::System.IntPtr.Zero) ? null : new SequenceVarElement(cPtr, false);
64  return ret;
65  }
66 
67  public SequenceVarElement AddAtPosition(SequenceVar var, int position) {
69  SequenceVarElement ret = (cPtr == global::System.IntPtr.Zero) ? null : new SequenceVarElement(cPtr, false);
70  return ret;
71  }
72 
73  public void Clear() {
75  }
76 
77  public void Resize(uint size) {
79  }
80 
81  public bool Empty() {
83  return ret;
84  }
85 
89  }
90 
91  public void Copy(AssignmentSequenceContainer container) {
94  }
95 
96  public bool Contains(SequenceVar var) {
98  return ret;
99  }
100 
103  return ret;
104  }
105 
106  public SequenceVarElement Element(int index) {
108  return ret;
109  }
110 
111  public int Size() {
113  return ret;
114  }
115 
116  public void Store() {
118  }
119 
120  public void Restore() {
122  }
123 
124  public bool AreAllElementsBound() {
126  return ret;
127  }
128 
129 }
130 
131 }
static global::System.IntPtr AssignmentSequenceContainer_Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr AssignmentSequenceContainer_Element__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool AssignmentSequenceContainer_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr AssignmentSequenceContainer_Element__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void AssignmentSequenceContainer_Resize(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2)
static void AssignmentSequenceContainer_Restore(global::System.Runtime.InteropServices.HandleRef jarg1)
SequenceVarElement AddAtPosition(SequenceVar var, int position)
static void AssignmentSequenceContainer_Store(global::System.Runtime.InteropServices.HandleRef jarg1)
void Store()
bool Contains(SequenceVar var)
static bool AssignmentSequenceContainer_Empty(global::System.Runtime.InteropServices.HandleRef jarg1)
static void AssignmentSequenceContainer_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
bool swigCMemOwn
static bool Pending
void Dispose()
void Clear()
Definition: SequenceVar.cs:18
using System
Definition: Program.cs:14
static void AssignmentSequenceContainer_CopyIntersection(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr AssignmentSequenceContainer_FastAdd(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void AssignmentSequenceContainer_Copy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
SequenceVarElement Element(int index)
void Restore()
void CopyIntersection(AssignmentSequenceContainer container)
static global::System.IntPtr AssignmentSequenceContainer_AddAtPosition(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
void Copy(AssignmentSequenceContainer container)
static void delete_AssignmentSequenceContainer(global::System.Runtime.InteropServices.HandleRef jarg1)
SequenceVarElement Element(SequenceVar var)
SequenceVarElement FastAdd(SequenceVar var)
bool AreAllElementsBound()
int Size()
static bool AssignmentSequenceContainer_AreAllElementsBound(global::System.Runtime.InteropServices.HandleRef jarg1)
bool Empty()
AssignmentSequenceContainer()
virtual void Dispose(bool disposing)
static int AssignmentSequenceContainer_Size(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.Exception Retrieve()
void Resize(uint size)
SequenceVarElement Add(SequenceVar var)