|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbyucc.edif.NamedPropertyObject
byucc.edif.EdifCellInstance
Represents a specific instance of an EdifCell object. This object contains a reference to the EdifCell that is instanced and a reference to the parent EdifCell object that instanced this cell.
To Do:
| Field Summary | |
private EdifCell |
_cellType
This EdifCell reference refers to the type of EdifCell that is instanced. |
private EdifCell |
_parent
This EdifCell reference refers to the the parent EdifCell object that instanced the cell. |
| Fields inherited from class byucc.edif.NamedPropertyObject |
|
| Constructor Summary | |
EdifCellInstance(EdifNameable name)
Constructs an Empty, named EdifCellInstance Object. |
|
EdifCellInstance(EdifNameable name,
EdifCell parent)
Constucts a typeless, named EdifCellInstace Object with the specified parent. |
|
EdifCellInstance(EdifNameable name,
EdifCell parent,
EdifCell type)
Constructs a typed, named EdifCellInstace Object with the specified parent. |
|
EdifCellInstance(java.lang.String name)
Constructs an Empty, named EdifCellInstance Object. |
|
EdifCellInstance(java.lang.String name,
EdifCell parent)
Constucts a typeless, named EdifCellInstace Object with the specified parent. |
|
EdifCellInstance(java.lang.String name,
EdifCell parent,
EdifCell type)
Constructs a typed, named EdifCellInstace Object with the specified parent. |
|
| Method Summary | |
EdifCellInstance |
copy()
|
EdifCellInstance |
copy(EdifCell parent)
Returns a deep copy of this EdifCellInstance using the passed-in EdifCell as the parent. |
EdifCell |
getCellRef()
Deprecated. Please use EdifCellInstance.getCellType() |
EdifCell |
getCellType()
Returns the cell that this EdifCellInstance object is referring to. |
java.util.Map |
getEdifCellInstanceNetPortRefs()
This method will determine the parent cell of an EdifCellInstance and search through the nets of this parent cell. |
java.util.Collection |
getEdifCellInstanceNets()
This method will determine the parent cell of an EdifCellInstance and search through the nets of this parent cell. |
java.util.Collection |
getHierarchicalPrimitiveList()
Returns a Collection of List objects for each primitive instance within the hierarchy of this cell instance. |
EdifCell |
getParent()
Returns the parent cell that is referring to the cell that this EdifCellInstance object is referring to. |
EdifPortRef |
getPortRef(EdifPort port)
Returns the port ref that refers to the passed-in EdifPort. |
java.lang.String |
getType()
Returns the type of this cell as a String. |
boolean |
matchesWithin(java.util.Collection instanceList)
Returns true if the current instance matches within the passed-in collection of EdifCellInstance Objects. |
boolean |
matchesWithin(java.util.Map instanceList)
Returns true if the current instance matches within the passed-in Map of EdifCellInstance Objects. |
void |
modifyCellRef(EdifCell newCellRef)
Modify the internal cell reference used by this EdifCellInstance. |
(package private) void |
modifyCellRef(EdifCell newCellRef,
boolean check)
Modify the internal cell reference used by this EdifCellInstance. |
(package private) void |
setParent(EdifCell p)
Sets the parent cell that is referring to the cell this EdifCellInstance object is referring to. |
void |
toEdif(EdifPrintWriter epw)
Writes the EDIF representation of this EdifCellInstance object to the EdifPrintWriter passed as a parameter. |
java.lang.String |
toString()
Returns a String representation of the EdifCellInstance object. |
| Methods inherited from class byucc.edif.NamedPropertyObject |
addProperty, addProperty, equals, equalsProperties, getEdifNameable, getName, getProperty, getPropertyList, rename, rename |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private EdifCell _cellType
private EdifCell _parent
| Constructor Detail |
public EdifCellInstance(java.lang.String name)
name - The name of this EdifCellInstance Objectpublic EdifCellInstance(EdifNameable name)
name - The Object that holds name information for this
EdifCellInstance Object
public EdifCellInstance(java.lang.String name,
EdifCell parent)
name - The name of this EdifCellInstance Objectparent - The EdifCell Object that contains this
EdifCellInstace
public EdifCellInstance(EdifNameable name,
EdifCell parent)
name - The Object that holds name information for this
EdifCellInstance Objectparent - The EdifCell Object that contains this
EdifCellInstace
public EdifCellInstance(java.lang.String name,
EdifCell parent,
EdifCell type)
name - The name of this EdifCellInstance Objectparent - The EdifCell Object that contains this
EdifCellInstacetype - The type of this EdifCellInstance Object, or the
EdifCell Object that this EdifCellInstance is instancing
public EdifCellInstance(EdifNameable name,
EdifCell parent,
EdifCell type)
name - The Object that holds name information for this
EdifCellInstance Objectparent - The EdifCell Object that contains this
EdifCellInstacetype - The type of this EdifCellInstance Object, or the
EdifCell Object that this EdifCellInstance is instancing| Method Detail |
public EdifCellInstance copy(EdifCell parent)
parent - The EdifCell that will contain the new
EdifCellInstance
public EdifCellInstance copy()
public java.util.Collection getEdifCellInstanceNets()
public java.util.Map getEdifCellInstanceNetPortRefs()
public EdifCell getCellRef()
public EdifCell getCellType()
public java.util.Collection getHierarchicalPrimitiveList()
public EdifCell getParent()
public EdifPortRef getPortRef(EdifPort port)
port - The EdifPort Object that will be searched for
within this EdifCellInstance
public java.lang.String getType()
public boolean matchesWithin(java.util.Map instanceList)
instanceList - This EdifCellInstance Object will be
compared against all the elements in this passed-in Map
to see if a match exists within the Mappublic boolean matchesWithin(java.util.Collection instanceList)
instanceList - This EdifCellInstance Object will be
compared against all the elements in this passed-in Collection
to see if a match exists within the Collectionpublic void modifyCellRef(EdifCell newCellRef)
newCellRef - An EdifCell Object--The cell this
EdifCellInstance object will now refer to
void modifyCellRef(EdifCell newCellRef,
boolean check)
newCellRef - An EdifCell Object--The cell this
EdifCellInstance object will now refer tocheck - If true, will check to see if the interfaces are
equal, and if it's ok to make the switch. For speed, and if
it's known that the match will succeed, use falsevoid setParent(EdifCell p)
p - An EdifCell Object--The parent referring to the cell
of this EdifCellInstance.public void toEdif(EdifPrintWriter epw)
EdifPrintWriter passed as a parameter.
toEdif in interface EdifOutepw - EdifPrintWriter to which EDIF will be writtenpublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||