Package org.jlab.io.evio
Class EvioSource
java.lang.Object
org.jlab.io.evio.EvioSource
- All Implemented Interfaces:
DataSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intgetEventBuffer(int eventNumber, boolean asdf) intgetEventList(int nrecords) getEventList(int start, int stop) intgetSize()getType()gotoEvent(int index) booleanhasEvent()static voidvoidvoidvoidopen(ByteBuffer buff) voidreset()void
-
Constructor Details
-
EvioSource
public EvioSource() -
EvioSource
-
-
Method Details
-
getDictionary
-
close
public void close()- Specified by:
closein interfaceDataSource
-
getEventCount
public int getEventCount() -
getFileByteOrder
-
getEventBuffer
public ByteBuffer getEventBuffer(int eventNumber, boolean asdf) throws org.jlab.coda.jevio.EvioException - Throws:
org.jlab.coda.jevio.EvioException
-
open
- Specified by:
openin interfaceDataSource
-
open
- Specified by:
openin interfaceDataSource
-
open
- Specified by:
openin interfaceDataSource
-
getSize
public int getSize()- Specified by:
getSizein interfaceDataSource
-
getEventList
- Specified by:
getEventListin interfaceDataSource
-
getEventList
- Specified by:
getEventListin interfaceDataSource
-
reset
public void reset()- Specified by:
resetin interfaceDataSource
-
getCurrentIndex
public int getCurrentIndex()- Specified by:
getCurrentIndexin interfaceDataSource
-
getPreviousEvent
- Specified by:
getPreviousEventin interfaceDataSource
-
gotoEvent
- Specified by:
gotoEventin interfaceDataSource
-
getNextEventHandler
-
getNextEvent
- Specified by:
getNextEventin interfaceDataSource
-
hasEvent
public boolean hasEvent()- Specified by:
hasEventin interfaceDataSource
-
main
-
getType
- Specified by:
getTypein interfaceDataSource
-
waitForEvents
public void waitForEvents()- Specified by:
waitForEventsin interfaceDataSource
-