|
|||||||||
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.TagSegmentHeader
public final class TagSegmentHeader
This the the header for an evio tag segment structure (EvioTagSegment
). It does not contain the raw data, just the
header.
Constructor Summary | |
---|---|
TagSegmentHeader()
Null constructor. |
|
TagSegmentHeader(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 TagSegmentHeader()
public TagSegmentHeader(int tag, DataType dataType)
tag
- the tag for the tag segment header.dataType
- the data type for the content of the tag 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 |