PyANGKernel.GKODMatrixReaderExternal

class GKODMatrixReaderExternal

Base class for all matrix readers from an external source

Inherited by: GKODMatrixReaderODBC

Synopsis

Methods

Virtual methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

__init__()
getModel()
Return type:

GKModel

Returns the model

abstractmethod read(matrix)
Parameters:

matrixGKODMatrix

Return type:

bool

Reads the trip values and initialises the matrix

setMode(amode)
Parameters:

amodeGKODMatrixStoreId

Sets the storing type, the available values are ID, external ID and name

setModel(amodel)
Parameters:

amodelGKModel

Sets the model. The pointer is not adopted

abstractmethod write(matrix)
Parameters:

matrixGKODMatrix

Return type:

bool

Writes the matrix trips into the external format.