gov.llnl.babel.backend.fortran

Class 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)

Constructor Details

StructModule

public StructModule(LanguageWriterForFortran writer,
                    CodeSplicer splicer,
                    Struct strct,
                    Context context)
            throws NoSuchAlgorithmException

Method Details

generateCode

public void generateCode()
            throws CodeGenerationException

generateCode

public static void generateCode(Struct strct,
                                LanguageWriterForFortran writer,
                                CodeSplicer splicer,
                                Context context)
            throws CodeGenerationException,
                   NoSuchAlgorithmException