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

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

Call the next() 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.