00001 #ifndef FILTERINPUTSTREAMBUF_H
00002 #define FILTERINPUTSTREAMBUF_H
00003
00004 #include "zipios++/zipios-config.h"
00005
00006 #include "zipios++/meta-iostreams.h"
00007
00008 namespace zipios {
00009
00010 using std::streambuf ;
00011
00015 class FilterInputStreambuf : public streambuf {
00016 public:
00022 explicit FilterInputStreambuf( streambuf *inbuf, bool del_inbuf = false ) ;
00024 virtual ~FilterInputStreambuf() ;
00025
00026 protected:
00027 int _s_pos ; // Position in this streambuf - FIXME: is this used?
00028 streambuf *_inbuf ;
00029 bool _del_inbuf ;
00030 private:
00031
00033 FilterInputStreambuf( const FilterInputStreambuf &src ) ;
00034
00036 const FilterInputStreambuf &operator= ( const FilterInputStreambuf &src ) ;
00037 };
00038
00039
00040 } // namespace
00041
00042
00043 #endif
00044
00049 /*
00050 Zipios++ - a small C++ library that provides easy access to .zip files.
00051 Copyright (C) 2000 Thomas Søndergaard
00052
00053 This library is free software; you can redistribute it and/or
00054 modify it under the terms of the GNU Lesser General Public
00055 License as published by the Free Software Foundation; either
00056 version 2 of the License, or (at your option) any later version.
00057
00058 This library is distributed in the hope that it will be useful,
00059 but WITHOUT ANY WARRANTY; without even the implied warranty of
00060 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00061 Lesser General Public License for more details.
00062
00063 You should have received a copy of the GNU Lesser General Public
00064 License along with this library; if not, write to the Free Software
00065 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00066 */
1.2.0 written by Dimitri van Heesch,
© 1997-2000