DotNet Reference

DotNet Reference

MPVariableVector

Detailed Description

Definition at line 13 of file MPVariableVector.cs.

Classes

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

Public Member Functions

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

Static Public Member Functions

static MPVariableVector Repeat (Variable value, int count)
 
static implicit operator MPVariableVector (Variable[] inVal)
 
static implicit operator Variable[] (MPVariableVector inVal)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Properties

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

Constructor & Destructor Documentation

◆ MPVariableVector() [1/5]

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

Definition at line 48 of file MPVariableVector.cs.

◆ MPVariableVector() [2/5]

MPVariableVector ( global::System.Collections.Generic.IEnumerable< Variable c)
inline

Definition at line 56 of file MPVariableVector.cs.

◆ MPVariableVector() [3/5]

MPVariableVector ( )
inline

Definition at line 242 of file MPVariableVector.cs.

◆ MPVariableVector() [4/5]

Definition at line 245 of file MPVariableVector.cs.

◆ MPVariableVector() [5/5]

MPVariableVector ( int  capacity)
inline

Definition at line 249 of file MPVariableVector.cs.

Member Function Documentation

◆ Add()

void Add ( Variable  x)
inline

Definition at line 224 of file MPVariableVector.cs.

◆ AddRange()

void AddRange ( MPVariableVector  values)
inline

Definition at line 272 of file MPVariableVector.cs.

◆ Clear()

void Clear ( )
inline

Definition at line 220 of file MPVariableVector.cs.

◆ Contains()

bool Contains ( Variable  value)
inline

Definition at line 325 of file MPVariableVector.cs.

◆ CopyTo() [1/3]

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

Definition at line 118 of file MPVariableVector.cs.

◆ CopyTo() [2/3]

void CopyTo ( Variable[]  array)
inline

Definition at line 108 of file MPVariableVector.cs.

◆ CopyTo() [3/3]

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

Definition at line 113 of file MPVariableVector.cs.

◆ Dispose() [1/2]

void Dispose ( )
inline

Definition at line 31 of file MPVariableVector.cs.

◆ Dispose() [2/2]

virtual void Dispose ( bool  disposing)
inlineprotectedvirtual

Definition at line 36 of file MPVariableVector.cs.

◆ GetEnumerator()

MPVariableVectorEnumerator GetEnumerator ( )
inline

Definition at line 150 of file MPVariableVector.cs.

◆ GetRange()

MPVariableVector GetRange ( int  index,
int  count 
)
inline

Definition at line 277 of file MPVariableVector.cs.

◆ IndexOf()

int IndexOf ( Variable  value)
inline

Definition at line 330 of file MPVariableVector.cs.

◆ Insert()

void Insert ( int  index,
Variable  x 
)
inline

Definition at line 284 of file MPVariableVector.cs.

◆ InsertRange()

void InsertRange ( int  index,
MPVariableVector  values 
)
inline

Definition at line 289 of file MPVariableVector.cs.

◆ LastIndexOf()

int LastIndexOf ( Variable  value)
inline

Definition at line 335 of file MPVariableVector.cs.

◆ operator MPVariableVector()

static implicit operator MPVariableVector ( Variable[]  inVal)
inlinestatic

Definition at line 198 of file VariableHelper.cs.

◆ operator Variable[]()

static implicit operator Variable[] ( MPVariableVector  inVal)
inlinestatic

Definition at line 207 of file VariableHelper.cs.

◆ Remove()

bool Remove ( Variable  value)
inline

Definition at line 340 of file MPVariableVector.cs.

◆ RemoveAt()

void RemoveAt ( int  index)
inline

Definition at line 294 of file MPVariableVector.cs.

◆ RemoveRange()

void RemoveRange ( int  index,
int  count 
)
inline

Definition at line 299 of file MPVariableVector.cs.

◆ Repeat()

static MPVariableVector Repeat ( Variable  value,
int  count 
)
inlinestatic

Definition at line 304 of file MPVariableVector.cs.

◆ Reverse() [1/2]

void Reverse ( )
inline

Definition at line 311 of file MPVariableVector.cs.

◆ Reverse() [2/2]

void Reverse ( int  index,
int  count 
)
inline

Definition at line 315 of file MPVariableVector.cs.

◆ SetRange()

void SetRange ( int  index,
MPVariableVector  values 
)
inline

Definition at line 320 of file MPVariableVector.cs.

◆ ToArray()

Variable [] ToArray ( )
inline

Definition at line 136 of file MPVariableVector.cs.

Member Data Documentation

◆ swigCMemOwn

bool swigCMemOwn
protected

Definition at line 16 of file MPVariableVector.cs.

Property Documentation

◆ Capacity

int Capacity
getset

Definition at line 85 of file MPVariableVector.cs.

◆ Count

int Count
get

Definition at line 96 of file MPVariableVector.cs.

◆ IsFixedSize

bool IsFixedSize
get

Definition at line 64 of file MPVariableVector.cs.

◆ IsReadOnly

bool IsReadOnly
get

Definition at line 70 of file MPVariableVector.cs.

◆ IsSynchronized

bool IsSynchronized
get

Definition at line 102 of file MPVariableVector.cs.

◆ this[int index]

Variable this[int index]
getset

Definition at line 76 of file MPVariableVector.cs.


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