edu.byu.ece.edif.util.merge
Class DuplicateMergingPolicy

java.lang.Object
  extended by edu.byu.ece.edif.util.merge.DuplicateMergingPolicy
All Implemented Interfaces:
EdifMergingPolicy

public class DuplicateMergingPolicy
extends java.lang.Object
implements EdifMergingPolicy


Constructor Summary
DuplicateMergingPolicy()
           
 
Method Summary
 EdifLibrary findLibraryForCell(EdifCell cellToCopy, EdifLibraryManager newElm)
          A merging policy to be using for duplicating entire EdifEnvironments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DuplicateMergingPolicy

public DuplicateMergingPolicy()
Method Detail

findLibraryForCell

public EdifLibrary findLibraryForCell(EdifCell cellToCopy,
                                      EdifLibraryManager newElm)
A merging policy to be using for duplicating entire EdifEnvironments. It simply puts all cells in libraries of the same name in the new EdifEnvironment.

Specified by:
findLibraryForCell in interface EdifMergingPolicy