| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.llnl.babel.backend.python.PythonClientC
gov.llnl.babel.backend.python.PythonClientCSource
public class PythonClientCSource
This class will write the C source file for a Python C extension module to provide access from Python to a class or interface.
| Field Summary | 
|---|
| Fields inherited from class gov.llnl.babel.backend.python.PythonClientC | 
|---|
| d_context, d_lw, d_shortName, d_sym | 
| Constructor Summary | |
|---|---|
| PythonClientCSource(Extendable ext,
                    Context context)Create an object capable of generating the source C file for a sidl extendable (ie class or interface). | |
| Method Summary | |
|---|---|
|  void | generateCode()Generate the source file for the extendable with which this object was created. | 
| Methods inherited from class gov.llnl.babel.backend.python.PythonClientC | 
|---|
| addInclude, copyComment, explainExtensionSource, getName, pythonDocComment | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public PythonClientCSource(Extendable ext,
                           Context context)
ext - an interface or class that needs a header
               file for a Python C extension class.| Method Detail | 
|---|
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 | ||||||||