Jump to content

TypeCode print

From EDM2
Revision as of 17:15, 8 November 2021 by Ak120 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function writes all of the information contained in a given TypeCode to "stdout".

Syntax

TypeCode         tc;
Environment     *env;

TypeCode_print(tc, env);

Parameters

tc (TypeCode)
The TypeCode to be examined.
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

Remarks

The TypeCode_print function can be used during program debugging to inspect the contents of a TypeCode. It prints (in a human-readable format) all of the information contained in the TypeCode. The format of the information shown by TypeCode_print is the same form that could be used by a C programmer to code the corresponding TypeCodeNew function call to create the 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_size
  • TypeCode_setAlignment