Language Mapping for Primitive Types
  • The integer-like types map to typedefs in the CORBA namespace:
    • e.g. octet --> CORBA::Octet
    • Each integer type has a specified precision (see Table 1)
    • short, long, and long long come in unsigned varieties
  • Characters and strings map reasonably intuitively
    • char is a signed 8-bit number
    • wchar maps to wchar_t
    • string maps to a null-terminated array of char (e.g. char*)
    • wstring maps to a null-terminated array of CORBA::WChar (e.g. CORBA::WChar*)

Next Slide >>