Zorba
The XQuery Processor
Documentation
Live Demo
Modules
Download
Tools
Blog
Code
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
include
zorba
store_manager.h
Go to the documentation of this file.
1
/*
2
* Copyright 2006-2010 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_STORE_MANAGER_H
17
#define ZORBA_STORE_MANAGER_H
18
19
#include <zorba/config.h>
20
21
namespace
zorba {
22
23
24
/**
25
* Class contains helper functions to create and destroy the store that is
26
* to be used by the zorba library. The functions must be implemented in the
27
* code of each store module.
28
*/
29
class
ZORBA_DLL_PUBLIC
StoreManager
30
{
31
public
:
32
static
void
* getStore();
33
34
static
void
shutdownStore(
void
* store);
35
};
36
37
}
38
39
#endif
40
41
/*
42
* Local variables:
43
* mode: c++
44
* End:
45
*/
46
/* vim:set et sw=2 ts=2: */