Chapter 2. The CORBA -> caml mapping

Table of Contents

Basic types
Structured types
Structures
Enumerations
Discriminated unions
Objects and Modules
low-level mapping
object layer
Example
Unsupported types

Basic types

Table 2.1. Mapping of basic CORBA types

CORBA typecaml type
short, unsigned short, octetint
long, unsigned longint or int32[a]
long long, unsigned long longint64
charchar
float, doublefloat
booleanbool
string, string <length>string[b]
sequence <type, length>type list[c]
sequence <octet>string

[a] depending on compiler option (not implemented yet)

[b] the optional maximum size of the string isn't reflected in the type but may provoke a runtime exception.

[c] the optional maximum size of the sequence isn't reflected in the type but may provoke a runtime exception.