fgen.wrapper_building.fortran_manager_module#
Generation of the Fortran manager module
FortranManagerModuleBuilder#
- class FortranManagerModuleBuilder(package, module, shared)[source]#
Bases:
object
Builder of Fortran manager modules
-
module:
fgen.data_models.module.Module
# Module for which to build the wrapper
-
package:
fgen.data_models.package.Package
# Package for which the builder is building wrappers
Elements which have to be shared across the package
For example, the names of functions which are used in more than one wrapper module.
-
module:
generate_fortran_manager_module#
- generate_fortran_manager_module(builder)[source]#
Generate the Fortran manager module
- Parameters:
builder (
fgen.wrapper_building.fortran_manager_module.FortranManagerModuleBuilder
) – Builder to use to generate the Fortran manager module- Returns:
str
– Fortran manager module as code