com.sun.electric.database.id
Class IdReader

java.lang.Object
  extended by com.sun.electric.database.id.IdReader

public class IdReader
extends java.lang.Object


Field Summary
 IdManager idManager
           
 
Constructor Summary
IdReader(java.io.DataInputStream in, IdManager idManager)
          Creates a new instance of SnapshotWriter
 
Method Summary
 int readArcId()
          Reads arc id.
 ArcProtoId readArcProtoId()
          Reads ArcProtoId.
 boolean readBoolean()
          Reads boolean.
 byte readByte()
          Reads byte.
 byte[] readBytes()
          Reads bytes.
 long readCoord()
          Reads grid coordiante.
 void readDiffs()
           
 double readDouble()
          Reads double.
 float readFloat()
          Reads float.
 int readInt()
          Reads integer.
 LibId readLibId()
          Reads LibId.
 long readLong()
          Reads long.
 Name readNameKey()
          Reads Name key.
 int readNodeId()
          Reads node id.
 NodeProtoId readNodeProtoId()
          Reads NodeProtoId.
 Orientation readOrientation()
          Reads Orientation.
 EPoint readPoint()
          Reads EPoint.
 PortProtoId readPortProtoId()
          Reads PortProtoId.
 ERectangle readRectangle()
          Reads ERectangle.
 short readShort()
          Reads short.
 java.lang.String readString()
          Reads string.
 TechId readTechId()
          Reads TechId.
 TextDescriptor readTextDescriptor()
          Reads TextDescriptor.
 Tool readTool()
          Reads Tool.
 Variable.Key readVariableKey()
          Reads variable key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

idManager

public final IdManager idManager
Constructor Detail

IdReader

public IdReader(java.io.DataInputStream in,
                IdManager idManager)
Creates a new instance of SnapshotWriter

Method Detail

readDiffs

public void readDiffs()
               throws java.io.IOException
Throws:
java.io.IOException

readBoolean

public boolean readBoolean()
                    throws java.io.IOException
Reads boolean.

Returns:
boolean.
Throws:
java.io.IOException

readByte

public byte readByte()
              throws java.io.IOException
Reads byte.

Returns:
byte.
Throws:
java.io.IOException

readShort

public short readShort()
                throws java.io.IOException
Reads short.

Returns:
short.
Throws:
java.io.IOException

readInt

public int readInt()
            throws java.io.IOException
Reads integer.

Returns:
integer.
Throws:
java.io.IOException

readLong

public long readLong()
              throws java.io.IOException
Reads long.

Returns:
long.
Throws:
java.io.IOException

readFloat

public float readFloat()
                throws java.io.IOException
Reads float.

Returns:
float.
Throws:
java.io.IOException

readDouble

public double readDouble()
                  throws java.io.IOException
Reads double.

Returns:
double.
Throws:
java.io.IOException

readBytes

public byte[] readBytes()
                 throws java.io.IOException
Reads bytes.

Returns:
bytes.
Throws:
java.io.IOException

readString

public java.lang.String readString()
                            throws java.io.IOException
Reads string.

Returns:
string.
Throws:
java.io.IOException

readVariableKey

public Variable.Key readVariableKey()
                             throws java.io.IOException
Reads variable key.

Returns:
variable key.
Throws:
java.io.IOException

readTextDescriptor

public TextDescriptor readTextDescriptor()
                                  throws java.io.IOException
Reads TextDescriptor.

Returns:
TextDescriptor.
Throws:
java.io.IOException

readTool

public Tool readTool()
              throws java.io.IOException
Reads Tool.

Returns:
Tool.
Throws:
java.io.IOException

readTechId

public TechId readTechId()
                  throws java.io.IOException
Reads TechId.

Returns:
TechId.
Throws:
java.io.IOException

readArcProtoId

public ArcProtoId readArcProtoId()
                          throws java.io.IOException
Reads ArcProtoId.

Returns:
ArcProtoId.
Throws:
java.io.IOException

readLibId

public LibId readLibId()
                throws java.io.IOException
Reads LibId.

Returns:
LibId.
Throws:
java.io.IOException

readNodeProtoId

public NodeProtoId readNodeProtoId()
                            throws java.io.IOException
Reads NodeProtoId.

Returns:
NodeProtoId.
Throws:
java.io.IOException

readPortProtoId

public PortProtoId readPortProtoId()
                            throws java.io.IOException
Reads PortProtoId.

Returns:
PortProtoId.
Throws:
java.io.IOException

readNodeId

public int readNodeId()
               throws java.io.IOException
Reads node id.

Returns:
node id.
Throws:
java.io.IOException

readArcId

public int readArcId()
              throws java.io.IOException
Reads arc id.

Returns:
arc id.
Throws:
java.io.IOException

readNameKey

public Name readNameKey()
                 throws java.io.IOException
Reads Name key.

Returns:
name key.
Throws:
java.io.IOException

readOrientation

public Orientation readOrientation()
                            throws java.io.IOException
Reads Orientation.

Returns:
Orientation.
Throws:
java.io.IOException

readCoord

public long readCoord()
               throws java.io.IOException
Reads grid coordiante.

Returns:
coordinate.
Throws:
java.io.IOException

readPoint

public EPoint readPoint()
                 throws java.io.IOException
Reads EPoint.

Returns:
EPoint.
Throws:
java.io.IOException

readRectangle

public ERectangle readRectangle()
                         throws java.io.IOException
Reads ERectangle.

Returns:
ERectangle.
Throws:
java.io.IOException