streambuf.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 
17 #ifndef ZORBA_INTERNAL_STREAMBUF_H
18 #define ZORBA_INTERNAL_STREAMBUF_H
19 
20 #include <streambuf>
21 
22 #include <zorba/config.h>
23 #include <zorba/internal/proxy.h>
24 
25 namespace zorba {
26 namespace internal {
27 
28 ///////////////////////////////////////////////////////////////////////////////
29 
31 
32 ZORBA_DLL_PUBLIC
33 void dealloc_streambuf( std::streambuf* );
34 
35 ZORBA_DLL_PUBLIC
36 void stream_callback( std::ios_base::event, std::ios_base&, int index );
37 
38 ///////////////////////////////////////////////////////////////////////////////
39 
40 } // namespace internal
41 } // namespace zorba
42 #endif /* ZORBA_INTERNAL_STREAMBUF_H */
43 /* vim:set et sw=2 ts=2: */
ztd::proxy< std::streambuf > proxy_streambuf
Definition: streambuf.h:30
ZORBA_DLL_PUBLIC void stream_callback(std::ios_base::event, std::ios_base &, int index)
ZORBA_DLL_PUBLIC void dealloc_streambuf(std::streambuf *)