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.

setFloat()<br />

setInt()<br />

Syntax<br />

void setErrorOnTruncate(unsigned int paramIndex,<br />

bool causeException);<br />

Parameters<br />

paramIndex<br />

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

causeException<br />

Enable exceptions if true. Disable if false.<br />

Set a parameter to a <strong>C++</strong> float value.<br />

Syntax<br />

void setFloat(unsigned int paramIndex,<br />

float x);<br />

Parameters<br />

paramIndex<br />

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

x<br />

The parameter value.<br />

Set a parameter to a <strong>C++</strong> int value.<br />

Syntax<br />

void setInt(unsigned int paramIndex,<br />

int x);<br />

Parameters<br />

paramIndex<br />

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

Statement Class<br />

OCCI Classes and Methods 8-199

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

Saved successfully!

Ooh no, something went wrong!