gams.control.database._GamsSymbolRecord Class Reference
This is the representation of a single record of a GamsSymbol. More...
Inheritance diagram for gams.control.database._GamsSymbolRecord:
Public Member Functions | |
| key (self, index) | |
| Retrieve key of GamsSymbolRecord on position index. | |
| move_next (self) | |
| Iterate to next GamsSymbolRecord of GamsSymbol. | |
| move_previous (self) | |
| Iterate to previous GamsSymbolRecord of GamsSymbol. | |
Properties | |
| keys = property(get_keys) | |
| Retrieve keys of GamsSymbolRecord. | |
| symbol = property(get_symbol) | |
| Retrieve the GamsSymbol that contains this record. | |
Detailed Description
This is the representation of a single record of a GamsSymbol.
Derived classes are GamsEquationRecord, GamsParameterRecord, GamsSetRecord and GamsVariableRecord
Member Function Documentation
◆ key()
| gams.control.database._GamsSymbolRecord.key | ( | self, | |
| index ) |
Retrieve key of GamsSymbolRecord on position index.
- Parameters
-
index Index position of key to be returned
- Returns
- Key at position index
◆ move_next()
| gams.control.database._GamsSymbolRecord.move_next | ( | self | ) |
Iterate to next GamsSymbolRecord of GamsSymbol.
- Returns
- True if everything worked, False otherwise
◆ move_previous()
| gams.control.database._GamsSymbolRecord.move_previous | ( | self | ) |
Iterate to previous GamsSymbolRecord of GamsSymbol.
- Returns
- True if everything worked, False otherwise