Public Methods | |
oaEnumPropIter (oaEnumIterState *sub) | |
oaEnumPropIter (oaEnumPropIter &iterIn) | |
~oaEnumPropIter () | |
oaEnumPropIter & | operator= (oaEnumPropIter &iterIn) |
oaBoolean | getNext (oaString &enumV) |
void | reset () |
The intended usage of oaEnumPropIter is shown in the following example:
oaEnumPropIter iter(enumProp->getEnums()); oaString enum; while (iter.getNext(enum)) { ... }
|
This function constructs a new oaEnumPropIter object. The argument is generally created implicitly by casting an oaEnumCollection that was returned by oaEnumProp::getEnums() as shown in the class description. |
|
This function constructs a new oaEnumPropIter class and iterates over the same set of objects as the oaEnumPropIter handed in. The new iterator starts at the beginning of the collection.
|
|
This function destroys this oaEnumPropIter. |
|
This function returns an oaString that contains the name of the next enumeration value in the list of valid enum values for the property. This function returns false when there are no more objects to return.
|
|
This is the assignment operator for the VerilogNS class. It copies the state of iterIn to this enumPropIter.
|
|
This function restarts the iterator. The next call to getNext() for this oaEnumPropIter returns the first object in the collection. |
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.