Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.ModelBuilder.IntVector Class Reference
Inheritance diagram for Google.OrTools.ModelBuilder.IntVector:

Classes

class  IntVectorEnumerator
 

Public Member Functions

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

Static Public Member Functions

static IntVector Repeat (int value, int count)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Properties

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

Detailed Description

Definition at line 15 of file IntVector.cs.

Constructor & Destructor Documentation

◆ IntVector() [1/5]

Google.OrTools.ModelBuilder.IntVector.IntVector ( global.System.Collections.IEnumerable c)
inline

Definition at line 63 of file IntVector.cs.

◆ IntVector() [2/5]

Google.OrTools.ModelBuilder.IntVector.IntVector ( global.System.Collections.Generic.IEnumerable< int > c)
inline

Definition at line 71 of file IntVector.cs.

◆ IntVector() [3/5]

Google.OrTools.ModelBuilder.IntVector.IntVector ( )
inline

Definition at line 241 of file IntVector.cs.

◆ IntVector() [4/5]

Google.OrTools.ModelBuilder.IntVector.IntVector ( IntVector other)
inline

Definition at line 244 of file IntVector.cs.

◆ IntVector() [5/5]

Google.OrTools.ModelBuilder.IntVector.IntVector ( int capacity)
inline

Definition at line 275 of file IntVector.cs.

Member Function Documentation

◆ Add()

void Google.OrTools.ModelBuilder.IntVector.Add ( int x)
inline

Definition at line 252 of file IntVector.cs.

◆ AddRange()

void Google.OrTools.ModelBuilder.IntVector.AddRange ( IntVector values)
inline

Definition at line 296 of file IntVector.cs.

◆ Clear()

void Google.OrTools.ModelBuilder.IntVector.Clear ( )
inline

Definition at line 248 of file IntVector.cs.

◆ Contains()

bool Google.OrTools.ModelBuilder.IntVector.Contains ( int value)
inline

Definition at line 349 of file IntVector.cs.

◆ CopyTo() [1/3]

void Google.OrTools.ModelBuilder.IntVector.CopyTo ( int index,
int[] array,
int arrayIndex,
int count )
inline

Definition at line 139 of file IntVector.cs.

◆ CopyTo() [2/3]

void Google.OrTools.ModelBuilder.IntVector.CopyTo ( int[] array)
inline

Definition at line 129 of file IntVector.cs.

◆ CopyTo() [3/3]

void Google.OrTools.ModelBuilder.IntVector.CopyTo ( int[] array,
int arrayIndex )
inline

Definition at line 134 of file IntVector.cs.

◆ Dispose() [1/2]

void Google.OrTools.ModelBuilder.IntVector.Dispose ( )
inline

Definition at line 46 of file IntVector.cs.

◆ Dispose() [2/2]

virtual void Google.OrTools.ModelBuilder.IntVector.Dispose ( bool disposing)
inlineprotectedvirtual

Definition at line 51 of file IntVector.cs.

◆ GetEnumerator()

IntVectorEnumerator Google.OrTools.ModelBuilder.IntVector.GetEnumerator ( )
inline

Definition at line 171 of file IntVector.cs.

◆ GetRange()

IntVector Google.OrTools.ModelBuilder.IntVector.GetRange ( int index,
int count )
inline

Definition at line 301 of file IntVector.cs.

◆ IndexOf()

int Google.OrTools.ModelBuilder.IntVector.IndexOf ( int value)
inline

Definition at line 354 of file IntVector.cs.

◆ Insert()

void Google.OrTools.ModelBuilder.IntVector.Insert ( int index,
int x )
inline

Definition at line 308 of file IntVector.cs.

◆ InsertRange()

void Google.OrTools.ModelBuilder.IntVector.InsertRange ( int index,
IntVector values )
inline

Definition at line 313 of file IntVector.cs.

◆ LastIndexOf()

int Google.OrTools.ModelBuilder.IntVector.LastIndexOf ( int value)
inline

Definition at line 359 of file IntVector.cs.

◆ Remove()

bool Google.OrTools.ModelBuilder.IntVector.Remove ( int value)
inline

Definition at line 364 of file IntVector.cs.

◆ RemoveAt()

void Google.OrTools.ModelBuilder.IntVector.RemoveAt ( int index)
inline

Definition at line 318 of file IntVector.cs.

◆ RemoveRange()

void Google.OrTools.ModelBuilder.IntVector.RemoveRange ( int index,
int count )
inline

Definition at line 323 of file IntVector.cs.

◆ Repeat()

static IntVector Google.OrTools.ModelBuilder.IntVector.Repeat ( int value,
int count )
inlinestatic

Definition at line 328 of file IntVector.cs.

◆ Reverse() [1/2]

void Google.OrTools.ModelBuilder.IntVector.Reverse ( )
inline

Definition at line 335 of file IntVector.cs.

◆ Reverse() [2/2]

void Google.OrTools.ModelBuilder.IntVector.Reverse ( int index,
int count )
inline

Definition at line 339 of file IntVector.cs.

◆ SetRange()

void Google.OrTools.ModelBuilder.IntVector.SetRange ( int index,
IntVector values )
inline

Definition at line 344 of file IntVector.cs.

◆ ToArray()

int[] Google.OrTools.ModelBuilder.IntVector.ToArray ( )
inline

Definition at line 157 of file IntVector.cs.

Member Data Documentation

◆ swigCMemOwn

bool Google.OrTools.ModelBuilder.IntVector.swigCMemOwn
protected

Definition at line 18 of file IntVector.cs.

Property Documentation

◆ Capacity

int Google.OrTools.ModelBuilder.IntVector.Capacity
getset

Definition at line 100 of file IntVector.cs.

◆ Count

int Google.OrTools.ModelBuilder.IntVector.Count
get

Definition at line 117 of file IntVector.cs.

◆ IsEmpty

bool Google.OrTools.ModelBuilder.IntVector.IsEmpty
get

Definition at line 111 of file IntVector.cs.

◆ IsFixedSize

bool Google.OrTools.ModelBuilder.IntVector.IsFixedSize
get

Definition at line 79 of file IntVector.cs.

◆ IsReadOnly

bool Google.OrTools.ModelBuilder.IntVector.IsReadOnly
get

Definition at line 85 of file IntVector.cs.

◆ IsSynchronized

bool Google.OrTools.ModelBuilder.IntVector.IsSynchronized
get

Definition at line 123 of file IntVector.cs.

◆ this[int index]

int Google.OrTools.ModelBuilder.IntVector.this[int index]
getset

Definition at line 91 of file IntVector.cs.


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