public class AttrPtg extends OperationPtg
| Modifier and Type | Field and Description |
|---|---|
private BitField |
baxcel |
private byte |
field_1_options |
private short |
field_2_data |
private BitField |
optGoto |
private BitField |
optiChoose |
private BitField |
optiIf |
private BitField |
semiVolatile |
static byte |
sid |
private static int |
SIZE |
private BitField |
space |
private BitField |
sum |
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARYCLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass| Constructor and Description |
|---|
AttrPtg() |
AttrPtg(RecordInputStream in) |
| Modifier and Type | Method and Description |
|---|---|
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) |
String |
toFormulaString(String[] operands)
returns a string representation of the operations
the length of the input array should equal the number returned by
|
String |
toFormulaString(Workbook book)
return a string representation of this token alone
|
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, toDebugStringpublic static final byte sid
private static final int SIZE
private byte field_1_options
private short field_2_data
private BitField semiVolatile
private BitField optiIf
private BitField optiChoose
private BitField optGoto
private BitField sum
private BitField baxcel
private BitField space
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 String toString()
Ptgpublic void writeBytes(byte[] array,
int offset)
PtgwriteBytes in class Ptgpublic String toFormulaString(String[] operands)
OperationPtgtoFormulaString in class OperationPtgOperationPtg.getNumberOfOperands()public int getNumberOfOperands()
OperationPtggetNumberOfOperands in class OperationPtgpublic int getType()
getType in class OperationPtgpublic String toFormulaString(Workbook book)
PtgtoFormulaString in class Ptgpublic byte getDefaultOperandClass()
getDefaultOperandClass in class OperationPtgCopyright © 2015 Open Microscopy Environment