com.sun.electric.tool.io.output
Class CIF

java.lang.Object
  extended by com.sun.electric.tool.io.output.Output
      extended by com.sun.electric.tool.io.output.Geometry
          extended by com.sun.electric.tool.io.output.CIF

public class CIF
extends Geometry

Class to write CIF output to disk.


Nested Class Summary
static class CIF.CIFPreferences
           
 
Nested classes/interfaces inherited from class com.sun.electric.tool.io.output.Geometry
Geometry.CellGeom, Geometry.PolyWithGeom, Geometry.Visitor
 
Nested classes/interfaces inherited from class com.sun.electric.tool.io.output.Output
Output.OutputPreferences, Output.WriteJELIB
 
Field Summary
 
Fields inherited from class com.sun.electric.tool.io.output.Geometry
cellGeoms, numCells, numVisited, topCell
 
Fields inherited from class com.sun.electric.tool.io.output.Output
dataOutputStream, errorLogger, filePath, printWriter, quiet, stringWriter
 
Method Summary
protected  void done()
          Abstract method called after traversal
protected  boolean includeGeometric()
          Method to determine whether or not to include the original Geometric with a Poly.
protected  boolean mergeGeom(int hierLevelsFromBottom)
          method to determine whether or not to merge geometry
protected  void start()
          Abstract method called before hierarchy traversal
protected  void writeCellGeom(Geometry.CellGeom cellGeom)
          Method to write cellGeom
 
Methods inherited from class com.sun.electric.tool.io.output.Geometry
getMaxHierDepth, writeCell, writeCell
 
Methods inherited from class com.sun.electric.tool.io.output.Output
closeBinaryOutputStream, closeStringsOutputStream, closeTextOutputStream, emitCopyright, exportCellCommand, finishWrite, getAreaToPrint, getNumErrors, getNumWarnings, getOutputPreferences, openBinaryOutputStream, openStringsOutputStream, openTextOutputStream, reportError, reportWarning, saveJelib, setContinuationString, setOutputWidth, writeLibrary, writeLibrary, writePanicSnapshot, writeWidthLimited
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

start

protected void start()
Description copied from class: Geometry
Abstract method called before hierarchy traversal

Specified by:
start in class Geometry

done

protected void done()
Description copied from class: Geometry
Abstract method called after traversal

Specified by:
done in class Geometry

writeCellGeom

protected void writeCellGeom(Geometry.CellGeom cellGeom)
Method to write cellGeom

Specified by:
writeCellGeom in class Geometry

mergeGeom

protected boolean mergeGeom(int hierLevelsFromBottom)
method to determine whether or not to merge geometry

Overrides:
mergeGeom in class Geometry

includeGeometric

protected boolean includeGeometric()
Method to determine whether or not to include the original Geometric with a Poly. Only includes Geometric information if NOT merging boxes, because if merging boxes, then the original Geometric information is lost.

Overrides:
includeGeometric in class Geometry