|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.imgfmt.app.mdr.ConfigBase
uk.me.parabola.imgfmt.app.mdr.MdrSection
uk.me.parabola.imgfmt.app.mdr.MdrMapSection
uk.me.parabola.imgfmt.app.mdr.Mdr10
public class Mdr10
POI subtype with a reference to MDR11. These are sorted into groups based on the type, and contain the subtype. The mdr9 section contains an index to this section based on the the type groups.
Constructor Summary | |
---|---|
Mdr10(MdrConfig config)
|
Method Summary | |
---|---|
void |
addPoiType(int type,
Mdr11Record poi)
|
int |
getExtraValue()
Return the value that is put in the header after the section start, len and recsize fields. |
java.util.Map<java.lang.Integer,java.lang.Integer> |
getGroupSizes()
Get a list of the group sizes along with the group index number. |
int |
getItemSize()
This does not have a record size. |
int |
getNumberOfItems()
The number of records in this section. |
int |
getPointerSize()
Get the size of an integer that is sufficient to store a record number from this section. |
void |
setNumberOfPois(int numberOfPois)
|
void |
writeSectData(ImgFileWriter writer)
Write out the contents of this section. |
Methods inherited from class uk.me.parabola.imgfmt.app.mdr.MdrMapSection |
---|
addIndexPointer, init, putCityIndex, putPoiIndex, putRegionIndex, setMapIndex |
Methods inherited from class uk.me.parabola.imgfmt.app.mdr.MdrSection |
---|
getSizes, numberToPointerSize, putMapIndex, putN, putStringOffset, setSizes |
Methods inherited from class uk.me.parabola.imgfmt.app.mdr.ConfigBase |
---|
getConfig, isForDevice, setConfig |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Mdr10(MdrConfig config)
Method Detail |
---|
public void addPoiType(int type, Mdr11Record poi)
public void writeSectData(ImgFileWriter writer)
MdrSection
writeSectData
in class MdrSection
writer
- Where to write it.public java.util.Map<java.lang.Integer,java.lang.Integer> getGroupSizes()
public int getItemSize()
getItemSize
in class MdrSection
public int getNumberOfItems()
MdrMapSection
getNumberOfItems
in class MdrMapSection
public void setNumberOfPois(int numberOfPois)
public int getPointerSize()
getPointerSize
in class MdrMapSection
public int getExtraValue()
MdrMapSection
getExtraValue
in class MdrMapSection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |