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 #pragma once
17 #ifndef ZSTRING_H
18 #define ZSTRING_H
19 
20 #include "util/atomic_int.h"
21 #include "util/string/buf_rep.h"
22 #include "util/string/default_rep.h"
23 #include "util/string/ptr_rep.h"
24 #include "util/string/rep_proxy.h"
25 #include "util/string/rstring.h"
26 
27 namespace zorba {
28 
29 typedef rstring_classes::rep<atomic_int> default_rep;
30 typedef rstring_classes::ptr_rep<atomic_int> ptr_rep;
31 typedef rstring_classes::buf_rep<default_rep> buf_rep;
32 
33 typedef rstring< default_rep > zstring;
34 typedef rstring< ptr_rep > zstring_p;
35 typedef rstring< buf_rep > zstring_b;
36 
37 } // namespace zorba
38 
39 #endif /* ZSTRING_H */
40 /* vim:set et sw=2 ts=2: */
41