gov.llnl.babel.backend.python
public class PythonClientCSource extends PythonClientC
d_context, d_lw, d_shortName, d_sym
Constructor and Description |
---|
PythonClientCSource(Extendable ext,
Context context)
Create an object capable of generating the source C file for a
sidl extendable (ie class or interface).
|
Modifier and Type | Method and Description |
---|---|
void |
copyInheritedStatics() |
void |
generateCode()
Generate the source file for the extendable with which this object was
created.
|
void |
writeInheritedStatics() |
addInclude, copyComment, explainExtensionSource, getName, pythonDocComment
public PythonClientCSource(Extendable ext, Context context)
ext
- an interface or class that needs a header
file for a Python C extension class.public void writeInheritedStatics()
public void copyInheritedStatics()
public void generateCode() throws CodeGenerationException
CodeGenerationException
- this is a catch all exception for problems during the code
generation phase.