Prev Up Next
Go backward to Overview of the IDL Data Types
Go up to Top
Go forward to Defining Data Type Names and Constants

IDL Pseudo Object Types

CORBA defines a set of pseudo object types that ORB implementations use when mapping IDL to some programming languages. These object types have interfaces defined in IDL but do not have to follow the normal IDL mapping for interfaces and are not generally available in your IDL specifications.

You can use only the following pseudo object types as attribute or operation parameter types in an IDL specification:


     NamedValue 
     Principal 
     TypeCode 

To use any of these three types in an IDL specification, include the file orb.idl in the IDL file as follows:


     #include <orb.idl> 
     ... 

This statement indicates to the IDL compiler that types NamedValue, Principal, and TypeCode may be used. The file orb.idl should not actually exist in your system. Do not name any of your IDL files orb.idl.


 

Prev Up Next