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.

RefAny Class<br />

getConnection()<br />

getRef()<br />

isNull()<br />

markDelete()<br />

operator=()<br />

Returns the connection from which this ref was instantiated.<br />

Syntax<br />

const Connection * getConnection() const;<br />

Returns the underlying OCIRef *<br />

Syntax<br />

LNOCIRef* getRef() const;<br />

Returns true if the object pointed to by this ref is null else false.<br />

Syntax<br />

bool isNull() const;<br />

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

Syntax<br />

void markDelete();<br />

Assigns the ref or the object to a ref. For the first case, the refs are assigned and for<br />

the second case, the ref is constructed from the object and then assigned.<br />

Syntax<br />

RefAny& operator=(const RefAny& src);<br />

8-140 <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!