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 />

unsigned int paramIndex,<br />

vector &vect);<br />

void getVector(Statement *stmt,<br />

unsigned int paramIndex,<br />

vector &vect);<br />

Statement 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(Statement *stmt,<br />

unsigned int paramIndex,<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 />

statement<br />

statement<br />

paramIndex<br />

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

vect<br />

Reference to the vector (OUT parameter) into which the values should be retrieved.<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(Statement *stmt,<br />

unsigned int index,<br />

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

OCCI Classes and Methods 8-187

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

Saved successfully!

Ooh no, something went wrong!