Public Methods | |
oaTextDisplayIter (oaTextDisplayIterState *sub) | |
oaTextDisplayIter (oaTextDisplayIter &iterIn) | |
oaTextDisplayIter & | operator= (const oaTextDisplayIter &iterIn) |
~oaTextDisplayIter () | |
oaTextDisplay * | getNext () |
void | reset () |
The following example shows the suggested usage of oaTextDisplayIter:
oaTextDisplayIter iter(textDisplay->getTextDisplays()); oaTextDisplay *td; while (td = iter.getNext()) { ... }
|
This function constructs a new oaTextDisplayIter object according to the base collection type.
|
|
This function constructs a new oaTextDisplayIter class and iterates over the same set of objects as the specified oaTextDisplayIter iterator. The new iterator starts at the beginning of the collection.
|
|
This function destroys this oaTextDisplayIter object, cleaning up members owned by this text display iterator object. |
|
This function returns a pointer to the next object in the collection that is being iterated. The function switches on the iterator type to determine which function to call on the container. This function returns NULL when there are no more objects to return. |
|
This is the assignment operator for the oaTextDisplayIter class. It copies the state of iterIn to this oaTextDisplayIter.
|
|
This function restarts the iterator. The function switches on the iterator type to determine which function to call on the container. The next call to getNext() for this oaTextDisplayIter returns the first object in the collection. |
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.