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

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

Applicable for ordered aggregates (arrays, lists).

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