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, returnClassTYPE_BINARY, TYPE_FUNCTION, TYPE_UNARYCLASS_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(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, toFormulaStringcreateParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugStringpublic static final byte sid
public FuncVarPtg(RecordInputStream in)
public FuncVarPtg(String pName, byte pNumOperands)
public void writeBytes(byte[] array,
int offset)
PtgwriteBytes in class AbstractFunctionPtgpublic int getNumberOfOperands()
OperationPtggetNumberOfOperands in class OperationPtgpublic int getSize()
getSize in class AbstractFunctionPtgpublic String toString()
PtgtoString in class AbstractFunctionPtgCopyright © 2014 Open Microscopy Environment