Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 1 (10.1)

Part Number B10119-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

GetAttrValue Method

Applies To

OObject

Description

Returns the value of the attribute.

Usage

OValue GetAttrValue(int index) const throw(OException)

OValue GetAttrValue(const char *attrname) const throw(OException)

void GetAttrValue(int index, OValue *val) const throw(OException)

void GetAttrValue(int index, int *val) const throw(OException)

void GetAttrValue(int index, long *val) const throw(OException)

void GetAttrValue(int index, double *val) const throw(OException)

void GetAttrValue(int index, char *val, unsigned short maxlen) const throw(OException)

void GetAttrValue(int index, OBlob *val) const throw(OException)

void GetAttrValue(int index, OClob *val) const throw(OException)

void GetAttrValue(int index, OBfile *val) const throw(OException)

void GetAttrValue(int index, ORef *val) const throw(OException)

void GetAttrValue(int index, OObject *val) const throw(OException)

void GetAttrValue(int index, OCollection *val) const throw(OException)

void GetAttrValue(const char *attrname, OValue *val) const throw(OException)

void GetAttrValue(const char *attrname, int *val) const throw(OException)

void GetAttrValue(const char *attrname, long *val) const throw(OException)

void GetAttrValue(const char *attrname, double *val) const throw(OException);

void GetAttrValue(const char *attrname, char *val, unsigned short maxlen) const throw(OException)

void GetAttrValue(const char *attrname, OBlob *val) const throw(OException)

void GetAttrValue(const char *attrname, OClob *val) const throw(OException)

void GetAttrValue(const char *attrname, OBfile *val) const throw(OException)

void GetAttrValue(const char *attrname, ORef *val) const throw(OException)

void GetAttrValue(const char *attrname, OObject *val) const throw(OException)

void GetAttrValue(const char *attrname, OCollection *val) const throw(OException)

Arguments
Description
index
An integer index between 0 and count-1.
attrname
A string containing the name of the attribute.
val
A variable, of one of a number of types, that will receive the value of the specified object.
maxlen
The maximum number of bytes that can be placed in val.
Remarks

The length indicated by maxlen should include one byte for a null terminator which is automatically added in the last byte of the buffer.