public class AttrPtg extends OperationPtg
Modifier and Type | Field and Description |
---|---|
static byte |
sid |
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
Constructor and Description |
---|
AttrPtg() |
AttrPtg(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
short |
getData() |
byte |
getDefaultOperandClass() |
int |
getNumberOfOperands()
The number of operands expected by the operations
|
byte |
getOptions() |
int |
getSize() |
int |
getType() |
boolean |
isBaxcel() |
boolean |
isGoto() |
boolean |
isOptimizedChoose() |
boolean |
isOptimizedIf() |
boolean |
isSemiVolatile() |
boolean |
isSpace() |
boolean |
isSum() |
void |
setData(short data) |
void |
setGoto(boolean isGoto)
Flags this ptg as a goto/jump
|
void |
setOptimizedIf(boolean bif) |
void |
setOptions(byte options) |
void |
setSum(boolean bsum) |
java.lang.String |
toFormulaString(java.lang.String[] operands)
returns a string representation of the operations
the length of the input array should equal the number returned by
|
java.lang.String |
toFormulaString(Workbook book)
return a string representation of this token alone
|
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
|
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString
public static final byte sid
public AttrPtg()
public AttrPtg(RecordInputStream in)
public void setOptions(byte options)
public byte getOptions()
public boolean isSemiVolatile()
public boolean isOptimizedIf()
public boolean isOptimizedChoose()
public boolean isGoto()
public boolean isSum()
public void setSum(boolean bsum)
public void setOptimizedIf(boolean bif)
public void setGoto(boolean isGoto)
isGoto
- public boolean isBaxcel()
public boolean isSpace()
public void setData(short data)
public short getData()
public java.lang.String toString()
Ptg
public void writeBytes(byte[] array, int offset)
Ptg
writeBytes
in class Ptg
public java.lang.String toFormulaString(java.lang.String[] operands)
OperationPtg
toFormulaString
in class OperationPtg
OperationPtg.getNumberOfOperands()
public int getNumberOfOperands()
OperationPtg
getNumberOfOperands
in class OperationPtg
public int getType()
getType
in class OperationPtg
public java.lang.String toFormulaString(Workbook book)
Ptg
toFormulaString
in class Ptg
public byte getDefaultOperandClass()
getDefaultOperandClass
in class OperationPtg
Copyright © 2014 Open Microscopy Environment