API Reference > OdDAI Namespace > Classes > Iterator Class > Iterator Methods > Iterator::end Method
Iterator::end Method
Syntax
C++
virtual void end() = 0;

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.