gov.llnl.babel.backend.ucxx
public class CxxImplHeader extends java.lang.Object
PyObject
is an instance of this extension type, and
an import macro.Constructor and Description |
---|
CxxImplHeader(Extendable ext,
Context context)
Create an object capable of generating the header file for a
BABEL extendable.
|
Modifier and Type | Method and Description |
---|---|
void |
addSplicerBlock(java.lang.String ext,
java.lang.String defComment)
Add splicer block.
|
void |
generateCode()
Generate the header file for the extendable with which this object was
created.
|
public CxxImplHeader(Extendable ext, Context context)
ext
- an interface or class symbol that needs a header
file for a Cxx C extension class.public void addSplicerBlock(java.lang.String ext, java.lang.String defComment)
ext
- splicer block-specific name extension.defComment
- Default comment.public void generateCode() throws CodeGenerationException
CodeGenerationException
- this is a catch all exception for problems during the code
generation phase.