uk.me.parabola.imgfmt.app.mdr
Class Mdr4

java.lang.Object
  extended by uk.me.parabola.imgfmt.app.mdr.ConfigBase
      extended by uk.me.parabola.imgfmt.app.mdr.MdrSection
          extended by uk.me.parabola.imgfmt.app.mdr.Mdr4

public class Mdr4
extends MdrSection

POI types. A simple list of the types that are used? If you have this section, then the ability to select POI categories goes away.

Author:
Steve Ratcliffe

Constructor Summary
Mdr4(MdrConfig config)
           
 
Method Summary
 void addType(int type)
           
 int getItemSize()
          The size of a record in the section.
 void writeSectData(ImgFileWriter writer)
          Write out the contents of this section.
 
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

Mdr4

public Mdr4(MdrConfig config)
Method Detail

writeSectData

public void writeSectData(ImgFileWriter writer)
Description copied from class: MdrSection
Write out the contents of this section.

Specified by:
writeSectData in class MdrSection
Parameters:
writer - Where to write it.

getItemSize

public int getItemSize()
Description copied from class: MdrSection
The size of a record in the section. This is not a constant and might vary on various factors, such as the file version, if we are preparing for a device, the number of maps etc.

Specified by:
getItemSize in class MdrSection
Returns:
The size of a record in this section.

addType

public void addType(int type)