Layout.Chunk
Constructor and Description |
---|
H5tiledLayout(H5header.Vinfo vinfo,
DataType dtype,
Section wantSection)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getElemSize()
Get size of each element in bytes.
|
long |
getTotalNelems()
Get total number of elements in the wanted subset.
|
boolean |
hasNext()
Is there more to do
|
Layout.Chunk |
next()
Get the next chunk
|
java.lang.String |
toString() |
public H5tiledLayout(H5header.Vinfo vinfo, DataType dtype, Section wantSection) throws java.io.IOException
vinfo
- the vinfo object for this variabledtype
- type of data. may be different from v2.wantSection
- the wanted section of data, contains a List of Range objects, must be completejava.io.IOException
- on io errorpublic long getTotalNelems()
Layout
getTotalNelems
in interface Layout
public int getElemSize()
Layout
getElemSize
in interface Layout
public boolean hasNext()
Layout
public Layout.Chunk next()
Layout
public java.lang.String toString()
toString
in class java.lang.Object