|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.llnl.babel.backend.ucxx.CxxStubHeader
public class CxxStubHeader
Constructor Summary | |
---|---|
CxxStubHeader(Extendable ext)
Create an object capable of generating the header file for a BABEL extendable. |
|
CxxStubHeader(Extendable ext,
LanguageWriterForCxx writer)
Special constructor for generating super methods for IMPL files. |
Method Summary | |
---|---|
void |
generateCode()
Generate the header file for the extendable with which this object was created. |
static void |
generateSupers(Class cls,
LanguageWriterForCxx writer)
This is a convenience utility function specifically for the generation of super "Stub" functions in the Impl files. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CxxStubHeader(Extendable ext)
ext
- an interface or class symbol that needs a header
file for a Cxx C extension class.public CxxStubHeader(Extendable ext, LanguageWriterForCxx writer)
ext
- an interface or class symbol that needs a header
file for a Cxx C extension class.Method Detail |
---|
public static void generateSupers(Class cls, LanguageWriterForCxx writer) throws CodeGenerationException
methods
- is a collection of super methods to be generated.writer
- the output writer to which the stub source will
be written. This will not be closed.cls
- The class in which these supers are to be generated
CodeGenerationException
- this is a catch all exception. It can be caused by I/O trouble or
violations of the data type invariants.public void generateCode() throws CodeGenerationException
CodeGenerationException
- this is a catch all exception for problems during the code
generation phase.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |