Class UnsignedCharDataType

    • 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 an instance of this DataType with its universalID and SourceArchive identity retained.

        The current instanceof 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.

        Specified by:
        clone in interface DataType
        Overrides:
        clone in class CharDataType
        Parameters:
        dtm - the data-type manager instance whose data-organization should apply.
        Returns:
        cloned instance which may be the same as this instance
      • 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.