Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
Iterator::next Method
Syntax
C++
virtual bool next() = 0;

Moves the iterator to the next element of an aggregate relative to the current one. The next element becomes the current one unless the end of an aggregate is reached.

true if the move to the next element was performed successfully; otherwise the method returns false. The false value returned by the method means that the end of the aggregation container is reached and the iterator can not be moved anymore.

Applicable for ordered aggregates (arrays, lists).

for (it->beginning(); it->next(); ) { it->getCurrentMember()... }
Copyright © 2002-2022. Open Design Alliance All rights reserved.