10.12.2012 Views

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ub4 *arrayLength,<br />

sb4 elementSize,<br />

ub2 *elementLength,<br />

sb2 *ind = NULL,<br />

ub2 *rc = NULL);<br />

Parameters<br />

paramIndex<br />

The first parameter is 1, the second is 2, . . . .<br />

Statement Class<br />

buffer<br />

Pointer to user-allocated buffer. It should have size * arraySize bytes in it<br />

type<br />

Type of the data that is provided (or retrieved) in the buffer<br />

arraySize<br />

Maximum number of elements in the array<br />

arrayLength<br />

Pointer to number of current elements in the array<br />

elementSize<br />

Size of the data buffer for each element<br />

elementLength<br />

Pointer to an array of lengths. elementLength[i] has the current length of the ith<br />

element of the array.<br />

ind<br />

Pointer to an array of indicators. An indicator for every buffer element.<br />

rc<br />

Pointer to an array of return codes.<br />

OCCI Classes and Methods 8-197

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!