Class FuncVarPtg


public final class FuncVarPtg extends AbstractFunctionPtg
Author:
Jason Height (jheight at chariot dot net dot au)
  • Field Details

    • sid

      public static final byte sid
      See Also:
    • SUM

      public static final OperationPtg SUM
      Single instance of this token for 'sum() taking a single argument'
  • Method Details

    • create

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

      public static FuncVarPtg create(String pName, int numArgs)
      Create a function ptg from a string tokenised by the parser
    • write

      public void write(LittleEndianOutput out)
      Specified by:
      write in class Ptg
    • getSize

      public int getSize()
      Specified by:
      getSize in class AbstractFunctionPtg
      Returns:
      the encoded length of this Ptg, including the initial Ptg type identifier byte.