[Enterprise Extensions only]

TypeCode::equal

Overview Compares two TypeCodes for equality.
Original class CORBA::TypeCode
Exceptions CORBA::SystemException


Intended Usage

The equal method can be invoked on any TypeCode. The equal method is used to determine whether two distinct TypeCodes describe the same underlying abstract data type. Equivalent TypeCodes produce the same results when TypeCode methods are invoked on them.

IDL Syntax

  CORBA::Boolean equal(CORBA::TypeCode_ptr tc) const;

Input parameters

tc
A pointer to the TypeCode to be compared against the target TypeCode.

Return values

CORBA::Boolean
A return value of one indicates that the input TypeCode and the target TypeCode are equal. A return value of zero indicates the TypeCodes are not equal.