|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectptolemy.codegen.java.kernel.JavaCodegenUtilities
public class JavaCodegenUtilities
A utility class used to simplify creating c templates in EmbeddedCActors.
| red (tbf) |
| Constructor Summary | |
|---|---|
JavaCodegenUtilities()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getDefineBlock(java.lang.String constant,
java.lang.String value)
Return a code block to define a constant. |
static java.lang.String |
getIncludeBlock(java.lang.String file,
java.lang.String constant)
Return a code block to include a file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaCodegenUtilities()
| Method Detail |
|---|
public static java.lang.String getDefineBlock(java.lang.String constant,
java.lang.String value)
constant - The name of the constant.value - The value of the constant.
public static java.lang.String getIncludeBlock(java.lang.String file,
java.lang.String constant)
file - The name of the file.constant - The name of the constant to check to see if the file
has already been included.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||