Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide
Release 9.2.0.4

Part Number B10954-01
Go To Table Of Contents
Contents

GetCurrIterValue Method

Applies To

OCollection

Description

Returns the current value of the collection element pointed by the iterator.

Usage

OValue GetCurrIterValue(void) const throw(
OException)

void GetCurrIterValue(OValue *val) const throw(
OException)

void GetCurrIterValue(int index, int *val) const throw(
OException)

void GetCurrIterValue(int index, long *val) const throw(
OException)

void GetCurrIterValue(int index, double *val) const throw(
OException)

void GetCurrIterValue(int index, char *val, unsigned short maxlen) const throw(
OException)

void GetCurrIterValue(int index, OObject *val) const throw(
OException)

void GetCurrIterValue(int index, Oref *val) const throw(
OException)

Arguments
Description
val
A variable, of one of a number of types, that will receive the value of the specified object.
index
An integer specifying the index of the element.
maxlen
The maximum number of bytes that can be placed in val.
Remarks

The length indicated by maxlen should include one byte for a null terminator which is automatically added in the last byte of the buffer.


 
Oracle
Copyright © 1998, 2003 Oracle Corporation.

All Rights Reserved.
Go To Table Of Contents
Contents