gov.llnl.babel.backend.fortran
Class ArrayModule

java.lang.Object
  extended by gov.llnl.babel.backend.fortran.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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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

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
Method Detail

generateStub

public void generateStub()
                  throws CodeGenerationException
Throws:
CodeGenerationException