Jump to content

TypeCode print: Difference between revisions

From EDM2
Created page with "This function writes all of the information contained in a given TypeCode to "stdout". ==Syntax== TypeCode tc; Environment *env; TypeCode_print(tc, env); =..."
 
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
This function writes all of the information contained in a given TypeCode to "stdout".  
This function writes all of the information contained in a given TypeCode to "stdout".


==Syntax==
==Syntax==
Line 8: Line 8:


==Parameters==
==Parameters==
;tc (TypeCode)  
;tc (TypeCode):The TypeCode to be examined.
: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.
 
;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==
==Returns==
rc  
rc


==Remarks==
==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.  
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.  
This function is a SOM-unique extension to the CORBA standard.


==Related Information==
==Related Information==
*TypeCodeNew  
*TypeCodeNew
*TypeCode_alignment  
*TypeCode_alignment
*TypeCode_equal  
*TypeCode_equal
*TypeCode_kind  
*TypeCode_kind
*TypeCode_param_count  
*TypeCode_param_count
*TypeCode_parameter  
*TypeCode_parameter
*TypeCode_copy  
*TypeCode_copy
*TypeCode_free  
*TypeCode_free
*TypeCode_size  
*TypeCode_size
*TypeCode_setAlignment  
*TypeCode_setAlignment


[[Category:SOM IRF]]
[[Category:SOM IRF]]

Latest revision as of 17:15, 8 November 2021

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