Loading...
Searching...
No Matches
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:
gams.control.database.GamsEquationRecord gams.control.database.GamsParameterRecord gams.control.database.GamsSetRecord gams.control.database.GamsVariableRecord

Public Member Functions

def key (self, index)
 Retrieve key of GamsSymbolRecord on position index.
 
def move_next (self)
 Iterate to next GamsSymbolRecord of GamsSymbol.
 
def move_previous (self)
 Iterate to previous GamsSymbolRecord of GamsSymbol.
 

Properties

property keys = property(get_keys)
 Retrieve keys of GamsSymbolRecord.
 
property 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()

def gams.control.database._GamsSymbolRecord.key (   self,
  index 
)

Retrieve key of GamsSymbolRecord on position index.

Parameters
indexIndex position of key to be returned
Returns
Key at position index

◆ move_next()

def gams.control.database._GamsSymbolRecord.move_next (   self)

Iterate to next GamsSymbolRecord of GamsSymbol.

Returns
True if everything worked, False otherwise

◆ move_previous()

def gams.control.database._GamsSymbolRecord.move_previous (   self)

Iterate to previous GamsSymbolRecord of GamsSymbol.

Returns
True if everything worked, False otherwise