com.sun.electric.tool.io.input
Class LEFDEF

java.lang.Object
  extended by com.sun.electric.tool.io.input.Input
      extended by com.sun.electric.tool.io.input.LEFDEF
Direct Known Subclasses:
DEF, LEF

public class LEFDEF
extends Input

This class defines supporting structures and methods for reading of LEF and DEF files.


Nested Class Summary
protected static class LEFDEF.GetLayerInformation
          Class to define layer information for LEF and DEF reading.
protected static class LEFDEF.ViaDef
          Class to define Via information for LEF and DEF reading.
 
Field Summary
protected static LEFDEF.ViaDef firstViaDefFromLEF
           
protected static java.util.Map<java.lang.String,LEFDEF.GetLayerInformation> knownLayers
           
protected static double OVERALLSCALE
           
protected static boolean PLACEDEFNETS
           
protected static boolean PLACELEFGEOMETRY
           
protected static Variable.Key prXkey
           
protected static Variable.Key prYkey
           
protected static java.util.HashMap<ArcProto,java.lang.Double> widthsFromLEF
           
 
Fields inherited from class com.sun.electric.tool.io.input.Input
byteCount, dataInputStream, errorLogger, fileLength, filePath, inputStream, lineReader, READ_BUFFER_SIZE
 
Constructor Summary
LEFDEF()
           
 
Method Summary
protected  LEFDEF.GetLayerInformation getLayerInformation(java.lang.String name)
          Method to find a layer from its name.
 
Methods inherited from class com.sun.electric.tool.io.input.Input
changesQuiet, closeInput, eofDuring, getAKeyword, getLine, getLineFromBinary, getProgressNote, getRestOfLine, importALibrary, importLibrary, importToCurrentLibrary, initKeywordParsing, isBreakCharacter, isChangeQuiet, isNewLibraryCreated, openBinaryInput, openStringsInput, openTextInput, preprocessLine, readWholeLine, setProgressNote, setProgressValue, startProgressDialog, stopProgressDialog, updateProgressDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLACELEFGEOMETRY

protected static final boolean PLACELEFGEOMETRY
See Also:
Constant Field Values

PLACEDEFNETS

protected static final boolean PLACEDEFNETS
See Also:
Constant Field Values

firstViaDefFromLEF

protected static LEFDEF.ViaDef firstViaDefFromLEF

widthsFromLEF

protected static java.util.HashMap<ArcProto,java.lang.Double> widthsFromLEF

knownLayers

protected static java.util.Map<java.lang.String,LEFDEF.GetLayerInformation> knownLayers

OVERALLSCALE

protected static final double OVERALLSCALE
See Also:
Constant Field Values

prXkey

protected static Variable.Key prXkey

prYkey

protected static Variable.Key prYkey
Constructor Detail

LEFDEF

public LEFDEF()
Method Detail

getLayerInformation

protected LEFDEF.GetLayerInformation getLayerInformation(java.lang.String name)
Method to find a layer from its name. Uses a map of known layers, and analyzes the name if none is found.

Parameters:
name - the layer name.
Returns:
the layer information object.