J-Integra® Espresso Programming Documentation (API)

ORB.create_string_tc Method

Creates a TypeCode object representing a bounded IDL string. The TypeCode object is initialized with the given bound, which represents the maximum length of the string. Zero indicates that the string described by this type code is unbounded.

Ics.CORBA.TypeCode create_string_tc(
 int bound,
);

Parameters

bound
the bound for the wstring; cannot be negative .

Return Value

the newly-created TypeCode object describing an IDL string.

Remarks

none

Exceptions

Exception TypeCondition
Ics.CORBA.BAD_PARAM An error occurs if bound is a negative value.

See Also

ORB Interface | ORB Members | Ics Namespace