Inheritance diagram for oaOccMemNetCollection:
Public Methods | |
oaBoolean | includes (const oaOccNet *object) |
a[1]
is a member of a[4:0]
. All explicit nets are members of themselves and so have a non-empty member net collection. See oaNet::getMemberNets() for a complete description of which nets are members of which other nets.
The oaOccMemNetCollection class is a specialized collection class because the oaOccMemNetIter used to iterate over it does not have the standard getNext signature use by the template collection classes.
The most common way to use an oaOccMemNetCollection is to use it inline in the construction of an oaOccMemNetIter, so the oaOccMemNetCollection is never explicitly declared. In the following example, occnet->getMemberNets()
returns an oaOccMemNetCollection.
oaUInt4 pos; oaOccMemNetIter nIter(occnet->getMemberNets()); while (oaOccNet *onet = nIter.getNext(pos)) { ... }
|
This functions determines if the specified occurrence net is a member of the collection. |
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.