DotNet Reference

.Net Reference

IntervalVarElement.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
13using System;
14using System.Runtime.InteropServices;
15using System.Collections;
16using System.Collections.Generic;
17
18public partial class IntervalVarElement : AssignmentElement {
19 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
20
21 internal IntervalVarElement(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_constraint_solverPINVOKE.IntervalVarElement_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
23 }
24
25 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(IntervalVarElement obj) {
26 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
42 public IntervalVarElement() : this(operations_research_constraint_solverPINVOKE.new_IntervalVarElement__SWIG_0(), true) {
43 }
44
45 public IntervalVarElement(IntervalVar var) : this(operations_research_constraint_solverPINVOKE.new_IntervalVarElement__SWIG_1(IntervalVar.getCPtr(var)), true) {
46 }
47
48 public void Reset(IntervalVar var) {
50 }
51
54 IntervalVarElement ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntervalVarElement(cPtr, false);
55 return ret;
56 }
57
58 public void Copy(IntervalVarElement element) {
61 }
62
63 public IntervalVar Var() {
64 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.IntervalVarElement_Var(swigCPtr);
65 IntervalVar ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntervalVar(cPtr, false);
66 return ret;
67 }
68
69 public void Store() {
71 }
72
73 public void Restore() {
75 }
76
77 public long StartMin() {
79 return ret;
80 }
81
82 public long StartMax() {
84 return ret;
85 }
86
87 public long StartValue() {
89 return ret;
90 }
91
92 public long DurationMin() {
94 return ret;
95 }
96
97 public long DurationMax() {
99 return ret;
100 }
101
102 public long DurationValue() {
104 return ret;
105 }
106
107 public long EndMin() {
109 return ret;
110 }
111
112 public long EndMax() {
114 return ret;
115 }
116
117 public long EndValue() {
119 return ret;
120 }
121
122 public long PerformedMin() {
124 return ret;
125 }
126
127 public long PerformedMax() {
129 return ret;
130 }
131
132 public long PerformedValue() {
134 return ret;
135 }
136
137 public void SetStartMin(long m) {
139 }
140
141 public void SetStartMax(long m) {
143 }
144
145 public void SetStartRange(long mi, long ma) {
147 }
148
149 public void SetStartValue(long v) {
151 }
152
153 public void SetDurationMin(long m) {
155 }
156
157 public void SetDurationMax(long m) {
159 }
160
161 public void SetDurationRange(long mi, long ma) {
163 }
164
165 public void SetDurationValue(long v) {
167 }
168
169 public void SetEndMin(long m) {
171 }
172
173 public void SetEndMax(long m) {
175 }
176
177 public void SetEndRange(long mi, long ma) {
179 }
180
181 public void SetEndValue(long v) {
183 }
184
185 public void SetPerformedMin(long m) {
187 }
188
189 public void SetPerformedMax(long m) {
191 }
192
193 public void SetPerformedRange(long mi, long ma) {
195 }
196
197 public void SetPerformedValue(long v) {
199 }
200
201 public bool Bound() {
203 return ret;
204 }
205
206 public string ToString() {
208 return ret;
209 }
210
211}
212
213}
static void IntervalVarElement_SetDurationValue(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static long IntervalVarElement_PerformedMin(global::System.Runtime.InteropServices.HandleRef jarg1)
static void IntervalVarElement_SetStartMax(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void IntervalVarElement_SetDurationMin(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void IntervalVarElement_Copy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void IntervalVarElement_SetDurationRange(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3)
static long IntervalVarElement_StartMax(global::System.Runtime.InteropServices.HandleRef jarg1)
static long IntervalVarElement_DurationValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static long IntervalVarElement_StartValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static long IntervalVarElement_EndMin(global::System.Runtime.InteropServices.HandleRef jarg1)
static void IntervalVarElement_SetEndRange(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3)
static void IntervalVarElement_SetStartValue(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void IntervalVarElement_Store(global::System.Runtime.InteropServices.HandleRef jarg1)
static string IntervalVarElement_ToString(global::System.Runtime.InteropServices.HandleRef jarg1)
static long IntervalVarElement_PerformedValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static long IntervalVarElement_DurationMin(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr IntervalVarElement_SWIGUpcast(global::System.IntPtr jarg1)
static long IntervalVarElement_StartMin(global::System.Runtime.InteropServices.HandleRef jarg1)
static long IntervalVarElement_DurationMax(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_IntervalVarElement(global::System.Runtime.InteropServices.HandleRef jarg1)
static long IntervalVarElement_EndValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool IntervalVarElement_Bound(global::System.Runtime.InteropServices.HandleRef jarg1)
static void IntervalVarElement_Reset(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void IntervalVarElement_SetStartRange(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3)
static void IntervalVarElement_Restore(global::System.Runtime.InteropServices.HandleRef jarg1)
static void IntervalVarElement_SetStartMin(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void IntervalVarElement_SetPerformedMin(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void IntervalVarElement_SetEndMax(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void IntervalVarElement_SetDurationMax(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void IntervalVarElement_SetEndMin(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void IntervalVarElement_SetPerformedMax(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void IntervalVarElement_SetPerformedValue(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void IntervalVarElement_SetEndValue(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void IntervalVarElement_SetPerformedRange(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3)
static long IntervalVarElement_PerformedMax(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr IntervalVarElement_Var(global::System.Runtime.InteropServices.HandleRef jarg1)
static long IntervalVarElement_EndMax(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr IntervalVarElement_Clone(global::System.Runtime.InteropServices.HandleRef jarg1)