3-39
Interface Repository Framework Reference
TypeCode_equal Function
Purpose
Compares two TypeCodes for equality.
IDL Syntax
boolean TypeCode_equal (
TypeCode tc2);
Description
The TypeCode_equal function can be used to determine if two distinct TypeCodes
describe the same underlying abstract data type.
Parameters
tc One of the TypeCodes to be compared.
ev A pointer to an Environment structure. The CORBA standard mandates
the use of this structure as a standard way to return exception information
when an error condition is detected.
tc2 The other TypeCode to be compared.
Return Value
Returns TRUE (1) if the TypeCodes tc and tc2 describe the same data type, with the same
alignment. Otherwise, FALSE (0) is returned. No exceptions are raised by this function.
Related Information
Functions: TypeCodeNew, TypeCode_alignment, TypeCode_copy, TypeCode_free,
TypeCode_kind, TypeCode_param_count, TypeCode_parameter, TypeCode_print,
TypeCode_setAlignment, TypeCode_size
Comentários a estes Manuais