API Reference > OdDAI Namespace > Classes > IteratorCollection Template > IteratorCollection Methods > IteratorCollection::end Method
IteratorCollection::end Method
Syntax
C++
virtual void end();

Moves the iterator to the end of an aggregate instance. When the iterator is at the end of an aggregate, it doesn't refer to an element (there is no current element).

Call the previous() method after this method to make the last element of an aggregate the current one. Applicable for ordered aggregates (arrays, lists).

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.