xref: /AOO41X/main/dbaccess/source/ui/inc/QEnumTypes.hxx (revision 2e2212a7c22e96cf6f6fab0dd042c34a45a64bd6)
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 DBAUI_ENUMTYPES_HXX
24 #define DBAUI_ENUMTYPES_HXX
25 
26 namespace dbaui
27 {
28     enum EOrderDir
29     {
30         ORDER_NONE=0,
31         ORDER_ASC,
32         ORDER_DESC
33     };
34 
35     enum EFunctionType
36     {
37         FKT_NONE        =0x00000000,
38         FKT_OTHER       =0x00000001,
39         FKT_AGGREGATE   =0x00000002,
40         FKT_CONDITION   =0x00000004,
41         FKT_NUMERIC     =0x00000008
42         // wenn dieser Fkt.Typ gesetzt handelt es sich um EXISTS oder UNIQUE, der FieldName enth�lt das gesamte Statement
43     };
44 
45     enum EConnectionSide
46     {
47         JTCS_FROM=0,
48         JTCS_TO
49     };
50 
51     enum ETableFieldType
52     {
53         TAB_NORMAL_FIELD=0,
54         TAB_PRIMARY_FIELD
55     };
56 
57     enum EJoinType
58     {
59         FULL_JOIN=0,
60         LEFT_JOIN,
61         RIGHT_JOIN,
62         UNION_JOIN,
63         CROSS_JOIN,
64         INNER_JOIN
65     };
66 
67     //==================================================================
68     enum EControlType
69     {
70         tpDefault = 0,
71         tpRequired,
72         tpTextLen,
73         tpNumType,
74         tpLength,
75         tpScale,
76         tpFormat,
77         tpAutoIncrement,
78         tpBoolDefault,
79         tpColumnName,
80         tpType,
81         tpAutoIncrementValue
82     };
83 }
84 #endif // DBAUI_ENUMTYPES_HXX
85 
86 
87