Class SignedLeb128DataType

All Implemented Interfaces:
BuiltInDataType, DataType, Dynamic, ExtensionPoint

public class SignedLeb128DataType extends AbstractLeb128DataType
A Signed Little Endian Base 128 integer data type.
  • Field Details

    • dataType

      public static final SignedLeb128DataType dataType
      A statically defined SignedLeb128DataType instance.
  • Constructor Details

    • SignedLeb128DataType

      public SignedLeb128DataType()
      Creates a signed little endian base 128 integer data type.
    • SignedLeb128DataType

      public SignedLeb128DataType(DataTypeManager dtm)
      Creates a signed little endian base 128 integer data type.
      Parameters:
      dtm - the data type manager to associate with this data type.
  • Method Details

    • clone

      public DataType clone(DataTypeManager dtm)
      Description copied from interface: DataType
      Returns an instance of this DataType using the specified DataTypeManager to allow its use of the corresponding DataOrganization while retaining its unique identity (see DataType.getUniversalID() and archive association (see DataType.getSourceArchive()) if applicable.

      This instance will be returned if this datatype's DataTypeManager matches the specified dtm. The recursion depth of a clone will stop on any datatype whose DataTypeManager matches the specified dtm and simply use the existing datatype instance.

      NOTE: In general, this method should not be used to obtain an instance to be modified. In most cases changes shuold be made directly to this instance if supported or to a DataType.copy(DataTypeManager).

      Parameters:
      dtm - the data-type manager instance whose data-organization should apply.
      Returns:
      cloned instance which may be the same as this instance
    • getMnemonic

      public String getMnemonic(Settings settings)
      Description copied from interface: DataType
      Get the mnemonic for this DataType.
      Specified by:
      getMnemonic in interface DataType
      Overrides:
      getMnemonic in class AbstractDataType
      Parameters:
      settings - settings which may influence the result or null
      Returns:
      the mnemonic for this DataType.
    • getDescription

      public String getDescription()
      Description copied from interface: DataType
      Get a String briefly describing this DataType.
      Specified by:
      getDescription in interface DataType
      Overrides:
      getDescription in class AbstractLeb128DataType
      Returns:
      a one-liner describing this DataType.
    • getDefaultLabelPrefix

      public String getDefaultLabelPrefix()
      Description copied from interface: DataType
      Returns the appropriate string to use as the default label prefix in the absence of any data.
      Specified by:
      getDefaultLabelPrefix in interface DataType
      Overrides:
      getDefaultLabelPrefix in class AbstractDataType
      Returns:
      the default label prefix or null if none specified.