|
|||||||||
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.Mdr7
public class Mdr7
The MDR 7 section is a list of all streets. Only street names are saved and so I believe that the NET section is required to make this work.
Constructor Summary | |
---|---|
Mdr7(MdrConfig config)
|
Method Summary | |
---|---|
void |
addStreet(int mapId,
java.lang.String name,
int lblOffset,
int strOff)
|
int |
getExtraValue()
Value of 3 possibly the existence of the lbl field. |
int |
getItemSize()
The size of a record in the section. |
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 |
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 Mdr7(MdrConfig config)
Method Detail |
---|
public void addStreet(int mapId, java.lang.String name, int lblOffset, 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 getPointerSize()
getPointerSize
in class MdrMapSection
public int getExtraValue()
getExtraValue
in class MdrMapSection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |