DotNet Reference

DotNet Reference

IntVarVector

Detailed Description

Definition at line 18 of file IntVarVector.cs.

Classes

class  IntVarVectorEnumerator
 Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever the collection is modified. More...
 

Public Member Functions

void Dispose ()
 
 IntVarVector (global::System.Collections.IEnumerable c)
 
 IntVarVector (global::System.Collections.Generic.IEnumerable< IntVar > c)
 
void CopyTo (IntVar[] array)
 
void CopyTo (IntVar[] array, int arrayIndex)
 
void CopyTo (int index, IntVar[] array, int arrayIndex, int count)
 
IntVar[] ToArray ()
 
IntVarVectorEnumerator GetEnumerator ()
 
void Clear ()
 
void Add (IntVar x)
 
 IntVarVector ()
 
 IntVarVector (IntVarVector other)
 
 IntVarVector (int capacity)
 
void AddRange (IntVarVector values)
 
IntVarVector GetRange (int index, int count)
 
void Insert (int index, IntVar x)
 
void InsertRange (int index, IntVarVector values)
 
void RemoveAt (int index)
 
void RemoveRange (int index, int count)
 
void Reverse ()
 
void Reverse (int index, int count)
 
void SetRange (int index, IntVarVector values)
 
bool Contains (IntVar value)
 
int IndexOf (IntVar value)
 
int LastIndexOf (IntVar value)
 
bool Remove (IntVar value)
 

Static Public Member Functions

static IntVarVector Repeat (IntVar value, int count)
 
static implicit operator IntVarVector (IntVar[] inVal)
 
static implicit operator IntVar[] (IntVarVector inVal)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Properties

bool IsFixedSize [get]
 
bool IsReadOnly [get]
 
IntVar this[int index] [get, set]
 
int Capacity [get, set]
 
int Count [get]
 
bool IsSynchronized [get]
 

Constructor & Destructor Documentation

◆ IntVarVector() [1/5]

IntVarVector ( global::System.Collections.IEnumerable  c)
inline

Definition at line 53 of file IntVarVector.cs.

◆ IntVarVector() [2/5]

IntVarVector ( global::System.Collections.Generic.IEnumerable< IntVar c)
inline

Definition at line 61 of file IntVarVector.cs.

◆ IntVarVector() [3/5]

IntVarVector ( )
inline

Definition at line 247 of file IntVarVector.cs.

◆ IntVarVector() [4/5]

IntVarVector ( IntVarVector  other)
inline

Definition at line 250 of file IntVarVector.cs.

◆ IntVarVector() [5/5]

IntVarVector ( int  capacity)
inline

Definition at line 254 of file IntVarVector.cs.

Member Function Documentation

◆ Add()

void Add ( IntVar  x)
inline

Definition at line 229 of file IntVarVector.cs.

◆ AddRange()

void AddRange ( IntVarVector  values)
inline

Definition at line 277 of file IntVarVector.cs.

◆ Clear()

void Clear ( )
inline

Definition at line 225 of file IntVarVector.cs.

◆ Contains()

bool Contains ( IntVar  value)
inline

Definition at line 330 of file IntVarVector.cs.

◆ CopyTo() [1/3]

void CopyTo ( int  index,
IntVar[]  array,
int  arrayIndex,
int  count 
)
inline

Definition at line 123 of file IntVarVector.cs.

◆ CopyTo() [2/3]

void CopyTo ( IntVar[]  array)
inline

Definition at line 113 of file IntVarVector.cs.

◆ CopyTo() [3/3]

void CopyTo ( IntVar[]  array,
int  arrayIndex 
)
inline

Definition at line 118 of file IntVarVector.cs.

◆ Dispose() [1/2]

void Dispose ( )
inline

Definition at line 36 of file IntVarVector.cs.

◆ Dispose() [2/2]

virtual void Dispose ( bool  disposing)
inlineprotectedvirtual

Definition at line 41 of file IntVarVector.cs.

◆ GetEnumerator()

IntVarVectorEnumerator GetEnumerator ( )
inline

Definition at line 155 of file IntVarVector.cs.

◆ GetRange()

IntVarVector GetRange ( int  index,
int  count 
)
inline

Definition at line 282 of file IntVarVector.cs.

◆ IndexOf()

int IndexOf ( IntVar  value)
inline

Definition at line 335 of file IntVarVector.cs.

◆ Insert()

void Insert ( int  index,
IntVar  x 
)
inline

Definition at line 289 of file IntVarVector.cs.

◆ InsertRange()

void InsertRange ( int  index,
IntVarVector  values 
)
inline

Definition at line 294 of file IntVarVector.cs.

◆ LastIndexOf()

int LastIndexOf ( IntVar  value)
inline

Definition at line 340 of file IntVarVector.cs.

◆ operator IntVar[]()

static implicit operator IntVar[] ( IntVarVector  inVal)
inlinestatic

Definition at line 210 of file IntVarArrayHelper.cs.

◆ operator IntVarVector()

static implicit operator IntVarVector ( IntVar[]  inVal)
inlinestatic

Definition at line 201 of file IntVarArrayHelper.cs.

◆ Remove()

bool Remove ( IntVar  value)
inline

Definition at line 345 of file IntVarVector.cs.

◆ RemoveAt()

void RemoveAt ( int  index)
inline

Definition at line 299 of file IntVarVector.cs.

◆ RemoveRange()

void RemoveRange ( int  index,
int  count 
)
inline

Definition at line 304 of file IntVarVector.cs.

◆ Repeat()

static IntVarVector Repeat ( IntVar  value,
int  count 
)
inlinestatic

Definition at line 309 of file IntVarVector.cs.

◆ Reverse() [1/2]

void Reverse ( )
inline

Definition at line 316 of file IntVarVector.cs.

◆ Reverse() [2/2]

void Reverse ( int  index,
int  count 
)
inline

Definition at line 320 of file IntVarVector.cs.

◆ SetRange()

void SetRange ( int  index,
IntVarVector  values 
)
inline

Definition at line 325 of file IntVarVector.cs.

◆ ToArray()

IntVar [] ToArray ( )
inline

Definition at line 141 of file IntVarVector.cs.

Member Data Documentation

◆ swigCMemOwn

bool swigCMemOwn
protected

Definition at line 21 of file IntVarVector.cs.

Property Documentation

◆ Capacity

int Capacity
getset

Definition at line 90 of file IntVarVector.cs.

◆ Count

int Count
get

Definition at line 101 of file IntVarVector.cs.

◆ IsFixedSize

bool IsFixedSize
get

Definition at line 69 of file IntVarVector.cs.

◆ IsReadOnly

bool IsReadOnly
get

Definition at line 75 of file IntVarVector.cs.

◆ IsSynchronized

bool IsSynchronized
get

Definition at line 107 of file IntVarVector.cs.

◆ this[int index]

IntVar this[int index]
getset

Definition at line 81 of file IntVarVector.cs.


The documentation for this class was generated from the following files: