public class FuncVarPtg extends AbstractFunctionPtg
Modifier and Type | Field and Description |
---|---|
static byte |
sid |
private static int |
SIZE |
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
Modifier | Constructor and Description |
---|---|
private |
FuncVarPtg() |
|
FuncVarPtg(RecordInputStream in)
Creates new function pointer from a byte array
usually called while reading an excel file.
|
|
FuncVarPtg(String pName,
byte pNumOperands)
Create a function ptg from a string tokenised by the parser
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
getNumberOfOperands()
The number of operands expected by the operations
|
int |
getSize() |
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
private static final int SIZE
private FuncVarPtg()
public FuncVarPtg(RecordInputStream in)
public FuncVarPtg(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 String toString()
Ptg
toString
in class AbstractFunctionPtg
Copyright © 2016 Open Microscopy Environment