|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.llnl.babel.backend.c.GenerateClientC
Class GenerateClientC is the main entry point for the C
client-side code generation routines. This class generates the header
and the stub files. It is assumed that all symbols necessary to generate
C code are available in the symbol table.
| Constructor Summary | |
GenerateClientC()
The constructor does nothing interesting. |
|
| Method Summary | |
void |
generateCode(java.util.Set symbols)
Generate C client-side code for each symbol identifier in the set argument. |
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 GenerateClientC()
GenerateClientC class is generateCode.
| Method Detail |
public void generateCode(java.util.Set symbols)
throws CodeGenerationException
generateCode in interface CodeGeneratorsymbols - a set of Symbol
instances. The generator is expetected to write code for each symbol.
CodeGenerationException - this indicates that something failed during the code generation.
It could be anything from an I/O error to a illegal data type.public java.lang.String getType()
CodeGenerator
getType in interface CodeGeneratorpublic boolean getUserSymbolsOnly()
CodeGeneratortrue 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 CodeGeneratorpublic 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 | |||||||||