|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.llnl.babel.backend.fortran.GenerateClient
public class GenerateClient
This class implements the CodeGenerator
interface for the FORTRAN client side code generator.
This generator creates C source code to provide the glue between
FORTRAN clients and the IOR.
Constructor Summary | |
---|---|
GenerateClient()
Create a new instance. |
Method Summary | |
---|---|
void |
generateCode(java.util.Set symbols)
Given a set of symbol ids, this method will generate FORTRAN stubs (written in C) for all the symbols in the set as needed. |
java.util.Set |
getLanguages()
Return the set of language names that this generator supports. |
java.lang.String |
getType()
Return the type of generator. |
boolean |
getUserSymbolsOnly()
Return true if and only if this code factory should
only operate on symbols outside the sidl namespace (i.e., exclude
symbols from the sidl runtime library). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenerateClient()
Method Detail |
---|
public void generateCode(java.util.Set symbols) throws CodeGenerationException
generateCode
in interface CodeGenerator
symbols
- a set of symbol id (symbol names) for whom stubs
should be written as needed. Each object in the
set should be a SymbolID
.
CodeGenerationException
- a catch all exception to indicate problems in the code generation
phase.public java.lang.String getType()
CodeGenerator
getType
in interface CodeGenerator
public boolean getUserSymbolsOnly()
CodeGenerator
true
if and only if this code factory should
only operate on symbols outside the sidl namespace (i.e., exclude
symbols from the sidl runtime library). This is typically true
for C and Python where the stubs for the sidl runtime library
are pregenerated. Generally, this should be true
for
anything other than a stub. Implementors do not need to worry
about the special case of generating the sidl runtime library
itself.
getUserSymbolsOnly
in interface CodeGenerator
public java.util.Set getLanguages()
CodeGenerator
getLanguages
in interface CodeGenerator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |