Enum Class SignalCodec

java.lang.Object
java.lang.Enum<SignalCodec>
uk.co.real_logic.sbe.ir.generated.SignalCodec
All Implemented Interfaces:
Serializable, Comparable<SignalCodec>, Constable

public enum SignalCodec extends Enum<SignalCodec>
Token signal type in IR.
  • Enum Constant Details

    • BEGIN_MESSAGE

      public static final SignalCodec BEGIN_MESSAGE
      Signal the beginning of a message.
    • END_MESSAGE

      public static final SignalCodec END_MESSAGE
      Signal the end of a message.
    • BEGIN_COMPOSITE

      public static final SignalCodec BEGIN_COMPOSITE
      Signal the beginning of a composite.
    • END_COMPOSITE

      public static final SignalCodec END_COMPOSITE
      Signal the end of a composite.
    • BEGIN_FIELD

      public static final SignalCodec BEGIN_FIELD
      Signal the beginning of a field.
    • END_FIELD

      public static final SignalCodec END_FIELD
      Signal end beginning of a field.
    • BEGIN_GROUP

      public static final SignalCodec BEGIN_GROUP
      Signal the beginning of a group.
    • END_GROUP

      public static final SignalCodec END_GROUP
      Signal the end of a group.
    • BEGIN_ENUM

      public static final SignalCodec BEGIN_ENUM
      Signal the beginning of a enum.
    • VALID_VALUE

      public static final SignalCodec VALID_VALUE
      Signal a value of an enum.
    • END_ENUM

      public static final SignalCodec END_ENUM
      Signal the end of a enum.
    • BEGIN_SET

      public static final SignalCodec BEGIN_SET
      Signal the beginning of a set.
    • CHOICE

      public static final SignalCodec CHOICE
      Signal the choice in a set.
    • END_SET

      public static final SignalCodec END_SET
      Signal the end of a set.
    • BEGIN_VAR_DATA

      public static final SignalCodec BEGIN_VAR_DATA
      Signal the beginning of variable data.
    • END_VAR_DATA

      public static final SignalCodec END_VAR_DATA
      Signal the end of variable data.
    • ENCODING

      public static final SignalCodec ENCODING
      Signal the encoding of a field.
    • NULL_VAL

      public static final SignalCodec NULL_VAL
      To be used to represent not present or null.
  • Method Details

    • values

      public static SignalCodec[] 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

      public static SignalCodec valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • value

      public short value()
      The raw encoded value in the Java type representation.
      Returns:
      the raw value encoded.
    • get

      public static SignalCodec get(short value)
      Lookup the enum value representing the value.
      Parameters:
      value - encoded to be looked up.
      Returns:
      the enum value representing the value.