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.

getVectorOfRefs()<br />

ResultSet Class<br />

In particular, the last two variants are identical. The former is intended for use on<br />

platforms where partial ordering of function templates is supported and the latter<br />

on those it is not.<br />

Similarly, the variant<br />

void getVector(ResultSet *rs,<br />

unsigned int index,<br />

vector< Ref > &vect);<br />

is available only on platforms where partial ordering of function templates is<br />

supported. This function may be deprecated in the future. getVectorOfRefs() can be<br />

used instead.<br />

Parameters<br />

rs<br />

The result set.<br />

index<br />

The column index (the first column is 1, the second is 2, . . . . ) .<br />

vect<br />

The reference to the vector of objects (OUT parameter).<br />

This method returns the column in the current position as a vector of REFs. The<br />

column should be a collection type (varray or nested table) of REFs.<br />

Syntax<br />

void getVectorOfRefs(ResultSet *rs,<br />

unsigned int index,<br />

vector< Ref > &vect);<br />

Parameters<br />

rs<br />

The result set.<br />

OCCI Classes and Methods 8-157

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

Saved successfully!

Ooh no, something went wrong!