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

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.