public class fSkelSource
extends java.lang.Object
Constructor and Description |
---|
fSkelSource(LanguageWriterForFortran writer,
Context context)
Create an object to generate the skeleton code in Fortran for a FORTRAN
object.
|
Modifier and Type | Method and Description |
---|---|
void |
generateCode(Extendable ext)
This method creates a skeleton file for a class.
|
static void |
generateCode(Extendable ext,
LanguageWriterForFortran writer,
Context context)
This is a convenience routine to create a skeleton file for a class
without having to make an instance of
SkelSource . |
public fSkelSource(LanguageWriterForFortran writer, Context context) throws java.security.NoSuchAlgorithmException
writer
- the skeleton code is written to this device.java.security.NoSuchAlgorithmException
- problem with the name mangler.public static void generateCode(Extendable ext, LanguageWriterForFortran writer, Context context) throws CodeGenerationException, java.security.NoSuchAlgorithmException
SkelSource
. The
skeleton file is a C module that is the glue between the IOR and
the implementation of a class written in FORTRAN.cls
- the class for whom a skeleton will be made.writer
- the output device where the skeleton file will be
sent.CodeGenerationException
- a catch all exception to indicate problems in the code generation
phase.java.security.NoSuchAlgorithmException
- problem with the name mangler.public void generateCode(Extendable ext) throws CodeGenerationException
cls
- the class to create.CodeGenerationException
- a catch all exception to indicate problems in the code generation
phase.