Enum MathOperation.ElementType

java.lang.Object
java.lang.Enum<MathOperation.ElementType>
org.yamcs.xtce.MathOperation.ElementType
All Implemented Interfaces:
Serializable, Comparable<MathOperation.ElementType>
Enclosing class:
MathOperation

public static enum MathOperation.ElementType extends Enum<MathOperation.ElementType>
  • Enum Constant Details

    • VALUE_OPERAND

      public static final MathOperation.ElementType VALUE_OPERAND
      Use a constant in the calculation.
    • THIS_PARAMETER_OPERAND

      public static final MathOperation.ElementType 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

      public static final MathOperation.ElementType PARAMETER_INSTANCE_REF_OPERAND
      This element is used to reference the last received/assigned value of any Parameter in this math operation.
    • OPERATOR

      public static final MathOperation.ElementType 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

      public static MathOperation.ElementType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MathOperation.ElementType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • xtceName

      public String xtceName()