gov.llnl.babel.backend.fortran

Class ArrayModule


public class ArrayModule
extends java.lang.Object

Create a FORTRAN 90 module to provide client-side bindings for arrays of classes and interfaces.

Constructor Summary

ArrayModule(LanguageWriterForFortran lw, Context context)
SPECIAL CONSTRUCTOR for creating the GENERIC ARRAY MODULE.
ArrayModule(SymbolID id, int type, LanguageWriterForFortran lw, Context context)
Create an object to create a FORTRAN 90 module to provide client-side bindings for arrays of classes, interfaces, and enumerated types.

Method Summary

void
generateStub()

Constructor Details

ArrayModule

public ArrayModule(LanguageWriterForFortran lw,
                   Context context)
            throws CodeGenerationException
SPECIAL CONSTRUCTOR for creating the GENERIC ARRAY MODULE. DO NOT CALL FOR ANY OTHER REASON!
Parameters:
lw - here is where the file is created.
Throws:
CodeGenerationException - this means the arguments were incorrect

ArrayModule

public ArrayModule(SymbolID id,
                   int type,
                   LanguageWriterForFortran lw,
                   Context context)
            throws CodeGenerationException
Create an object to create a FORTRAN 90 module to provide client-side bindings for arrays of classes, interfaces, and enumerated types.
Parameters:
id - the array module should be created for this id. This can be a real id or a fake id (for sidl.double and the like).
type - this should be a constant from Type. It indicates the type of id.
lw - here is where the file is created.
Throws:
CodeGenerationException - this means the arguments were incorrect

Method Details

generateStub

public void generateStub()
            throws CodeGenerationException