static_context_consts.h
Go to the documentation of this file.
1 /*
2  * Copyright 2006-2008 The FLWOR Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #ifndef ZORBA_STATIC_CONTEXT_CONSTS_API_H
17 #define ZORBA_STATIC_CONTEXT_CONSTS_API_H
18 
19 namespace zorba
20 {
21 
22 /** \brief XPath 1.0 compatibility mode as defined in
23  * http://www.w3.org/TR/xquery/#static_context
24  */
26 
27 /** \brief Ordering mode as defined in http://www.w3.org/TR/xquery/#static_context.
28  */
29 typedef enum { ordered, unordered } ordering_mode_t;
30 
31 /** \brief Default order for empty sequences as defined in
32  * http://www.w3.org/TR/xquery/#static_context.
33  */
35 
36 /** \brief Inherit part of the Copy-namespace mode as defined in
37  * http://www.w3.org/TR/xquery/#static_context.
38  */
40 
41 /** \brief Preserve part of the Copy-namespace mode as defined in
42  * http://www.w3.org/TR/xquery/#static_context.
43  */
45 
46 /** \brief Boundary-space policy as defined in http://www.w3.org/TR/xquery/#static_context.
47  */
49 
50 /** \brief Construction mode as defined in http://www.w3.org/TR/xquery/#static_context.
51  */
53 
54 /** \brief The XQuery version, taken from the version declaration, an XQuery 3.0 feature.
55  */
57 
58 /** \brief The JSONiq version */
60 
61 /** \brief Revalidation mode as defined in
62  * http://www.w3.org/TR/xquery-update-10/#id-revalidation-declaration
63  * Note: when DTD validation is needed the use of validate_lax_dtd is required.
64  */
66 
67 /** \brief Maintenance mode of an index as defined
68  * in the XQuery Data Definition Facility
69  */
71 
72 /** \brief Container kind of an index as defined
73  * in the XQuery Data Definition Facility
74  */
76 
77 }
78 
79 #endif
80 /* vim:set et sw=2 ts=2: */
preserve_mode_t
Preserve part of the Copy-namespace mode as defined in http://www.w3.org/TR/xquery/#static_context.
xquery_version_t
The XQuery version, taken from the version declaration, an XQuery 3.0 feature.
jsoniq_version_t
The JSONiq version.
ordering_mode_t
Ordering mode as defined in http://www.w3.org/TR/xquery/#static_context.
boundary_space_mode_t
Boundary-space policy as defined in http://www.w3.org/TR/xquery/#static_context.
order_empty_mode_t
Default order for empty sequences as defined in http://www.w3.org/TR/xquery/#static_context.
index_container_kind_t
Container kind of an index as defined in the XQuery Data Definition Facility.
validation_mode_t
Revalidation mode as defined in http://www.w3.org/TR/xquery-update-10/#id-revalidation-declaration No...
index_maintenance_mode_t
Maintenance mode of an index as defined in the XQuery Data Definition Facility.
construction_mode_t
Construction mode as defined in http://www.w3.org/TR/xquery/#static_context.
inherit_mode_t
Inherit part of the Copy-namespace mode as defined in http://www.w3.org/TR/xquery/#static_context.
xpath1_0compatib_mode_t
XPath 1.0 compatibility mode as defined in http://www.w3.org/TR/xquery/#static_context.