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, returnClassTYPE_BINARY, TYPE_FUNCTION, TYPE_UNARYCLASS_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, toFormulaStringcreateParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugStringpublic 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)
PtgwriteBytes in class AbstractFunctionPtgpublic int getNumberOfOperands()
OperationPtggetNumberOfOperands in class OperationPtgpublic int getSize()
getSize in class AbstractFunctionPtgpublic String toString()
PtgtoString in class AbstractFunctionPtgCopyright © 2015 Open Microscopy Environment