xref: /trunk/main/cppu/inc/typelib/typeclass.h (revision 24f6443d)
1*24f6443dSAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*24f6443dSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*24f6443dSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*24f6443dSAndrew Rist  * distributed with this work for additional information
6*24f6443dSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*24f6443dSAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*24f6443dSAndrew Rist  * "License"); you may not use this file except in compliance
9*24f6443dSAndrew Rist  * with the License.  You may obtain a copy of the License at
10*24f6443dSAndrew Rist  *
11*24f6443dSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*24f6443dSAndrew Rist  *
13*24f6443dSAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*24f6443dSAndrew Rist  * software distributed under the License is distributed on an
15*24f6443dSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*24f6443dSAndrew Rist  * KIND, either express or implied.  See the License for the
17*24f6443dSAndrew Rist  * specific language governing permissions and limitations
18*24f6443dSAndrew Rist  * under the License.
19*24f6443dSAndrew Rist  *
20*24f6443dSAndrew Rist  *************************************************************/
21*24f6443dSAndrew Rist 
22*24f6443dSAndrew Rist 
23cdf0e10cSrcweir #ifndef _TYPELIB_TYPECLASS_H_
24cdf0e10cSrcweir #define _TYPELIB_TYPECLASS_H_
25cdf0e10cSrcweir 
26cdf0e10cSrcweir #include <sal/types.h>
27cdf0e10cSrcweir 
28cdf0e10cSrcweir /** This type class enum is binary compatible with the IDL enum com.sun.star.uno.TypeClass.
29cdf0e10cSrcweir */
30cdf0e10cSrcweir typedef enum _typelib_TypeClass
31cdf0e10cSrcweir {
32cdf0e10cSrcweir 	/** type class of void */
33cdf0e10cSrcweir 	typelib_TypeClass_VOID = 0,
34cdf0e10cSrcweir 	/** type class of char */
35cdf0e10cSrcweir 	typelib_TypeClass_CHAR = 1,
36cdf0e10cSrcweir 	/** type class of boolean */
37cdf0e10cSrcweir 	typelib_TypeClass_BOOLEAN = 2,
38cdf0e10cSrcweir 	/** type class of byte */
39cdf0e10cSrcweir 	typelib_TypeClass_BYTE = 3,
40cdf0e10cSrcweir 	/** type class of short */
41cdf0e10cSrcweir 	typelib_TypeClass_SHORT = 4,
42cdf0e10cSrcweir 	/** type class of unsigned short */
43cdf0e10cSrcweir 	typelib_TypeClass_UNSIGNED_SHORT = 5,
44cdf0e10cSrcweir 	/** type class of long */
45cdf0e10cSrcweir 	typelib_TypeClass_LONG = 6,
46cdf0e10cSrcweir 	/** type class of unsigned long */
47cdf0e10cSrcweir 	typelib_TypeClass_UNSIGNED_LONG = 7,
48cdf0e10cSrcweir 	/** type class of hyper */
49cdf0e10cSrcweir 	typelib_TypeClass_HYPER = 8,
50cdf0e10cSrcweir 	/** type class of unsigned hyper */
51cdf0e10cSrcweir 	typelib_TypeClass_UNSIGNED_HYPER = 9,
52cdf0e10cSrcweir 	/** type class of float */
53cdf0e10cSrcweir 	typelib_TypeClass_FLOAT = 10,
54cdf0e10cSrcweir 	/** type class of double */
55cdf0e10cSrcweir 	typelib_TypeClass_DOUBLE = 11,
56cdf0e10cSrcweir 	/** type class of string */
57cdf0e10cSrcweir 	typelib_TypeClass_STRING = 12,
58cdf0e10cSrcweir 	/** type class of type */
59cdf0e10cSrcweir 	typelib_TypeClass_TYPE = 13,
60cdf0e10cSrcweir 	/** type class of any */
61cdf0e10cSrcweir 	typelib_TypeClass_ANY = 14,
62cdf0e10cSrcweir 	/** type class of enum */
63cdf0e10cSrcweir 	typelib_TypeClass_ENUM = 15,
64cdf0e10cSrcweir 	/** type class of typedef */
65cdf0e10cSrcweir 	typelib_TypeClass_TYPEDEF = 16,
66cdf0e10cSrcweir 	/** type class of struct */
67cdf0e10cSrcweir 	typelib_TypeClass_STRUCT = 17,
68cdf0e10cSrcweir 	/** type class of union (not implemented) */
69cdf0e10cSrcweir 	typelib_TypeClass_UNION = 18,
70cdf0e10cSrcweir 	/** type class of exception */
71cdf0e10cSrcweir 	typelib_TypeClass_EXCEPTION = 19,
72cdf0e10cSrcweir 	/** type class of sequence */
73cdf0e10cSrcweir 	typelib_TypeClass_SEQUENCE = 20,
74cdf0e10cSrcweir 	/** type class of array (not implemented) */
75cdf0e10cSrcweir 	typelib_TypeClass_ARRAY = 21,
76cdf0e10cSrcweir 	/** type class of interface */
77cdf0e10cSrcweir 	typelib_TypeClass_INTERFACE = 22,
78cdf0e10cSrcweir 	/** type class of service (not implemented) */
79cdf0e10cSrcweir 	typelib_TypeClass_SERVICE = 23,
80cdf0e10cSrcweir 	/** type class of module (not implemented) */
81cdf0e10cSrcweir 	typelib_TypeClass_MODULE = 24,
82cdf0e10cSrcweir 	/** type class of interface method */
83cdf0e10cSrcweir 	typelib_TypeClass_INTERFACE_METHOD = 25,
84cdf0e10cSrcweir 	/** type class of interface attribute */
85cdf0e10cSrcweir 	typelib_TypeClass_INTERFACE_ATTRIBUTE = 26,
86cdf0e10cSrcweir 	/** type class of unknown type */
87cdf0e10cSrcweir 	typelib_TypeClass_UNKNOWN = 27,
88cdf0e10cSrcweir     /** type class of properties */
89cdf0e10cSrcweir     typelib_TypeClass_PROPERTY = 28,
90cdf0e10cSrcweir     /** type class of constants */
91cdf0e10cSrcweir     typelib_TypeClass_CONSTANT = 29,
92cdf0e10cSrcweir     /** type class of constants groups */
93cdf0e10cSrcweir     typelib_TypeClass_CONSTANTS = 30,
94cdf0e10cSrcweir     /** type class of singletons */
95cdf0e10cSrcweir     typelib_TypeClass_SINGLETON = 31,
96cdf0e10cSrcweir 	/** fixing enum size */
97cdf0e10cSrcweir 	typelib_TypeClass_MAKE_FIXED_SIZE = SAL_MAX_ENUM
98cdf0e10cSrcweir } typelib_TypeClass;
99cdf0e10cSrcweir 
100cdf0e10cSrcweir #endif
101