![]() |
Overview The PrimitiveDef interface is used by the Interface Repository to represent one of the OMG IDL primitive data types. File name somir.idl Local-only True Ancestor interfaces IDLType Interface Exceptions CORBA::SystemException Supported operations PrimitiveDef::kind IDLType::type
Intended Usage
An instance of a PrimitiveDef object is used by the Interface Repository to represent an OMG IDL primitive data type1.
PrimitiveDef objects are not named Interface Repository objects, and as such do not reside as named objects in the Interface Repository database. PrimitiveDef objects are used to create other Interface Repository objects (both named and un-named). An instance of an PrimitiveDef object can be created using the get_primitive operation of the Repository interface.
IDL syntax
module CORBA { enum PrimitiveKind { pk_null, pk_void, pk_short, pk_long, pk_ushort, pk_ulong, pk_float, pk_double, pk_boolean, pk_char, pk_octet, pk_any, pk_TypeCode, pk_Principal, pk_string, pk_objref, pk_longlong, pk_ulonglong, //supported on AIX and Windows NT pk_wchar, pk_wstring, pk_longdouble //not supported }; interface PrimitiveDef:IDLType { readonly attribute PrimitiveKind kind; }; };
Related reference... | |
Parent: CORBA module in Object Request Broker | |
PrimitiveDef::kind | |
IDL type declarations | |