Oracle Objects for OLE C++ Class Library
Release 9.0.1

Part Number A90172-01

Home

Book List

Contents

Master Index

Feedback

IterNext Method

Applies To

OCollection

Description

Moves iterator to point to the next collection element.

Usage

void IterNext(void) const throw(
OException)

Arguments

none

Remarks

Accessing collection elements using iterator is faster than using index on OCollection object. If the iterator is pointing to the last element of the collection prior to executing this function, then calling this method will make the EOC property to return true. The iterator will be left unchanged in that case. EOC property should be checked when calling this method repetitively.


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents