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.

OTT Utility Datatype Mappings<br />

#ifndef MYFILENAME_ORACLE<br />

# define MYFILENAME_ORACLE<br />

#ifndef OCCI_ORACLE<br />

# include <br />

#endif<br />

/************************************************************/<br />

// generated declarations for the OBJECT_TYPE object type.<br />

/************************************************************/<br />

class object_type : public oracle::occi::PObject {<br />

protected:<br />

OCCI_STD_NAMESPACE::string object_name;<br />

public:<br />

};<br />

void *operator new(size_t size);<br />

void *operator new(size_t size, const oracle::occi::Connection * sess,<br />

const OCCI_STD_NAMESPACE::string& table);<br />

OCCI_STD_NAMESPACE::string getSQLTypeName() const;<br />

object_type();<br />

object_type(void *ctxOCCI_) : oracle::occi::PObject (ctxOCCI_) { };<br />

static void *readSQL(void *ctxOCCI_);<br />

virtual void readSQL(oracle::occi::AnyData& streamOCCI_);<br />

static void writeSQL(void *objOCCI_, void *ctxOCCI_);<br />

virtual void writeSQL(oracle::occi::AnyData& streamOCCI_);<br />

/************************************************************/<br />

// generated declarations for the OTHER_TYPE object type.<br />

/************************************************************/<br />

7-24 <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!