|
|||||||||
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.Mdr11
public class Mdr11
Holds all the POIs, including cities. Arranged alphabetically by the name.
Constructor Summary | |
---|---|
Mdr11(MdrConfig config)
|
Method Summary | |
---|---|
Mdr11Record |
addPoi(int mapIndex,
Point point,
java.lang.String name,
int strOff)
|
int |
getExtraValue()
Return the value that is put in the header after the section start, len and recsize fields. |
int |
getItemSize()
The size of a record in the section. |
int |
getNumberOfItems()
The number of records in this section. |
int |
getNumberOfPois()
|
int |
getPointerSize()
Get the size of an integer that is sufficient to store a record number from this section. |
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 Mdr11(MdrConfig config)
Method Detail |
---|
public Mdr11Record addPoi(int mapIndex, Point point, java.lang.String name, int strOff)
public void writeSectData(ImgFileWriter writer)
MdrSection
writeSectData
in class MdrSection
writer
- Where to write it.public int getItemSize()
MdrSection
getItemSize
in class MdrSection
public int getNumberOfItems()
MdrMapSection
getNumberOfItems
in class MdrMapSection
public int getNumberOfPois()
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 |