Class EquateSymbol

    • Constructor Detail

      • EquateSymbol

        public EquateSymbol​(long uniqueId,
                            java.lang.String nm,
                            long val,
                            HighFunction func,
                            Address addr,
                            long hash)
      • EquateSymbol

        public EquateSymbol​(long uniqueId,
                            int conv,
                            long val,
                            HighFunction func,
                            Address addr,
                            long hash)
    • Method Detail

      • getValue

        public long getValue()
      • getConvert

        public int getConvert()
      • saveXML

        public void saveXML​(java.lang.StringBuilder buf)
        Description copied from class: HighSymbol
        Save the symbol description as a tag to the XML stream. This does NOT save the mappings.
        Overrides:
        saveXML in class HighSymbol
        Parameters:
        buf - is the XML stream
      • convertName

        public static int convertName​(java.lang.String nm,
                                      long val)
        Determine what format a given equate name is in. Integer format conversions are stored using an Equate object, where the name of the equate is the actual conversion String. So the only way to tell what kind of conversion is being performed is by examining the name of the equate. The format code of the conversion is returned, or if the name is not a conversion, FORMAT_DEFAULT is returned indicating a normal String equate.
        Parameters:
        nm - is the name of the equate
        val - is the value being equated
        Returns:
        the format code for the conversion or FORMAT_DEFAULT if not a conversion