|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.gsfc.drl.rtstps.core.output.hdf5.RDRAllReader
public class RDRAllReader
Iterator for read a specific RDR_All such CrIS-SCIENCE-RDR_All in an HDF file
Field Summary | |
---|---|
private long |
counter
|
private long |
numObjects
|
private int |
rootGroup
|
Constructor Summary | |
---|---|
RDRAllReader(int group,
RDRName rdrName)
Construct an RDR reader, using RDRName object |
|
RDRAllReader(int group,
RDRName rdrName,
boolean doNotOpen)
Construct an RDR reader, using RDRName object and an already open group. |
|
RDRAllReader(int group,
java.lang.String rdrNameAll)
Construct an RDR reader, this includes the "All" at the end of the name. |
Method Summary | |
---|---|
void |
close()
Close the RDR_All group |
boolean |
hasNext()
Return if there are any RawApplicationPackets left in the RDR_All |
RawApplicationPackets |
next()
Return the next RawApplicationPacket item in the RDR_All |
private void |
open(int group,
java.lang.String rdrName)
Open the RDR_All group |
void |
remove()
Not supported |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int rootGroup
private long numObjects
private long counter
Constructor Detail |
---|
RDRAllReader(int group, java.lang.String rdrNameAll) throws RtStpsException
group
- the RDR_All HDF group of interestrdrNameAll
- the name of the RDR in a String, includes the "All" in the name, i.e. "CrIS-SCIENCE-RDR_All"
RtStpsException
- wraps any HDF exceptionsRDRAllReader(int group, RDRName rdrName) throws RtStpsException
group
- the RDR_All HDF group of interestrdrName
- the RDR name of interest as an RDRName
RtStpsException
- wraps any HDF exceptionsRDRAllReader(int group, RDRName rdrName, boolean doNotOpen) throws RtStpsException
group
- the RDR_All HDF group of interestrdrName
- the RDR name of interest as an RDRName
doNotOpen
- a way to differentiate this constructor, the value is not used
RtStpsException
- wraps any HDF exceptionsMethod Detail |
---|
private void open(int group, java.lang.String rdrName) throws RtStpsException
group
- the RDR_All HDF group of interestrdrName
- the fully constructed RDR name
RtStpsException
- wraps any HDF exceptionspublic void close() throws RtStpsException
RtStpsException
- wraps any HDF exceptionspublic boolean hasNext()
hasNext
in interface java.util.Iterator<RawApplicationPackets>
public RawApplicationPackets next()
next
in interface java.util.Iterator<RawApplicationPackets>
RawApplicationPackets
public void remove()
remove
in interface java.util.Iterator<RawApplicationPackets>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |