
Public Member Functions | |
| CValueReal (double d) | |
| Constructor. | |
| int | intValue () |
| Convert to int. | |
| double | realValue () |
| Convert to double. | |
| CValue | convertReal () |
| Convert to CValueReal. | |
| String | stringValue () |
| Convert to string. | |
| FLitExp | buildLiteral () |
| Create a new literal expression AST node. | |
| boolean | isNumeric () |
| Returns true if the constant value is of numeric type. | |
class :0
| org.jmodelica.modelica.compiler.CValueReal.CValueReal | ( | double | d | ) |
Constructor.
| d | Double value. |
| FLitExp org.jmodelica.modelica.compiler.CValueReal.buildLiteral | ( | ) |
Create a new literal expression AST node.
Reimplemented from org.jmodelica.modelica.compiler.CValue.
| CValue org.jmodelica.modelica.compiler.CValueReal.convertReal | ( | ) |
| int org.jmodelica.modelica.compiler.CValueReal.intValue | ( | ) |
Convert to int.
Reimplemented from org.jmodelica.modelica.compiler.CValue.
| boolean org.jmodelica.modelica.compiler.CValueReal.isNumeric | ( | ) |
Returns true if the constant value is of numeric type.
Reimplemented from org.jmodelica.modelica.compiler.CValue.
| double org.jmodelica.modelica.compiler.CValueReal.realValue | ( | ) |
Convert to double.
Reimplemented from org.jmodelica.modelica.compiler.CValue.
| String org.jmodelica.modelica.compiler.CValueReal.stringValue | ( | ) |
Convert to string.
Reimplemented from org.jmodelica.modelica.compiler.CValue.
1.5.8