Class FuncVarPtg


  • public class FuncVarPtg
    extends AbstractFunctionPtg
    Author:
    Jason Height (jheight at chariot dot net dot au)
    • Constructor Detail

      • FuncVarPtg

        public FuncVarPtg​(RecordInputStream in)
        Creates new function pointer from a byte array usually called while reading an excel file.
      • FuncVarPtg

        public FuncVarPtg​(String pName,
                          byte pNumOperands)
        Create a function ptg from a string tokenised by the parser
    • Method Detail

      • writeBytes

        public void writeBytes​(byte[] array,
                               int offset)
        Description copied from class: Ptg
        write this Ptg to a byte array
        Specified by:
        writeBytes in class AbstractFunctionPtg
      • toString

        public String toString()
        Description copied from class: Ptg
        Overridden toString method to ensure object hash is not printed. This helps get rid of gratuitous diffs when comparing two dumps Subclasses may output more relevant information by overriding this method
        Overrides:
        toString in class AbstractFunctionPtg