DotNet Reference
.Net Reference
SequenceVarElement.cs
Go to the documentation of this file.
21 internal SequenceVarElement(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_constraint_solverPINVOKE.SequenceVarElement_SWIGUpcast(cPtr), cMemoryOwn) {
25 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SequenceVarElement obj) {
26 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
42 public SequenceVarElement() : this(operations_research_constraint_solverPINVOKE.new_SequenceVarElement__SWIG_0(), true) {
45 public SequenceVarElement(SequenceVar var) : this(operations_research_constraint_solverPINVOKE.new_SequenceVarElement__SWIG_1(SequenceVar.getCPtr(var)), true) {
49 operations_research_constraint_solverPINVOKE.SequenceVarElement_Reset(swigCPtr, SequenceVar.getCPtr(var));
53 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.SequenceVarElement_Clone(swigCPtr);
54 SequenceVarElement ret = (cPtr == global::System.IntPtr.Zero) ? null : new SequenceVarElement(cPtr, false);
59 operations_research_constraint_solverPINVOKE.SequenceVarElement_Copy(swigCPtr, SequenceVarElement.getCPtr(element));
60 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
64 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.SequenceVarElement_Var(swigCPtr);
78 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.SequenceVarElement_ForwardSequence(swigCPtr);
90 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.SequenceVarElement_BackwardSequence(swigCPtr);
102 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.SequenceVarElement_Unperformed(swigCPtr);
114 operations_research_constraint_solverPINVOKE.SequenceVarElement_SetSequence(swigCPtr, forward_sequence.Length, forward_sequence , backward_sequence.Length, backward_sequence , unperformed.Length, unperformed );
118 operations_research_constraint_solverPINVOKE.SequenceVarElement_SetForwardSequence(swigCPtr, forward_sequence.Length, forward_sequence );
122 operations_research_constraint_solverPINVOKE.SequenceVarElement_SetBackwardSequence(swigCPtr, backward_sequence.Length, backward_sequence );
126 operations_research_constraint_solverPINVOKE.SequenceVarElement_SetUnperformed(swigCPtr, unperformed.Length, unperformed );
135 string ret = operations_research_constraint_solverPINVOKE.SequenceVarElement_ToString(swigCPtr);
static void SequenceVarElement_SetBackwardSequence(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, int[] jarg2)
static global::System.IntPtr SequenceVarElement_BackwardSequence(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr SequenceVarElement_Clone(global::System.Runtime.InteropServices.HandleRef jarg1)
void SetForwardSequence(int[] forward_sequence)
Definition: SequenceVarElement.cs:117
static global::System.IntPtr SequenceVarElement_Var(global::System.Runtime.InteropServices.HandleRef jarg1)
bool swigCMemOwn
Definition: AssignmentElement.cs:20
static bool Pending
void SetSequence(int[] forward_sequence, int[] backward_sequence, int[] unperformed)
Definition: SequenceVarElement.cs:113
void Copy(SequenceVarElement element)
Definition: SequenceVarElement.cs:58
void SetBackwardSequence(int[] backward_sequence)
Definition: SequenceVarElement.cs:121
static global::System.IntPtr SequenceVarElement_Unperformed(global::System.Runtime.InteropServices.HandleRef jarg1)
int Count
Definition: constraint_solver/IntVector.cs:101
static void SequenceVarElement_Reset(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool SequenceVarElement_Bound(global::System.Runtime.InteropServices.HandleRef jarg1)
int[] Unperformed()
Definition: SequenceVarElement.cs:101
void SetUnperformed(int[] unperformed)
Definition: SequenceVarElement.cs:125
static void SequenceVarElement_SetForwardSequence(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, int[] jarg2)
void Restore()
Definition: SequenceVarElement.cs:73
static void SequenceVarElement_SetSequence(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, int[] jarg2, int length3, int[] jarg3, int length4, int[] jarg4)
int[] ForwardSequence()
Definition: SequenceVarElement.cs:77
override void Dispose(bool disposing)
Definition: SequenceVarElement.cs:29
static global::System.IntPtr SequenceVarElement_ForwardSequence(global::System.Runtime.InteropServices.HandleRef jarg1)
void CopyTo(int[] array)
Definition: constraint_solver/IntVector.cs:113
SequenceVar Var()
Definition: SequenceVarElement.cs:63
static string SequenceVarElement_ToString(global::System.Runtime.InteropServices.HandleRef jarg1)
bool Bound()
Definition: SequenceVarElement.cs:129
SequenceVarElement(SequenceVar var)
Definition: SequenceVarElement.cs:45
static void SequenceVarElement_Store(global::System.Runtime.InteropServices.HandleRef jarg1)
void Store()
Definition: SequenceVarElement.cs:69
static void SequenceVarElement_SetUnperformed(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, int[] jarg2)
int[] BackwardSequence()
Definition: SequenceVarElement.cs:89
static void delete_SequenceVarElement(global::System.Runtime.InteropServices.HandleRef jarg1)
string ToString()
Definition: SequenceVarElement.cs:134
SequenceVarElement()
Definition: SequenceVarElement.cs:42
Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.SequenceVarElement_Copy
static void SequenceVarElement_Copy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.Exception Retrieve()
static void SequenceVarElement_Restore(global::System.Runtime.InteropServices.HandleRef jarg1)
SequenceVarElement Clone()
Definition: SequenceVarElement.cs:52
static global::System.IntPtr SequenceVarElement_SWIGUpcast(global::System.IntPtr jarg1)
void Reset(SequenceVar var)
Definition: SequenceVarElement.cs:48