|
|||||||||
| 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.ClassStructureGenerator
public class ClassStructureGenerator
A file that generates code for the C structure corresponding to a class.
| Red (ssb) |
| Red ( |
| Field Summary |
|---|
| Fields inherited from class ptolemy.copernicus.c.CodeGenerator |
|---|
_context, _requiredTypeMap |
| Constructor Summary | |
|---|---|
ClassStructureGenerator(Context context)
Default constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
generate(soot.SootClass source)
Generate the structure corresponding to a class. |
java.util.HashSet |
getArrayInstances()
Get the set of Array instances required by the generated class. |
java.util.HashMap |
getRequiredTypeMap()
Get the map of types required by the generated 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 ClassStructureGenerator(Context context)
context - The context to use for the generated code.| Method Detail |
|---|
public java.lang.String generate(soot.SootClass source)
generate in class CodeGeneratorsource - The class.
public java.util.HashSet getArrayInstances()
public java.util.HashMap getRequiredTypeMap()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||