IiopTypecodeCmp Function

Action

Checks whether two typecodes are equal. Since typecodes defined in CORBA contain padding bytes that can be set to arbitrary values, you cannot determine the equality of two typecodes by using binary comparison.

Include file

IIOP.bdh

Syntax

IiopTypecodeCmp( in sTypecode1 : string,
                 in nTc1Len    : number,
                 in sTypecode2 : string,
                 in nTc2Len    : number optional ): boolean;

Return value

  • true if the typecodes are equal

  • false otherwise

Parameter Description
sTypecode1 Buffer containing the first typecode.
nTc1Len Length of the first typecode.
sTypecode2 Buffer containing the second typecode.
nTc2Len Length of the second typecode (optional).