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.

Clob Class<br />

open()<br />

operator=()<br />

operator==()<br />

This method opens the CLOB in read/write or read-only mode.<br />

Syntax<br />

void open(LObOpenMode mode = OCCI_LOB_READWRITE);<br />

Parameters<br />

mode<br />

The mode the CLOB is to be opened in.<br />

Valid values are:<br />

OCCI_LOB_READWRITE<br />

OCCI_LOB_READONLY<br />

This method assigns a CLOB to the current CLOB. The source CLOB gets copied to<br />

the destination CLOB only when the destination CLOB gets stored in the table.<br />

Syntax<br />

Clob& operator=(const Clob &srcClob);<br />

Parameters<br />

srcClob<br />

The CLOB to copy data from.<br />

This method compares two Clob objects for equality. Two Clob objects are equal if<br />

they both refer to the same CLOB. Two null Clob objects are not considered equal.<br />

If the Blob objects are equal, then true is returned; otherwise, false is returned.<br />

Syntax<br />

bool operator==(const Clob &srcClob) const;<br />

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