public class FuncVarPtg extends AbstractFunctionPtg
Modifier and Type | Field and Description |
---|---|
static byte |
sid |
ATTR_NAME, field_1_num_args, field_2_fnc_index, functionData, INDEX_EXTERNAL, paramClass, returnClass
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
Constructor and Description |
---|
FuncVarPtg(RecordInputStream in)
Creates new function pointer from a byte array
usually called while reading an excel file.
|
FuncVarPtg(java.lang.String pName,
byte pNumOperands)
Create a function ptg from a string tokenised by the parser
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
getNumberOfOperands()
The number of operands expected by the operations
|
int |
getSize() |
java.lang.String |
toString()
Overridden toString method to ensure object hash is not printed.
|
void |
writeBytes(byte[] array,
int offset)
write this Ptg to a byte array
|
getDefaultOperandClass, getFunctionIndex, getName, getParameterClass, getType, lookupIndex, lookupName, toFormulaString, toFormulaString
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString
public static final byte sid
public FuncVarPtg(RecordInputStream in)
public FuncVarPtg(java.lang.String pName, byte pNumOperands)
public void writeBytes(byte[] array, int offset)
Ptg
writeBytes
in class AbstractFunctionPtg
public int getNumberOfOperands()
OperationPtg
getNumberOfOperands
in class OperationPtg
public int getSize()
getSize
in class AbstractFunctionPtg
public java.lang.String toString()
Ptg
toString
in class AbstractFunctionPtg
Copyright © 2014 Open Microscopy Environment