|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jlab.coda.jevio.BaseStructureHeader
org.jlab.coda.jevio.BankHeader
public final class BankHeader
This the header for an evio bank structure (EvioBank). It does not contain the raw data, just the
header. Note: since an "event" is really just the outermost bank, this is also the header for an
EvioEvent.
| Constructor Summary | |
|---|---|
BankHeader()
Null constructor. |
|
BankHeader(int tag,
DataType dataType,
int num)
Constructor |
|
| Method Summary | |
|---|---|
int |
getHeaderLength()
Get the length of the structure's header in ints. |
java.lang.String |
toString()
Obtain a string representation of the bank header. |
int |
write(java.nio.ByteBuffer byteBuffer)
Write myself out a byte buffer. |
| Methods inherited from class org.jlab.coda.jevio.BaseStructureHeader |
|---|
byteValue, clone, getDataType, getDataTypeName, getDataTypeValue, getLength, getNumber, getPadding, getTag, setDataType, setLength, setNumber, setTag, shortValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BankHeader()
public BankHeader(int tag,
DataType dataType,
int num)
tag - the tag for the bank header.dataType - the data type for the content of the bank.num - sometimes, but not necessarily, an ordinal enumeration.| Method Detail |
|---|
public int getHeaderLength()
getHeaderLength in class BaseStructureHeaderpublic java.lang.String toString()
toString in class BaseStructureHeaderpublic int write(java.nio.ByteBuffer byteBuffer)
byteBuffer - the byteBuffer to write to.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||