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.

fileExists()<br />

getDirAlias()<br />

getFileName()<br />

getStream()<br />

Parameters<br />

stream<br />

The stream to be closed.<br />

This method tests whether the BFILE exists. If the BFILE exists, then true is<br />

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

Syntax<br />

bool fileExists() const;<br />

This method returns a string containing the directory alias associated with the<br />

BFILE.<br />

Syntax<br />

string getDirAlias() const;<br />

Bfile Class<br />

This method returns a string containing the file name associated with the BFILE.<br />

Syntax<br />

string getFileName() const;<br />

This method returns a Stream object read from the BFILE. If a stream is already<br />

open, it is disallowed to open another stream on the Bfile object. The stream must<br />

be closed before performing any Bfile object operations.<br />

Syntax<br />

Stream* getStream(unsigned int offset = 1,<br />

unsigned int amount = 0);<br />

OCCI Classes and Methods 8-7

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

Saved successfully!

Ooh no, something went wrong!