public final class AttrPtg extends ControlPtg
Modifier and Type | Class and Description |
---|---|
static class |
AttrPtg.SpaceType |
Modifier and Type | Field and Description |
---|---|
static byte |
sid |
static AttrPtg |
SUM |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Constructor and Description |
---|
AttrPtg(LittleEndianInput in) |
Modifier and Type | Method and Description |
---|---|
static AttrPtg |
createIf(int dist) |
static AttrPtg |
createSkip(int dist) |
static AttrPtg |
createSpace(int type,
int count) |
int |
getChooseFuncOffset() |
short |
getData() |
int[] |
getJumpTable() |
int |
getNumberOfOperands() |
int |
getSize() |
static AttrPtg |
getSumSingle() |
int |
getType() |
boolean |
isOptimizedChoose() |
boolean |
isOptimizedIf() |
boolean |
isSemiVolatile() |
boolean |
isSkip() |
boolean |
isSpace() |
boolean |
isSum() |
java.lang.String |
toFormulaString()
return a string representation of this token alone
|
java.lang.String |
toFormulaString(java.lang.String[] operands) |
java.lang.String |
toString()
Overridden toString method to ensure object hash is not printed.
|
void |
write(LittleEndianOutput out) |
getDefaultOperandClass, isBaseToken
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass
public static final byte sid
public static final AttrPtg SUM
public AttrPtg(LittleEndianInput in)
public static AttrPtg createSpace(int type, int count)
type
- a constant from SpaceTypecount
- the number of space characterspublic static AttrPtg createIf(int dist)
dist
- distance (in bytes) to start of either public static AttrPtg createSkip(int dist)
dist
- distance (in bytes) to position behind tFuncVar(IF) token (minus 1)public static AttrPtg getSumSingle()
public boolean isSemiVolatile()
public boolean isOptimizedIf()
public boolean isOptimizedChoose()
public boolean isSum()
public boolean isSkip()
public boolean isSpace()
public short getData()
public int[] getJumpTable()
public int getChooseFuncOffset()
public java.lang.String toString()
Ptg
public void write(LittleEndianOutput out)
public int getSize()
public java.lang.String toFormulaString(java.lang.String[] operands)
public int getNumberOfOperands()
public int getType()
public java.lang.String toFormulaString()
Ptg
toFormulaString
in class Ptg
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.