com.sun.electric.tool.drc
Class CalibreRdbErrors

java.lang.Object
  extended by com.sun.electric.tool.drc.CalibreRdbErrors

public class CalibreRdbErrors
extends java.lang.Object

Reads RDB error database, typically used for reporting antenna rule violations. A read of a new file accumulates to the same error report, as typically multiple RDB databases are generated for a single antenna rule drc run.


Constructor Summary
CalibreRdbErrors()
          Create a new error object to read errors in from file This creates a new error logger instance to add errors to, but you must call termLogging(boolean) to display the errors in the error log.
 
Method Summary
 void importErrors(java.lang.String filename, java.util.Map<Cell,java.lang.String> mangledNames)
          Import errors from an RDB database to the current logger
 void termLogging(boolean explain)
          Finish reading errors and display error logger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalibreRdbErrors

public CalibreRdbErrors()
Create a new error object to read errors in from file This creates a new error logger instance to add errors to, but you must call termLogging(boolean) to display the errors in the error log.

Method Detail

importErrors

public void importErrors(java.lang.String filename,
                         java.util.Map<Cell,java.lang.String> mangledNames)
Import errors from an RDB database to the current logger

Parameters:
filename - the filename to import errors from
mangledNames - mangled GDS cell names

termLogging

public void termLogging(boolean explain)
Finish reading errors and display error logger

Parameters:
explain - true to pop up display to user