TypeCode::length

Overview Returns the bound of a string or sequence, or the number of elements in an array.
Original class CORBA::TypeCode
Exceptions CORBA::SystemException
CORBA::TypeCode::BadKind


Intended Usage

The length method can be invoked on string, sequence, and array TypeCodes. For strings and sequences, the length method returns a bound, with zero indicating an unbounded string or sequence. For arrays, the length method returns the number of elements in an array.

Syntax

  CORBA::ULong length() const;

Input parameters

None.

Return values

CORBA::ULong
The bound of the string or sequence, the number of elements in the array.

Related reference
CORBA module



Searchable topic ID:   rcor_modtc9
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_modtc9.html

Library | Support | Terms of Use | Feedback