13.1.1.2 Complex Data Types
Object, pseudo-object, and user-defined types are mapped as shown in the following table.
Table 13-2 Object, Pseudo-object, and User-defined OMG IDL and C++ Types
OMG IDL | C++ |
---|---|
Object
|
CORBA::Object_ptr
|
struct
|
C++ struct
|
union
|
C++ class
|
enum
|
C++ enum
|
string
|
char *
|
wstring
|
CORBA::WChar *
|
sequence
|
C++ class
|
array
|
C++ array
|
The mapping for strings and UDTs is described in more detail in the following sections.
Parent topic: Data Types