CORBA module: PrimitiveDef Interface

Overview The PrimitiveDef interface is used by the Interface Repository to represent one of the OMG IDL primitive data types.
File name wasir.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 type (The OMG IDL primitive data types include CORBA::Null, CORBA::Void, CORBA::Short, CORBA::Long, CORBA::UShort, CORBA::ULong, CORBA::Float, CORBA::Double, CORBA::Boolean, CORBA::Char, CORBA::Octet, CORBA::Any, CORBA::TypeCode, CORBA::Principal, CORBA::String, CORBA::LongLong, CORBA::ULongLong,CORBA::Wstring, CORBA::Wchar, and CORBA::Objref.).

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.

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
PrimitiveDef::kind
IDL type declarations



Searchable topic ID:   rcor_modprd
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_modprd.html

Library | Support | Terms of Use | Feedback