uk.me.parabola.imgfmt.app.net
Class TableC

java.lang.Object
  extended by uk.me.parabola.imgfmt.app.net.TableC

public class TableC
extends java.lang.Object

Author:
Steve Ratcliffe, Robert Vollmert

Constructor Summary
TableC(TableA tabA)
           
 
Method Summary
 int addRestriction(RouteRestriction restr)
          Add a restriction.
 byte getFormat()
           
 void propagateSizeBytes()
           
 void write(ImgFileWriter writer, int tablesOffset)
          Write the table including size field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableC

public TableC(TableA tabA)
Method Detail

write

public void write(ImgFileWriter writer,
                  int tablesOffset)
Write the table including size field.


addRestriction

public int addRestriction(RouteRestriction restr)
Add a restriction.

Parameters:
restr - A new restriction.
Returns:
The offset into Table C at which the restriction will be written.

propagateSizeBytes

public void propagateSizeBytes()

getFormat

public byte getFormat()