Package org.jlab.io.evio
Class EvioDataEvent
java.lang.Object
org.jlab.io.evio.EvioDataEvent
- All Implemented Interfaces:
DataEvent
-
Constructor Summary
ConstructorsConstructorDescriptionEvioDataEvent(byte[] buffer, ByteOrder b_order) EvioDataEvent(byte[] buffer, ByteOrder b_order, EvioDataDictionary dict) EvioDataEvent(ByteBuffer buff) EvioDataEvent(ByteBuffer buff, EvioDataDictionary dict) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendBank(DataBank bank) voidappendBanks(DataBank... banklist) voidappendByte(String path, byte[] arr) voidappendDouble(String path, double[] arr) voidappendFloat(String path, float[] arr) voidappendGeneratedBank(DataBank bank) voidvoidappendLong(String path, long[] arr) voidappendShort(String path, short[] arr) voidcopyEvent(EvioDataEvent event) createBank(String bank_name, int rows) voidString[]byte[]getByte(int tag, int num) byte[]String[]getColumnList(String bank_name) byte[]getComposite(int tag, int num) double[]getDouble(int tag, int num) double[]float[]getFloat(int tag, int num) float[]int[]getInt(int tag, int num) int[]long[]getLong(int tag, int num) long[]org.jlab.coda.jevio.EvioNodegetNodeFromTree(int parent_tag, int tag, int num, org.jlab.coda.jevio.DataType type) org.jlab.coda.jevio.EvioNodegetNodeFromTree(int tag, int num, org.jlab.coda.jevio.DataType type) getProperty(String property) short[]getShort(int tag, int num) short[]String[]getString(int tag, int num) org.jlab.coda.jevio.EvioCompactStructureHandlergetType()booleanhasBank(int tag, int num) booleanvoidinitEvent(ByteBuffer buffer) voidremoveBank(String bankName) voidremoveBanks(String... bankNames) voidvoidvoidvoidvoidvoidsetProperty(String property, String value) voidvoidsetType(DataEventType type) voidshow()
-
Constructor Details
-
EvioDataEvent
-
EvioDataEvent
-
EvioDataEvent
-
EvioDataEvent
-
-
Method Details
-
getByteOrder
-
getBankList
- Specified by:
getBankListin interfaceDataEvent
-
getStructureHandler
public org.jlab.coda.jevio.EvioCompactStructureHandler getStructureHandler() -
getHandler
-
initEvent
-
getColumnList
- Specified by:
getColumnListin interfaceDataEvent
-
getDictionary
- Specified by:
getDictionaryin interfaceDataEvent
-
getFloat
-
getFloat
public float[] getFloat(int tag, int num) -
setFloat
-
appendFloat
- Specified by:
appendFloatin interfaceDataEvent
-
getInt
-
getString
-
getInt
public int[] getInt(int tag, int num) -
getLong
public long[] getLong(int tag, int num) -
setInt
-
appendInt
-
getShort
-
getShort
public short[] getShort(int tag, int num) -
setShort
-
appendShort
- Specified by:
appendShortin interfaceDataEvent
-
getComposite
public byte[] getComposite(int tag, int num) -
hasBank
public boolean hasBank(int tag, int num) -
hasBank
-
getBank
-
getBank
-
show
public void show() -
getNodeFromTree
public org.jlab.coda.jevio.EvioNode getNodeFromTree(int parent_tag, int tag, int num, org.jlab.coda.jevio.DataType type) -
getNodeFromTree
public org.jlab.coda.jevio.EvioNode getNodeFromTree(int tag, int num, org.jlab.coda.jevio.DataType type) -
getDouble
public double[] getDouble(int tag, int num) -
getDouble
-
setDouble
-
appendDouble
- Specified by:
appendDoublein interfaceDataEvent
-
appendGeneratedBank
-
appendBank
- Specified by:
appendBankin interfaceDataEvent
-
getEventBuffer
- Specified by:
getEventBufferin interfaceDataEvent
-
setProperty
- Specified by:
setPropertyin interfaceDataEvent
-
getProperty
- Specified by:
getPropertyin interfaceDataEvent
-
getByte
public byte[] getByte(int tag, int num) -
getByte
-
setByte
-
appendByte
- Specified by:
appendBytein interfaceDataEvent
-
copyEvent
-
appendBanks
- Specified by:
appendBanksin interfaceDataEvent
-
setType
-
getType
-
createBank
- Specified by:
createBankin interfaceDataEvent
-
removeBank
- Specified by:
removeBankin interfaceDataEvent
-
removeBanks
- Specified by:
removeBanksin interfaceDataEvent
-
getLong
-
setLong
-
appendLong
- Specified by:
appendLongin interfaceDataEvent
-