#include <mxmMutableIteratorInterface.h>
Inheritance diagram for mxmMutableIteratorInterface:
Public Member Functions | |
virtual mxmObject * | removeCurrentItem (void)=0 |
Removes and returns the item currently pointed to by the iterator. |
[khe]
Kai Hergenroether
|
Removes and returns the item currently pointed to by the iterator. Ownership over the item is transferred to the calling context. The container iterated over is no longer responsible for deleting the item later.
If the iterator has just been reset, or if the iteration has already been completed, After the current item has been removed, the iteration can be continued. Continuation of the iteration after multiple consecutive calls to removeCurrentItem() however is undefined, yet it will not corrupt the container's state. |