DotNet Reference

DotNet Reference

IntVector

Detailed Description

Definition at line 13 of file algorithms/IntVector.cs.

Classes

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

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 ()
 
void Clear ()
 
void Add (int x)
 
 IntVector ()
 
 IntVector (IntVector other)
 
 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]
 
int Count [get]
 
bool IsSynchronized [get]
 

Constructor & Destructor Documentation

◆ IntVector() [1/5]

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

Definition at line 48 of file algorithms/IntVector.cs.

◆ IntVector() [2/5]

IntVector ( global::System.Collections.Generic.IEnumerable< int >  c)
inline

Definition at line 56 of file algorithms/IntVector.cs.

◆ IntVector() [3/5]

IntVector ( )
inline

Definition at line 242 of file algorithms/IntVector.cs.

◆ IntVector() [4/5]

IntVector ( IntVector  other)
inline

Definition at line 245 of file algorithms/IntVector.cs.

◆ IntVector() [5/5]

IntVector ( int  capacity)
inline

Definition at line 249 of file algorithms/IntVector.cs.

Member Function Documentation

◆ Add()

void Add ( int  x)
inline

Definition at line 224 of file algorithms/IntVector.cs.

◆ AddRange()

void AddRange ( IntVector  values)
inline

Definition at line 270 of file algorithms/IntVector.cs.

◆ Clear()

void Clear ( )
inline

Definition at line 220 of file algorithms/IntVector.cs.

◆ Contains()

bool Contains ( int  value)
inline

Definition at line 323 of file algorithms/IntVector.cs.

◆ CopyTo() [1/3]

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

Definition at line 118 of file algorithms/IntVector.cs.

◆ CopyTo() [2/3]

void CopyTo ( int[]  array)
inline

Definition at line 108 of file algorithms/IntVector.cs.

◆ CopyTo() [3/3]

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

Definition at line 113 of file algorithms/IntVector.cs.

◆ Dispose() [1/2]

void Dispose ( )
inline

Definition at line 31 of file algorithms/IntVector.cs.

◆ Dispose() [2/2]

virtual void Dispose ( bool  disposing)
inlineprotectedvirtual

Definition at line 36 of file algorithms/IntVector.cs.

◆ GetEnumerator()

IntVectorEnumerator GetEnumerator ( )
inline

Definition at line 150 of file algorithms/IntVector.cs.

◆ GetRange()

IntVector GetRange ( int  index,
int  count 
)
inline

Definition at line 275 of file algorithms/IntVector.cs.

◆ IndexOf()

int IndexOf ( int  value)
inline

Definition at line 328 of file algorithms/IntVector.cs.

◆ Insert()

void Insert ( int  index,
int  x 
)
inline

Definition at line 282 of file algorithms/IntVector.cs.

◆ InsertRange()

void InsertRange ( int  index,
IntVector  values 
)
inline

Definition at line 287 of file algorithms/IntVector.cs.

◆ LastIndexOf()

int LastIndexOf ( int  value)
inline

Definition at line 333 of file algorithms/IntVector.cs.

◆ Remove()

bool Remove ( int  value)
inline

Definition at line 338 of file algorithms/IntVector.cs.

◆ RemoveAt()

void RemoveAt ( int  index)
inline

Definition at line 292 of file algorithms/IntVector.cs.

◆ RemoveRange()

void RemoveRange ( int  index,
int  count 
)
inline

Definition at line 297 of file algorithms/IntVector.cs.

◆ Repeat()

static IntVector Repeat ( int  value,
int  count 
)
inlinestatic

Definition at line 302 of file algorithms/IntVector.cs.

◆ Reverse() [1/2]

void Reverse ( )
inline

Definition at line 309 of file algorithms/IntVector.cs.

◆ Reverse() [2/2]

void Reverse ( int  index,
int  count 
)
inline

Definition at line 313 of file algorithms/IntVector.cs.

◆ SetRange()

void SetRange ( int  index,
IntVector  values 
)
inline

Definition at line 318 of file algorithms/IntVector.cs.

◆ ToArray()

int [] ToArray ( )
inline

Definition at line 136 of file algorithms/IntVector.cs.

Member Data Documentation

◆ swigCMemOwn

bool swigCMemOwn
protected

Definition at line 16 of file algorithms/IntVector.cs.

Property Documentation

◆ Capacity

int Capacity
getset

Definition at line 85 of file algorithms/IntVector.cs.

◆ Count

int Count
get

Definition at line 96 of file algorithms/IntVector.cs.

◆ IsFixedSize

bool IsFixedSize
get

Definition at line 64 of file algorithms/IntVector.cs.

◆ IsReadOnly

bool IsReadOnly
get

Definition at line 70 of file algorithms/IntVector.cs.

◆ IsSynchronized

bool IsSynchronized
get

Definition at line 102 of file algorithms/IntVector.cs.

◆ this[int index]

int this[int index]
getset

Definition at line 76 of file algorithms/IntVector.cs.


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