Package org.deepsymmetry.cratedigger.pdb
Class RekordboxPdb.RowGroup
- java.lang.Object
-
- io.kaitai.struct.KaitaiStruct
-
- org.deepsymmetry.cratedigger.pdb.RekordboxPdb.RowGroup
-
- Enclosing class:
- RekordboxPdb
public static class RekordboxPdb.RowGroup extends io.kaitai.struct.KaitaiStruct
A group of row indices, which are built backwards from the end of the page. Holds up to sixteen row offsets, along with a bit mask that indicates whether each row is actually present in the table.
-
-
Constructor Summary
Constructors Constructor Description RowGroup(io.kaitai.struct.KaitaiStream _io, int groupIndex)
RowGroup(io.kaitai.struct.KaitaiStream _io, RekordboxPdb.Page _parent, int groupIndex)
RowGroup(io.kaitai.struct.KaitaiStream _io, RekordboxPdb.Page _parent, RekordboxPdb _root, int groupIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RekordboxPdb.Page
_parent()
RekordboxPdb
_root()
Integer
base()
The starting point of this group of row indices.int
groupIndex()
Identifies which group is being generated.Integer
rowPresentFlags()
Each bit specifies whether a particular row is present.ArrayList<RekordboxPdb.RowRef>
rows()
The row offsets in this group.
-
-
-
Constructor Detail
-
RowGroup
public RowGroup(io.kaitai.struct.KaitaiStream _io, int groupIndex)
-
RowGroup
public RowGroup(io.kaitai.struct.KaitaiStream _io, RekordboxPdb.Page _parent, int groupIndex)
-
RowGroup
public RowGroup(io.kaitai.struct.KaitaiStream _io, RekordboxPdb.Page _parent, RekordboxPdb _root, int groupIndex)
-
-
Method Detail
-
base
public Integer base()
The starting point of this group of row indices.
-
rowPresentFlags
public Integer rowPresentFlags()
Each bit specifies whether a particular row is present. The low order bit corresponds to the first row in this index, whose offset immediately precedes these flag bits. The second bit corresponds to the row whose offset precedes that, and so on.
-
rows
public ArrayList<RekordboxPdb.RowRef> rows()
The row offsets in this group.
-
groupIndex
public int groupIndex()
Identifies which group is being generated. They build backwards from the end of the page.
-
_root
public RekordboxPdb _root()
-
_parent
public RekordboxPdb.Page _parent()
- Overrides:
_parent
in classio.kaitai.struct.KaitaiStruct
-
-