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.

MetaData Class<br />

Summary of MetaData Methods<br />

getAttributeCount()<br />

getAttributeId()<br />

Table 8–13 MetaData Methods<br />

Method Summary<br />

getAttributeCount() on page 8-96 Gets the count of the attribute as a MetaData object<br />

getAttributeId() on page 8-96 Gets the ID of the specified attribute<br />

getAttributeType() on page 8-97 Gets the type of the specified attribute.<br />

getBoolean() on page 8-97 Gets the value of the attribute as a <strong>C++</strong> boolean.<br />

getInt() on page 8-97 Gets the value of the attribute as a <strong>C++</strong> int.<br />

getMetaData() on page 8-98 Gets the value of the attribute as a MetaData object<br />

getNumber() on page 8-98 Returns the specified attribute as a Number object.<br />

getRef() on page 8-98 Gets the value of the attribute as a Ref.<br />

getString() on page 8-99 Gets the value of the attribute as a string.<br />

getTimeStamp() on page 8-99 Gets the value of the attribute as a Timestamp object<br />

getUInt() on page 8-99 Gets the value of the attribute as a <strong>C++</strong> unsigned int.<br />

getVector() on page 8-100 Gets the value of the attribute as an <strong>C++</strong> vector.<br />

operator=() on page 8-100 Assigns one metadata object to another.<br />

This method returns the number of attributes related to the metadata object.<br />

Syntax<br />

unsigned int getAttributeCount() const;<br />

This method returns the attribute ID (ATTR_NUM_COLS, . . . ) of the attribute<br />

represented by the attribute number specified.<br />

Syntax<br />

AttrId getAttributeId(unsigned int attributenum) const;<br />

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