oaModMemNetIter Class Reference

Inheritance diagram for oaModMemNetIter:

oaBaseMemNetIter


Public Methods

 oaModMemNetIter (const oaModMemNetCollection &cl)
 oaModMemNetIter (const oaModMemNetIter &iterIn)
oaModNetgetNext (oaUInt4 &arg)

Detailed Description

The oaModMemNetIter class implements a special case iterator. This class returns member oaNets of an oaModMemNetCollection. A collection of member nets is all those nets of whom the current net is a member. Because all nets are members of themselves, this iterator will always return at least one net.

For example, a collection of member nets for net a would contain all of the following nets:

The member net index is returned in the getNext() function. This index indicates the member position of the specified net in the collection. For the example above, the iterator would return the following values:

This particular collection and iterator are primarily for those applications that want to traverse single-bit connectivity.


Constructor & Destructor Documentation

oaModMemNetIter::oaModMemNetIter const oaModMemNetCollection &    cl [inline]
 

This function constructs a new oaModMemNetIter object according to the specified memNet collection cl.

Parameters:
cl The specified oaModMemNetCollection object

oaModMemNetIter::oaModMemNetIter const oaModMemNetIter &    iterIn [inline]
 

This function constructs a new oaModMemNetIter class and iterates over the same set of objects as the specified oaModMemNetIter iterator. The new iterator starts at the beginning of the collection.

Parameters:
iterIn The iterator value to use


Member Function Documentation

oaModNet * oaModMemNetIter::getNext oaUInt4 &    arg [inline]
 

This function returns a pointer to the next object in the collection that is being iterated. NULL is returned when there are no more objects to return.

Parameters:
arg The member index of the current net in the returned net

Reimplemented from oaBaseMemNetIter.


The documentation for this class was generated from the following files:

Return to top of page