opatIO-cpp 0.3.0a
Open Parametrized Array Table
|
Using the opatIO-cpp
module we provide a rudimentary fotran interface. Note that this interface does not support all the same feature as the C++ interface and will not recive the same degree of support and development that the C++ and python interfaces will. The Fortran interface is primarily intended for use in legacy code bases.
Below is an example program demonstrating how to use the Fortran interface to load an OPAT file, retrieve a table, and access its data.
load_opat_file
.get_opat_table
, providing an index vector and a tag.row_values
, col_values
, data
).free_opat_file
.error_code
in the returned table structure to ensure the operation was successful.row_values
, col_values
, data
) are associated before accessing them.free_opat_file
to release resources when done.