xref: /trunk/main/udkapi/com/sun/star/uno/TypeClass.idl (revision 408a4873)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_uno_TypeClass_idl__
24#define __com_sun_star_uno_TypeClass_idl__
25
26
27//=============================================================================
28
29 module com {  module sun {  module star {  module uno {
30
31//=============================================================================
32
33/** This enum describes all type classes of UNO.  Every specific type has a type
34    class specifying the general context of the reflected type.
35
36    <p>
37    Example:
38    A type reflecting the interface <type>XInterface</type> is of type class
39    INTERFACE and its name is "com.sun.star.uno.XInterface".
40    </p>
41*/
42published enum TypeClass
43{
44    /** reflecting the void type; denotes no type
45    */
46	VOID,
47    /** reflecting the 16-bit unicode character type
48    */
49	CHAR,
50    /** reflecting the boolean type; true and false
51    */
52	BOOLEAN,
53    /** reflecting the 8-bit ordinal type
54    */
55	BYTE,
56    /** reflecting the signed 16-bit ordinal type
57    */
58	SHORT,
59    /** reflecting the unsigned 16-bit ordinal type
60    */
61	UNSIGNED_SHORT,
62    /** reflecting the signed 32-bit ordinal type
63    */
64	LONG,
65    /** reflecting the unsigned 32-bit type
66    */
67	UNSIGNED_LONG,
68    /** reflecting the signed 64-bit ordinal type
69    */
70	HYPER,
71    /** reflecting the unsigned 64-bit ordinal type
72    */
73	UNSIGNED_HYPER,
74    /** reflecting the 32-bit floating point type
75    */
76	FLOAT,
77    /** reflecting the 64-bit floating point type
78    */
79	DOUBLE,
80    /** reflecting the string type; strings of unicode characters
81    */
82	STRING,
83    /** reflecting the meta type
84    */
85	TYPE,
86    /** reflecting the any type; anys can carry any UNO value except of any values
87    */
88	ANY,
89    /** reflecting enum types
90    */
91	ENUM,
92    /** reflecting typedefed types referencing other types
93    */
94	TYPEDEF,
95    /** reflecting compound types
96    */
97	STRUCT,
98    /** reflecting union types
99    */
100	UNION,
101    /** reflecting exception types
102    */
103	EXCEPTION,
104    /** reflecting sequence types
105    */
106	SEQUENCE,
107    /** reflecting array types
108    */
109	ARRAY,
110    /** reflecting interface types
111    */
112	INTERFACE,
113    /** reflecting services
114    */
115	SERVICE,
116    /** reflecting modules
117    */
118	MODULE,
119    /** reflecting interface methods
120    */
121	INTERFACE_METHOD,
122    /** reflecting interface attributes
123    */
124	INTERFACE_ATTRIBUTE,
125    /** reflecting the unreflectable type
126    */
127    UNKNOWN,
128    /** reflecting properties
129    */
130    PROPERTY,
131    /** reflecting constants
132    */
133    CONSTANT,
134    /** reflecting constants groups
135    */
136    CONSTANTS,
137    /** reflecting singletons
138    */
139    SINGLETON
140};
141
142//=============================================================================
143
144}; }; }; };
145
146/*=============================================================================
147
148=============================================================================*/
149#endif
150