|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jlab.coda.jevio.BaseStructureHeader org.jlab.coda.jevio.SegmentHeader
public final class SegmentHeader
This the the header for an evio segment structure (EvioSegment
). It does not contain the raw data, just the
header.
Constructor Summary | |
---|---|
SegmentHeader()
Null constructor. |
|
SegmentHeader(int tag,
DataType dataType)
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 SegmentHeader()
public SegmentHeader(int tag, DataType dataType)
tag
- the tag for the segment header.dataType
- the data type for the content of the segment.Method Detail |
---|
public int getHeaderLength()
getHeaderLength
in class BaseStructureHeader
public java.lang.String toString()
toString
in class BaseStructureHeader
public 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 |