Package org.yamcs.xtce
Enum Class MathOperation.ElementType
- All Implemented Interfaces:
Serializable
,Comparable<MathOperation.ElementType>
,Constable
- Enclosing class:
- MathOperation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll operators utilize operands on the top values in the stack and leaving the result on the top of the stack.This element is used to reference the last received/assigned value of any Parameter in this math operation.Use the value of this parameter in the calculation.Use a constant in the calculation. -
Method Summary
Modifier and TypeMethodDescriptionstatic MathOperation.ElementType
Returns the enum constant of this class with the specified name.static MathOperation.ElementType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.xtceName()
-
Enum Constant Details
-
VALUE_OPERAND
Use a constant in the calculation. -
THIS_PARAMETER_OPERAND
Use the value of this parameter in the calculation. It is the calibrator's value only. If the raw value is needed, specify it explicitly using ParameterInstanceRefOperand. Note this element has no content. -
PARAMETER_INSTANCE_REF_OPERAND
This element is used to reference the last received/assigned value of any Parameter in this math operation. -
OPERATOR
All operators utilize operands on the top values in the stack and leaving the result on the top of the stack. Ternary operators utilize the top three operands on the stack, binary operators utilize the top two operands on the stack, and unary operators use the top operand on the stack.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
xtceName
-