Oracle Objects for OLE C++ Class Library
Release 9.0.1

Part Number A90172-01

Home

Book List

Contents

Master Index

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

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.


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents