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.

Ref Class<br />

isClear()<br />

isNull()<br />

markDelete()<br />

operator->()<br />

Syntax<br />

LNOCIRef *getRef() const;<br />

This method checks if Ref object is cleared.<br />

Syntax<br />

bool isClear();<br />

This method tests whether the Ref object is null. If the Ref object is null, then true<br />

is returned; otherwise, false is returned.<br />

Syntax<br />

bool isNull() const;<br />

This method marks the referenced object as deleted.<br />

Syntax<br />

void markDelete();<br />

This method dereferences the Ref object and pins or fetches the referenced object if<br />

necessary. This might result in prefetching a graph of objects if prefetch attributes of<br />

the referenced object are set.<br />

Syntax<br />

There are variants of syntax:<br />

T * operator->();<br />

const T * operator->() const;<br />

8-134 <strong>Oracle</strong> <strong>C++</strong> <strong>Call</strong> <strong>Interface</strong> Programmer’s <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!