public class FuncPtg extends AbstractFunctionPtg
Modifier and Type | Field and Description |
---|---|
private int |
numParams |
static byte |
sid |
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 |
FuncPtg()
FuncPtgs are defined to be 4 bytes but the actual FuncPtg uses only 2 bytes.
|
|
FuncPtg(RecordInputStream in)
Creates new function pointer from a byte array
usually called while reading an excel file.
|
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
public static final int SIZE
private int numParams
private FuncPtg()
If the leftovers are removed, a prompt "Warning: Data may have been lost occurs in Excel"
public FuncPtg(RecordInputStream in)
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 © 2015 Open Microscopy Environment