Oracle Objects for OLE C++ Class Library
Release 9.2

Part Number A95896-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

operator==

Applies To

OAdvise, OClient, OConnection, OConnectionCollection, ODatabase, ODatabaseCollection, ODynaset, ODynasetMark, OField, OFieldCollection, OParameter, OParameterCollection, OSession, OSessionCollection, OValue, OAQ, OAQAgent, OAQMsg, OBfile, OBlob, OClob, OCollection, OException, OMDAttribute, OMetaData, OObject, ORef, OServer, OSnapshotID

Description

Equivalence operator

Usage

int OOracleObject::operator==(const OOracleObject &other)

int ODynasetMark::operator==(const ODynasetMark &other)

int OValue::operator==(const OValue &other)

Arguments

other
The other object to which this object is being compared.
Remarks

For the subclasses of OOracleObject - namely OAdvise, OClient, OConnection, OConnectionCollection, ODatabase, ODynaset, ODynasetMark, OField, OFieldCollection, OParameter, OParameterCollection, OSession, and OSessionCollection - two objects are the same if they refer to the same underlying implementation object. If one object was assigned from the other or copy constructed from the other, or if they were both obtained from some other object in the same way, they are equal.

If either of the objects is closed (and even if they are both closed), they are considered unequal.

Two OValue objects are equal if their values are equal. This equality crosses over type boundaries: integer 34 equals double 34.0 equals string "34".

Return Value

1 if the objects are equal; 0 if they are not.


 
Oracle
Copyright © 1998, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback