|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectptolemy.copernicus.c.CodeGenerator
ptolemy.copernicus.c.MainFileGenerator
public class MainFileGenerator
A C code generator for generating the c file containing the wrapper "main" method. This simply does some initialization and calls the main method of the appropriate class, if such a method exists.
| Red (ankush) |
| Red (ankush) |
| Field Summary |
|---|
| Fields inherited from class ptolemy.copernicus.c.CodeGenerator |
|---|
_context, _requiredTypeMap |
| Constructor Summary | |
|---|---|
MainFileGenerator()
Default constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
generate(soot.SootClass source)
Generate the code for the wrapper "main" C function that calls the main method of the appropriate class. |
| Methods inherited from class ptolemy.copernicus.c.CodeGenerator |
|---|
_comment, _generateArrayInstanceDeclarations, _generateIncludeDirectives, _generateMethodHeader, _generateParameterTypeList, _getRequiredIncludeFiles, _indent, _removeRequiredType, _updateRequiredTypes, _warn, setSingleClassMode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MainFileGenerator()
| Method Detail |
|---|
public java.lang.String generate(soot.SootClass source)
generate in class CodeGeneratorsource - The main class.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||