Class UnsignedCharDataType

  • All Implemented Interfaces:
    ArrayStringable, BuiltInDataType, DataType, DataTypeWithCharset, ExtensionPoint, java.util.EventListener, javax.swing.event.ChangeListener

    public class UnsignedCharDataType
    extends CharDataType
    Provides a definition of a primitive unsigned char data type. While in most environment the size is one 8-bit byte, this can vary based upon data organization imposed by the associated data type manager.
    • Constructor Detail

      • UnsignedCharDataType

        public UnsignedCharDataType()
        Constructs a new unsigned char datatype.
      • UnsignedCharDataType

        public UnsignedCharDataType​(DataTypeManager dtm)
    • Method Detail

      • getDescription

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

        public UnsignedCharDataType clone​(DataTypeManager dtm)
        Description copied from interface: DataType
        Returns a new instance of this DataType with its universalID and SourceArchive identity retained. Note: for built-in DataType's, clone and copy should have the same affect.
        Specified by:
        clone in interface DataType
        Overrides:
        clone in class CharDataType
        Parameters:
        dtm - the data-type manager instance whose data-organization should apply.
      • getDefaultLabelPrefix

        public java.lang.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 CharDataType
        Returns:
        the default label prefix or null if none specified.
      • getCDeclaration

        public java.lang.String getCDeclaration()
        Description copied from class: CharDataType
        Returns the C style data-type declaration for this data-type. Null is returned if no appropriate declaration exists.
        Overrides:
        getCDeclaration in class CharDataType
        Returns:
        the C style data-type declaration for this data-type. Null is returned if no appropriate declaration exists.