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.

length()<br />

open()<br />

operator=()<br />

operator==()<br />

Bfile Class<br />

This method returns the number of bytes (inclusive of the end of file marker) in the<br />

BFILE.<br />

Syntax<br />

unsigned int length() const;<br />

This method opens an existing BFILE for read-only access. This function is<br />

meaningful the first time it is called for a Bfile object.<br />

Syntax<br />

void open();<br />

This method assigns a Bfile object to the current Bfile object. The source Bfile<br />

object is assigned to this Bfile object only when this Bfile object gets stored in<br />

the database.<br />

Syntax<br />

Bfile& operator=(const Bfile &srcBfile);<br />

Parameters<br />

srcBfile<br />

The Bfile object to be assigned to the current Bfile object.<br />

This method compares two Bfile objects for equality. The Bfile objects are equal<br />

if they both refer to the same BFILE. If the Bfile objects are null, then false is<br />

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

returned.<br />

OCCI Classes and Methods 8-9

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

Saved successfully!

Ooh no, something went wrong!