xref: /trunk/main/udkapi/com/sun/star/uno/TypeClass.idl (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27#ifndef __com_sun_star_uno_TypeClass_idl__
28#define __com_sun_star_uno_TypeClass_idl__
29
30
31//=============================================================================
32
33 module com {  module sun {  module star {  module uno {
34
35//=============================================================================
36
37/** This enum describes all type classes of UNO.  Every specific type has a type
38    class specifying the general context of the reflected type.
39
40    <p>
41    Example:
42    A type reflecting the interface <type>XInterface</type> is of type class
43    INTERFACE and its name is "com.sun.star.uno.XInterface".
44    </p>
45*/
46published enum TypeClass
47{
48    /** reflecting the void type; denotes no type
49    */
50	VOID,
51    /** reflecting the 16-bit unicode character type
52    */
53	CHAR,
54    /** reflecting the boolean type; true and false
55    */
56	BOOLEAN,
57    /** reflecting the 8-bit ordinal type
58    */
59	BYTE,
60    /** reflecting the signed 16-bit ordinal type
61    */
62	SHORT,
63    /** reflecting the unsigned 16-bit ordinal type
64    */
65	UNSIGNED_SHORT,
66    /** reflecting the signed 32-bit ordinal type
67    */
68	LONG,
69    /** reflecting the unsigned 32-bit type
70    */
71	UNSIGNED_LONG,
72    /** reflecting the signed 64-bit ordinal type
73    */
74	HYPER,
75    /** reflecting the unsigned 64-bit ordinal type
76    */
77	UNSIGNED_HYPER,
78    /** reflecting the 32-bit floating point type
79    */
80	FLOAT,
81    /** reflecting the 64-bit floating point type
82    */
83	DOUBLE,
84    /** reflecting the string type; strings of unicode characters
85    */
86	STRING,
87    /** reflecting the meta type
88    */
89	TYPE,
90    /** reflecting the any type; anys can carry any UNO value except of any values
91    */
92	ANY,
93    /** reflecting enum types
94    */
95	ENUM,
96    /** reflecting typedefed types referencing other types
97    */
98	TYPEDEF,
99    /** reflecting compound types
100    */
101	STRUCT,
102    /** reflecting union types
103    */
104	UNION,
105    /** reflecting exception types
106    */
107	EXCEPTION,
108    /** reflecting sequence types
109    */
110	SEQUENCE,
111    /** reflecting array types
112    */
113	ARRAY,
114    /** reflecting interface types
115    */
116	INTERFACE,
117    /** reflecting services
118    */
119	SERVICE,
120    /** reflecting modules
121    */
122	MODULE,
123    /** reflecting interface methods
124    */
125	INTERFACE_METHOD,
126    /** reflecting interface attributes
127    */
128	INTERFACE_ATTRIBUTE,
129    /** reflecting the unreflectable type
130    */
131    UNKNOWN,
132    /** reflecting properties
133    */
134    PROPERTY,
135    /** reflecting constants
136    */
137    CONSTANT,
138    /** reflecting constants groups
139    */
140    CONSTANTS,
141    /** reflecting singletons
142    */
143    SINGLETON
144};
145
146//=============================================================================
147
148}; }; }; };
149
150/*=============================================================================
151
152=============================================================================*/
153#endif
154