Zipios++
filterinputstreambuf.h
Go to the documentation of this file.
1#ifndef FILTERINPUTSTREAMBUF_H
2#define FILTERINPUTSTREAMBUF_H
3
4#include "zipios++/zipios-config.h"
5
6#include "zipios++/meta-iostreams.h"
7
8namespace zipios {
9
10using std::streambuf ;
11
15class FilterInputStreambuf : public streambuf {
16public:
22 explicit FilterInputStreambuf( streambuf *inbuf, bool del_inbuf = false ) ;
24 virtual ~FilterInputStreambuf() ;
25
26protected:
27 int _s_pos ; // Position in this streambuf - FIXME: is this used?
28 streambuf *_inbuf ;
29 bool _del_inbuf ;
30private:
31
34
36 const FilterInputStreambuf &operator= ( const FilterInputStreambuf &src ) ;
37};
38
39
40} // namespace
41
42
43#endif
44
49/*
50 Zipios++ - a small C++ library that provides easy access to .zip files.
51 Copyright (C) 2000 Thomas Søndergaard
52
53 This library is free software; you can redistribute it and/or
54 modify it under the terms of the GNU Lesser General Public
55 License as published by the Free Software Foundation; either
56 version 2 of the License, or (at your option) any later version.
57
58 This library is distributed in the hope that it will be useful,
59 but WITHOUT ANY WARRANTY; without even the implied warranty of
60 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
61 Lesser General Public License for more details.
62
63 You should have received a copy of the GNU Lesser General Public
64 License along with this library; if not, write to the Free Software
65 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
66*/
An input streambuf filter is a streambuf that filters the input it gets from the streambuf it is atta...
virtual ~FilterInputStreambuf()
Destructor.