public class SharedFormulaRecord extends Record
Note: the documentation says that the SID is BC where biffviewer reports 4BC. The hex dump shows that the two byte sid representation to be 'BC 04' that is consistent with the other high byte record types.
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
SharedFormulaRecord() |
SharedFormulaRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
void |
convertSharedFormulaRecord(FormulaRecord formula)
Creates a non shared formula from the shared formula counter part
|
protected void |
fillFields(RecordInputStream in)
Shared formulas are to treated like unknown records, and as a result d
|
short |
getExpressionLength() |
short |
getFirstColumn() |
int |
getFirstRow() |
short |
getLastColumn() |
int |
getLastRow() |
int |
getRecordSize()
gives the current serialized size of the record.
|
short |
getSid()
return the non static version of the id for this record.
|
boolean |
isFormulaInShared(FormulaRecord formula) |
boolean |
isInValueSection()
Mirroring formula records so it is registered in the ValueRecordsAggregate
|
boolean |
isValue()
Register it in the ValueRecordsAggregate so it can go into the FormulaRecordAggregate
|
int |
serialize(int offset,
byte[] data)
spit the record out AS IS.
|
java.lang.String |
toString()
print a sort of string representation ([SHARED FORMULA RECORD] id = x [/SHARED FORMULA RECORD])
|
protected void |
validateSid(short id)
called by constructor, should throw runtime exception in the event of a
record passed with a differing ID.
|
public static final short sid
public SharedFormulaRecord()
public SharedFormulaRecord(RecordInputStream in)
in
- the RecordInputstream to read the record fromprotected void validateSid(short id)
Record
validateSid
in class Record
id
- alleged id for this recordpublic int getFirstRow()
public int getLastRow()
public short getFirstColumn()
public short getLastColumn()
public short getExpressionLength()
public int serialize(int offset, byte[] data)
public int getRecordSize()
Record
getRecordSize
in class Record
public java.lang.String toString()
public short getSid()
Record
protected void fillFields(RecordInputStream in)
fillFields
in class Record
in
- the RecordInputstream to read the record frompublic boolean isFormulaInShared(FormulaRecord formula)
public void convertSharedFormulaRecord(FormulaRecord formula)
public boolean isInValueSection()
isInValueSection
in class Record
public boolean isValue()
Copyright © 2014 Open Microscopy Environment