gams.database._GamsSymbolRecord Class Reference

This is the representation of a single record of a GamsSymbol. More...

Inheritance diagram for gams.database._GamsSymbolRecord:
gams.database.GamsEquationRecord gams.database.GamsParameterRecord gams.database.GamsSetRecord gams.database.GamsVariableRecord

Public Member Functions

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

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()

def gams.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.database._GamsSymbolRecord.move_next (   self)

Iterate to next GamsSymbolRecord of GamsSymbol.

Returns
True if everything worked, False otherwise

◆ move_previous()

def gams.database._GamsSymbolRecord.move_previous (   self)

Iterate to previous GamsSymbolRecord of GamsSymbol.

Returns
True if everything worked, False otherwise