3-46
SOMobjects Base Toolkit Programmer’s Reference Manual
TypeCode_param_count Function
Purpose
Obtains the number of parameters available in a given TypeCode.
IDL Syntax
long TypeCode_param_count ( );
Description
The TypeCode_param_count function can be used to obtain the actual number of
parameters contained in a specified TypeCode. Each TypeCode contains sufficient
parameters to fully describe its underlying abstract data type. Refer to the table given in the
description of the TypeCode_kind function.
Parameters
tc The TypeCode whose parameter count is desired.
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.
Return Value
Returns the actual number of parameters associated with the given TypeCode, in
accordance with the table shown in the TypeCode_kind description. No exceptions are
raised by this function.
Related Information
Functions: TypeCodeNew, TypeCode_alignment, TypeCode_copy, TypeCode_equal,
TypeCode_free, TypeCode_kind, TypeCode_paramater, TypeCode_print,
TypeCode_setAlignment, TypeCode_size
Commenti su questo manuale