public class EventGeneratorRecordSource
extends org.freehep.record.source.AbstractRecordSource
Modifier and Type | Field and Description |
---|---|
private HEPEvent |
current |
private EventGenerator |
generator |
Constructor and Description |
---|
EventGeneratorRecordSource(EventGenerator generator,
String name) |
Modifier and Type | Method and Description |
---|---|
Object |
getCurrentRecord() |
(package private) EventGenerator |
getGenerator() |
Class<?> |
getRecordClass() |
boolean |
hasRewind() |
void |
next() |
void |
rewind() |
boolean |
supportsNext() |
boolean |
supportsRewind() |
close, current, getCurrentIndex, getCurrentTag, getEstimatedSize, getName, getTags, hasCurrent, hasIndex, hasNext, hasPrevious, hasShift, hasTag, jump, jump, jump, parseTag, previous, releaseRecord, setName, shift, size, supportsCurrent, supportsIndex, supportsPrevious, supportsShift, supportsTag
private EventGenerator generator
private HEPEvent current
public EventGeneratorRecordSource(EventGenerator generator, String name)
public boolean supportsRewind()
supportsRewind
in interface org.freehep.record.source.RecordSource
supportsRewind
in class org.freehep.record.source.AbstractRecordSource
public boolean hasRewind()
hasRewind
in interface org.freehep.record.source.RecordSource
hasRewind
in class org.freehep.record.source.AbstractRecordSource
public void rewind() throws IOException
rewind
in interface org.freehep.record.source.RecordSource
rewind
in class org.freehep.record.source.AbstractRecordSource
IOException
public Class<?> getRecordClass()
getRecordClass
in interface org.freehep.record.source.RecordSource
getRecordClass
in class org.freehep.record.source.AbstractRecordSource
public Object getCurrentRecord() throws IOException
IOException
public boolean supportsNext()
supportsNext
in interface org.freehep.record.source.RecordSource
supportsNext
in class org.freehep.record.source.AbstractRecordSource
public void next() throws IOException, org.freehep.record.source.NoSuchRecordException
next
in interface org.freehep.record.source.RecordSource
next
in class org.freehep.record.source.AbstractRecordSource
IOException
org.freehep.record.source.NoSuchRecordException
EventGenerator getGenerator()
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.