TypeCode param count
From EDM2
This function obtains the number of parameters available in a given TypeCode.
Syntax
TypeCode tc; Environment *env; long rc; rc = TypeCode_param_count(tc, env);
Parameters
- tc (TypeCode)
- The TypeCode whose parameter count is desired.
- env (Environment *)
- 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.
Returns
- rc (long)
- Returns the actual number of parameters associated with the given TypeCode, in accordance with Table 1. No exceptions are raised by this function.
Remarks
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 Table 1.
Related Information
- TypeCodeNew
- TypeCode_alignment
- TypeCode_equal
- TypeCode_kind
- TypeCode_parameter
- TypeCode_copy
- TypeCode_free
- TypeCode_print
- TypeCode_size
- TypeCode_setAlignment