---
title: reset
framework: kernel
role: pseudoSymbol
path: kernel/ositerator/1808074-reset
---

# reset

Resets the iterator to the beginning of the collection, as if it had just been created.

## Declaration

```occ
virtual void reset() = 0; 
```

## Overview

Overview Subclasses must implement this pure virtual member function.

## See Also

### Miscellaneous

- [getNextObject](kernel/ositerator/1808048-getnextobject.md)
- [isValid](kernel/ositerator/1808063-isvalid.md)
