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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

getString()<br />

getTimeStamp()<br />

getUInt()<br />

Parameters<br />

attrid<br />

The attribute ID.<br />

MetaData Class<br />

This method returns the value of the attribute as a string. If the value is SQL null,<br />

the result is null.<br />

Syntax<br />

string getString(MetaData::AttrId attrid) const;<br />

Parameters<br />

attrid<br />

The attribute ID.<br />

This method returns the value of the attribute as a Timestamp object. If the value is<br />

a SQL null, the result is null.<br />

Syntax<br />

Timestamp getTimestamp(MetaData::AttrId attrid) const;<br />

Parameters<br />

attrid<br />

The attribute ID.<br />

This method returns the value of the attribute as a <strong>C++</strong> unsigned int. If the value is<br />

a SQL null, the result is 0.<br />

Syntax<br />

unsigned int getUInt(MetaData::AttrId attrid) const;<br />

OCCI Classes and Methods 8-99

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

Saved successfully!

Ooh no, something went wrong!