gov.llnl.babel.backend.fortran
Class StructModule

java.lang.Object
  extended by gov.llnl.babel.backend.fortran.StructModule

public class StructModule
extends java.lang.Object

This class provides the ability to write a BIND(C) module file containing the derived type defined in the SIDL file.


Constructor Summary
StructModule(LanguageWriterForFortran writer, CodeSplicer splicer, Struct strct, Context context)
           
 
Method Summary
 void generateCode()
           
static void generateCode(Struct strct, LanguageWriterForFortran writer, CodeSplicer splicer, Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructModule

public StructModule(LanguageWriterForFortran writer,
                    CodeSplicer splicer,
                    Struct strct,
                    Context context)
             throws java.security.NoSuchAlgorithmException
Throws:
java.security.NoSuchAlgorithmException
Method Detail

generateCode

public void generateCode()
                  throws CodeGenerationException
Throws:
CodeGenerationException

generateCode

public static void generateCode(Struct strct,
                                LanguageWriterForFortran writer,
                                CodeSplicer splicer,
                                Context context)
                         throws CodeGenerationException,
                                java.security.NoSuchAlgorithmException
Throws:
CodeGenerationException
java.security.NoSuchAlgorithmException