TypeCode size
From EDM2
This function provides the size of an instance of the abstract data type described by a given TypeCode.
Syntax
TypeCode tc; Environment *env; long rc; rc = TypeCode_size(tc, env);
Parameters
- tc (TypeCode)
- The TypeCode whose instance size 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)
- The amount of memory needed to hold an instance of the data type described by a given TypeCode. No exceptions are raised by this function.
Remarks
The TypeCode_size function is used to obtain the size of an instance of the abstract data type described by a given TypeCode.
This function is a SOM-unique extension to the CORBA standard.
Related Information
- TypeCodeNew
- TypeCode_alignment
- TypeCode_equal
- TypeCode_kind
- TypeCode_param_count
- TypeCode_parameter
- TypeCode_copy
- TypeCode_free
- TypeCode_print
- TypeCode_setAlignment