public class StubHeader
extends java.lang.Object
| Constructor and Description |
|---|
StubHeader(LanguageWriterForC writer)
Create an object to generate the stub code for a sidl class/interface.
|
| Modifier and Type | Method and Description |
|---|---|
void |
generateCode(Symbol symbol)
Generate a C (.h) file to provide other stubs with certain functions
that must be available globally.
|
static void |
generateCode(Symbol ext,
LanguageWriterForC writer)
Generate a C (.h) file to provide other stubs with certain functions
that must be available globally.
|
public StubHeader(LanguageWriterForC writer)
generateCode rather than used directly.writer - the stub code is generated to this output device.public void generateCode(Symbol symbol) throws CodeGenerationException
symbol - the symbol for which stubs will be generated.CodeGenerationException - a catch all exception to indicate problems during the code generation
phase of the sidl processing.public static void generateCode(Symbol ext, LanguageWriterForC writer) throws CodeGenerationException
ext - the symbol for which stubs will be generated.writer - the output device where the stub should be written.CodeGenerationException - a catch all exception to indicate problems during the code generation
phase of the sidl processing.