public final class BlockHeader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
count
Number of events in block.
|
(package private) int |
currentEventIndex
The index into the "events" list of the element that
is currently being looked at (starting at 0).
|
(package private) java.lang.String |
error
Contains description of any error in block's data.
|
(package private) java.util.ArrayList<EvioHeader> |
events
If error somewhere in this block, store reference to each contained event.
|
(package private) long |
filePos
Position of block in file.
|
(package private) boolean |
hasDictionary
Block has dictionary event.
|
(package private) int |
headerLen
Block's header length value (32-bit words).
|
(package private) int |
infoWord
Word containing version, hasDictionary, and is Last info.
|
(package private) boolean |
isLast
Is last block in file.
|
(package private) long |
len
Block's length value (32-bit words).
|
(package private) static int |
MAGIC_INT |
(package private) int |
place
Place of this block in file/buffer or block number.
|
(package private) int |
version
Evio version.
|
Constructor and Description |
---|
BlockHeader() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
setData(int[] blockInts)
Set members given an array containing the block header values.
|
(package private) void |
setInfoWord(int infoWord)
Given the info word, set version, isLast, and hasDictionary values.
|
static int MAGIC_INT
long len
int headerLen
int count
long filePos
int place
int infoWord
int version
boolean hasDictionary
boolean isLast
java.lang.String error
int currentEventIndex
final java.util.ArrayList<EvioHeader> events
void setInfoWord(int infoWord)
infoWord
- info word of block headervoid setData(int[] blockInts)
blockInts
- array containing the block header values in proper order.