Skip navigation.

CORBA Programming Reference

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents View as PDF   Get Adobe Reader

 


CORBA::TypeCode::kind

Synopsis

Retrieves the kind of data contained in the TypeCode object reference.

C++ Binding

CORBA::TCKind CORBA::TypeCode::kind () const;

Arguments

None.

Description

This member function retrieves the kind attribute of the CORBA::TypeCode class, which specifies the kind of data contained in the TypeCode object reference.

Return Values

If the member function succeeds, it returns the kind of data contained in the TypeCode object reference. For a list of the TypeCode kinds and their parameters, see Table 14-2.

If the member function does not succeed, an exception is thrown.

Table 14-2 Legal Typecode Kinds and Parameters 

TypeCode Kind

Parameters List

CORBA::tk_null

*NONE*

CORBA::tk_void

*NONE*

CORBA::tk_short

*NONE*

CORBA::tk_long

*NONE*

CORBA::tk_long

*NONE*

CORBA::tk_ushort

*NONE*

CORBA::tk_ulong

*NONE*

CORBA::tk_float

*NONE*

CORBA::tk_double

*NONE*

CORBA::tk_boolean

*NONE*

CORBA::tk_char

*NONE*

CORBA::tk_wchar

*NONE*

CORBA::tk_octet

*NONE*

CORBA::tk_Typecode

*NONE*

CORBA::tk_Principal

*NONE*

CORBA::tk_objref

{interface_id}

CORBA::tk_struct

{struct-name, member-name, TypeCode, ... (repeat pairs)}

CORBA::tk_union

{union-name, switch-TypeCode, label-value, member-name, enum-id, ...}

CORBA::tk_enum

{enum-name, enum-id, ...}

CORBA::tk_string

{maxlen-integer}

CORBA::tk_wstring

{maxlen-integer}

CORBA::tk_sequence

{TypeCode, maxlen-integer}

CORBA::tk_array

{TypeCode, length-integer}


 

 

Skip navigation bar  Back to Top Previous Next