Loading...
Searching...
No Matches
Enumerator for iterating through the records of a specific symbol. This class can be used with all GAMS symbol types.
More...
Inherits IEnumerator.
Enumerator for iterating through the records of a specific symbol. This class can be used with all GAMS symbol types.
◆ GAMSSymbolEnumerator()
GAMS.GAMSSymbolEnumerator.GAMSSymbolEnumerator |
( |
GAMSSymbol |
symbol | ) |
|
|
inline |
Constructor.
- Parameters
-
symbol | The symbol that is bound to this Enumerator |
◆ MoveNext()
bool GAMS.GAMSSymbolEnumerator.MoveNext |
( |
| ) |
|
|
inline |
Moves the enumerator to the next record.
- Returns
- True if the operation is possible, false otherwise.
◆ Reset()
void GAMS.GAMSSymbolEnumerator.Reset |
( |
| ) |
|
|
inline |
Reset the enumerator to its initial state.
◆ Current
Retrieve the current symbol.
- Returns
- The current symbol record. This is an instance of a subclass of GAMSSymbolRecord, namely either GAMSVariableRecord, GAMSEquationRecord, GAMSVariableRecord or GAMSSetRecord.