com.sun.electric.tool.generator.layout
Class NodaNets

java.lang.Object
  extended by com.sun.electric.tool.generator.layout.NodaNets

public class NodaNets
extends java.lang.Object

A "netlist-like" object that allows you to find the Nodables attached to a Network, and the Networks attached to a Nodable. This is the sort of functionality one needs when tracing connectivity through netlists.

This is not very object-oriented. However, if we integrated this functionality into all Nodables and Networks then every user would have to pay for its overhead.


Nested Class Summary
static class NodaNets.NodaPortInst
          A 1-bit "port-like" object for Nodables
 
Constructor Summary
NodaNets(Cell c, Netlist.ShortResistors shortResistors)
           
 
Method Summary
 Network getNet(java.lang.String netNm)
           
 java.util.Collection<Network> getNets()
           
 Nodable getNoda(java.lang.String nodaNm)
           
 java.util.Collection<Nodable> getNodes()
           
 java.util.Collection<NodaNets.NodaPortInst> getPorts(Network net)
          Find ports attached to a Network
 java.util.Collection<NodaNets.NodaPortInst> getPorts(Nodable noda)
          Find ports attached to a Nodable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodaNets

public NodaNets(Cell c,
                Netlist.ShortResistors shortResistors)
Method Detail

getNets

public java.util.Collection<Network> getNets()

getNet

public Network getNet(java.lang.String netNm)

getNodes

public java.util.Collection<Nodable> getNodes()

getNoda

public Nodable getNoda(java.lang.String nodaNm)

getPorts

public java.util.Collection<NodaNets.NodaPortInst> getPorts(Nodable noda)
Find ports attached to a Nodable


getPorts

public java.util.Collection<NodaNets.NodaPortInst> getPorts(Network net)
Find ports attached to a Network