CreateIterator Method

Applies To

OCollection

Description

Creates an iterator to scan the elements or the collection.

Usage

void CreateIterator(void) const throw(
OException)

Arguments

none

Remarks

This methods creates iterator for Oracle8 collection instance. This iterator is used for scanning collection elements. Accessing collection elements using iterator is faster than using index on OCollection object. The created iterator is maintained by the life of the OCollection object.

Contents