public class PtolemyExpressionString
extends java.lang.Object
| Red (tfeng) |
| Yellow (tfeng) |
| Constructor and Description |
|---|
PtolemyExpressionString()
Construct a Ptolemy expression string.
|
PtolemyExpressionString(NamedObj container)
Construct a Ptolemy expression string with the given container as its
scope.
|
PtolemyExpressionString(NamedObj container,
java.lang.String value)
Construct a Ptolemy expression string with the given container as its
scope and the given value as its initial value.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
get()
Get the current value.
|
Token |
getToken()
Evaluate the Ptolemy expression and return the result in a token.
|
void |
set(java.lang.String value)
Set the value.
|
java.lang.String |
toString()
Return the Ptolemy expression in a string.
|
public PtolemyExpressionString()
public PtolemyExpressionString(NamedObj container)
container - The container.public PtolemyExpressionString(NamedObj container, java.lang.String value)
container - The container.value - The initial value.public java.lang.String get()
set(String)public Token getToken() throws IllegalActionException
IllegalActionException - If error occurs in the evaluation.public void set(java.lang.String value)
value - The value.get()public java.lang.String toString()
toString in class java.lang.Object