summaryrefslogtreecommitdiff
path: root/TAO/tests/DynAny_Test/tckind.idl
blob: 07df82ece161f1d9e84b0d29f4085170f12dad39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* -*- C++ -*- */
// $Id$

// IDL
enum TCKind
  {
    // = Kinds of typecodes.

    // Do not change these enum values, or duplicate them if you need
    // to add values.  They are used to index tables, and if you
    // change the values you'll need to find and update all of those
    // tables.  The values are also part of the Common Data
    // Representation, and hence are part of IIOP and other ORB
    // protocols.

    tk_null,
    tk_void,
    tk_short,
    tk_long,
    tk_ushort,
    tk_ulong,
    tk_float,
    tk_double,
    tk_boolean,
    tk_char,
    tk_octet,
    tk_any,
    tk_TypeCode,
    tk_Principal,
    tk_objref,
    tk_struct,
    tk_union,
    tk_enum,
    tk_string,
    tk_sequence,
    tk_array,
    tk_alias,               // 94-11-7
    tk_except,              // 94-11-7

    // = These five are OMG-IDL data type extensions.
    tk_longlong,            // 94-9-32 Appendix A (+ 2)
    tk_ulonglong,           // 94-9-32 Appendix A (+ 2)
    tk_longdouble,          // 94-9-32 Appendix A (+ 2)
    tk_wchar,               // 94-9-32 Appendix A (+ 2)
    tk_wstring,             // 94-9-32 Appendix A (+ 2)

    // This symbol is not defined by CORBA 2.0.  It's used to speed up
    // dispatch based on TCKind values, and lets many important ones
    // just be table lookups.  It must always be the last enum value!!

    TC_KIND_COUNT
  };