XPRMArray Methods
The XPRMArray type exposes the following members.
| Name | Description | |
|---|---|---|
| AsArray |
An array type value. This function is defined if the actual object is of a array type.
(Overrides XPRMValueAsArray.) |
|
| AsBoolean |
A Boolean. This function is defined if the actual object is a Boolean
(Inherited from XPRMValue.) |
|
| AsExternal |
An external type value. This function is defined if the actual object is of an external type.
(Inherited from XPRMValue.) |
|
| AsInteger |
An integer. This function is defined if the actual object is an integer.
(Inherited from XPRMValue.) |
|
| AsLinCtr |
A linear constraint. This function is defined if the actual object is a linear constraint.
(Inherited from XPRMValue.) |
|
| AsList |
A list type value. This function is defined if the actual object is of a list type.
(Inherited from XPRMValue.) |
|
| AsMPVar |
A decision variable. This function is defined if the actual object is a decision variable.
(Inherited from XPRMValue.) |
|
| AsProblem |
A problem. This function is defined if the actual object is a problem.
(Inherited from XPRMValue.) |
|
| AsReal |
A real. This function is defined if the actual object is a real.
(Inherited from XPRMValue.) |
|
| AsRecord |
A record type value. This function is defined if the actual object is of a record type.
(Inherited from XPRMValue.) |
|
| AsSet |
A set type value. This function is defined if the actual object is of a set type.
(Inherited from XPRMValue.) |
|
| AsString |
A string. This function is defined if the actual object is a string.
(Inherited from XPRMValue.) |
|
| DereferenceIndex |
Given an array index as the offsets into the index sets, this function returns the corresponding values from the index sets.
|
|
| Equals | (Overrides ObjectEquals(Object).) | |
| Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.) |
|
| Get(Int32) |
Get the cell content associated to the given index (1 dim. array).
|
|
| Get(Int32) |
Get the cell content associated to the given index.
|
|
| Get(Int32, Int32) |
Get the cell content associated to the given index.
|
|
| GetAsBoolean(Int32) |
Get the cell content associated to the given index (1 dim. array of booleans).
|
|
| GetAsBoolean(Int32) |
Get the cell content associated to the given index (array of booleans)
|
|
| GetAsBoolean(Int32, Int32) |
Get the cell content associated to the given index (array of booleans)
|
|
| GetAsInteger(Int32) |
Get the cell content associated to the given index (1 dim. array of integers).
|
|
| GetAsInteger(Int32) |
Get the cell content associated to the given index (array of integers)
|
|
| GetAsInteger(Int32, Int32) |
Get the cell content associated to the given index (array of integers)
|
|
| GetAsReal(Int32) |
Get the cell content associated to the given index (1 dim. array of reals).
|
|
| GetAsReal(Int32) |
Get the cell content associated to the given index (array of reals)
|
|
| GetAsReal(Int32, Int32) |
Get the cell content associated to the given index (array of reals)
|
|
| GetAsString(Int32) |
Get the cell content associated to the given index (1 dim. array of strings).
|
|
| GetAsString(Int32) |
Get the cell content associated to the given index (array of strings)
|
|
| GetAsString(Int32, Int32) |
Get the cell content associated to the given index (array of strings)
|
|
| GetHashCode | (Overrides ObjectGetHashCode.) | |
| GetType |
Gets the type of the current instance.
(Inherited from Object.) |
|
| GetValue |
Given a list of values (comprising objects of type int, string, bool or double), returns the value at the array index indicated by the value. Note: it is not recommended you call this function within intense loops, as it performs poorly due to the need to look up each index value in each index set for every call.
|
|
| GetValueAsBoolean |
Given a list of values (comprising objects of type int, string, bool or double), returns the boolean value at the array index indicated by the value. Note: it is not recommended you call this function within intense loops, as it performs poorly due to the need to look up each index value in each index set for every call.
|
|
| GetValueAsInteger |
Given a list of values (comprising objects of type int, string, bool or double), returns the integer value at the array index indicated by the value. Note: it is not recommended you call this function within intense loops, as it performs poorly due to the need to look up each index value in each index set for every call.
|
|
| GetValueAsReal |
Given a list of values (comprising objects of type int, string, bool or double), returns the floating point value at the array index indicated by the value. Note: it is not recommended you call this function within intense loops, as it performs poorly due to the need to look up each index value in each index set for every call.
|
|
| GetValueAsString |
Given a list of values (comprising objects of type int, string, bool or double), returns the string value at the array index indicated by the value. Note: it is not recommended you call this function within intense loops, as it performs poorly due to the need to look up each index value in each index set for every call.
|
|
| IndexToString |
Given an array index, this formats the index by each of the index sets
|
|
| LookupIndexValues(Object) |
Given a list of values of the array index (comprising objects of type int, string, bool or double), returns the index set positions for each value.
|
|
| LookupIndexValues(XPRMValue) |
Given an array of XPRMValue[] objects, produce the array index as the offsets into the index sets of this array.
|
|
| MemberwiseClone |
Creates a shallow copy of the current
Object.
(Inherited from Object.) |
|
| NextIndex |
Updates the given index to point to the next defined cell in the array.
|
|
| NextTEIndex |
Updates the given index to point to the next cell in the array.
|
|
| ToString |
Generate a string representation of the cells of the array.
(Overrides XPRMTypedObjectToString.) |
