|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.ncc.netlist.NetObject
public abstract class NetObject
NetObject is the parent class for Parts, Wires, and Ports. There is only one class of Wire, but many sub-classes of Part including: Transistor, Resistor. The hash code calculations are in Wire and Part. Wires can connect only to Parts and vice versa.
Nested Class Summary | |
---|---|
static class |
NetObject.Type
|
Constructor Summary | |
---|---|
NetObject()
|
Method Summary | |
---|---|
abstract void |
checkMe(Circuit parent)
Make sure this object is OK. |
abstract java.lang.String |
connectionDescription(int maxConn)
human readable description of things connected this NetObject |
protected static void |
error(boolean pred,
java.lang.String msg)
|
java.lang.String |
fullDescription()
|
int |
getCode()
Return an integer hash code for this NetObject. |
abstract java.util.Iterator<NetObject> |
getConnected()
|
abstract java.lang.String |
getName()
instance name qualified by path prefix |
abstract NetObject.Type |
getNetObjType()
Distinguish Parts, Wires, and Ports. |
Circuit |
getParent()
|
abstract java.lang.String |
instanceDescription()
human readable identification of instance |
abstract boolean |
isDeleted()
|
void |
setParent(Circuit x)
|
java.lang.String |
toString()
I'm trying to eliminate the use of toString() because it's difficult to find everyone that calls toString(). |
abstract java.lang.String |
valueDescription()
human readable enumeration of sizes and other values |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NetObject()
Method Detail |
---|
public abstract NetObject.Type getNetObjType()
public abstract java.util.Iterator<NetObject> getConnected()
protected static void error(boolean pred, java.lang.String msg)
public abstract void checkMe(Circuit parent)
public int getCode()
public Circuit getParent()
public void setParent(Circuit x)
public abstract boolean isDeleted()
public abstract java.lang.String getName()
getName
in interface NetObjReport.NetObjReportable
public abstract java.lang.String instanceDescription()
instanceDescription
in interface NetObjReport.NetObjReportable
public abstract java.lang.String valueDescription()
public abstract java.lang.String connectionDescription(int maxConn)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String fullDescription()
fullDescription
in interface NetObjReport.NetObjReportable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |