Package | Description |
---|---|
ptolemy.actor.lib.conversions |
Actors that convert between different types.
|
ptolemy.actor.lib.conversions.json |
The ptolemy.actor.lib.conversions.json package.
|
Modifier and Type | Class and Description |
---|---|
class |
AnythingToDouble
Deprecated.
Use ptolemy.actor.lib.conversions.ExpressionToToken or StringToDouble.
|
class |
BooleanToAnything
This actor converts a boolean input token into any data type.
|
class |
DateToString
Convert a date to a string.
|
class |
DoubleToFix
This actor converts a DoubleToken to a FixToken with a specified
precision.
|
class |
ExpressionToToken
This actor reads a string expression from the input port and outputs
the token resulting from the evaluation.
|
class |
FixToDouble
This actor converts a FixToken into a DoubleToken.
|
class |
FixToFix
This actor converts a FixToken into another FixToken with a specified
precision.
|
class |
ImageToString
Convert an AWT Image to a base-64 String.
|
class |
LongToDate
Convert a long to a date.
|
class |
LongToDouble
This actor converts a LongToken into a DoubleToken.
|
class |
SmoothToDouble
Convert a
SmoothToken (one that has a double value and an array of
derivatives) to a DoubleToken, discarding the derivative information. |
class |
StringToBoolean
Convert a string to a boolean.
|
class |
StringToDate
Convert a string to a double.
|
class |
StringToDouble
Convert a string to a double.
|
class |
StringToInt
Convert a StringToken to an IntToken.
|
class |
StringToUnsignedByteArray
Convert a string to an array of unsigned byte.
|
class |
TokenToExpression
This actor reads a token from the input port and outputs a string token
whose value is an expression that can be parsed to yield the input token.
|
class |
UnsignedByteArrayToString
Convert an array of bytes into a string.
|
Modifier and Type | Class and Description |
---|---|
class |
JSONToToken
An actor that converts a string containing JSON-formatted data into a Token.
|
class |
TokenToJSON
An actor that converts a Token into a StringToken containing JSON-formatted
data.
|