1 | /*
|
---|
2 | * structured query condition
|
---|
3 | *
|
---|
4 | * Copyright 2009 Maarten Lankhorst
|
---|
5 | *
|
---|
6 | * This library is free software; you can redistribute it and/or
|
---|
7 | * modify it under the terms of the GNU Lesser General Public
|
---|
8 | * License as published by the Free Software Foundation; either
|
---|
9 | * version 2.1 of the License, or (at your option) any later version.
|
---|
10 | *
|
---|
11 | * This library is distributed in the hope that it will be useful,
|
---|
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
14 | * Lesser General Public License for more details.
|
---|
15 | *
|
---|
16 | * You should have received a copy of the GNU Lesser General Public
|
---|
17 | * License along with this library; if not, write to the Free Software
|
---|
18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
19 | *
|
---|
20 | */
|
---|
21 |
|
---|
22 | /*
|
---|
23 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
24 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
25 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
26 | * a choice of LGPL license versions is made available with the language indicating
|
---|
27 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
28 | * of the LGPL is applied is otherwise unspecified.
|
---|
29 | */
|
---|
30 |
|
---|
31 | import "oaidl.idl";
|
---|
32 | import "ocidl.idl";
|
---|
33 | import "objidl.idl";
|
---|
34 | import "propidl.idl";
|
---|
35 |
|
---|
36 | typedef [v1_enum] enum tagCONDITION_TYPE
|
---|
37 | {
|
---|
38 | CT_AND_CONDITION,
|
---|
39 | CT_OR_CONDITION,
|
---|
40 | CT_NOT_CONDITION,
|
---|
41 | CT_LEAF_CONDITION
|
---|
42 | } CONDITION_TYPE;
|
---|
43 |
|
---|
44 | typedef [v1_enum] enum tagCONDITION_OPERATION
|
---|
45 | {
|
---|
46 | COP_IMPLICIT,
|
---|
47 | COP_EQUAL,
|
---|
48 | COP_NOTEQUAL,
|
---|
49 | COP_LESSTHAN,
|
---|
50 | COP_GREATERTHAN,
|
---|
51 | COP_LESSTHANOREQUAL,
|
---|
52 | COP_GREATERTHANOREQUAL,
|
---|
53 | COP_VALUE_STARTSWITH,
|
---|
54 | COP_VALUE_ENDSWITH,
|
---|
55 | COP_VALUE_CONTAINS,
|
---|
56 | COP_VALUE_NOTCONTAINS,
|
---|
57 | COP_DOSWILDCARDS,
|
---|
58 | COP_WORD_EQUAL,
|
---|
59 | COP_WORD_STARTSWITH,
|
---|
60 | COP_APPLICATION_SPECIFIC
|
---|
61 | } CONDITION_OPERATION;
|
---|