00001 #ifndef FILTEROUTPUTSTREAMBUF_H 00002 #define FILTEROUTPUTSTREAMBUF_H 00003 00004 #include "zipios-config.h" 00005 00006 #include "meta-iostreams.h" 00007 00008 namespace zipios { 00009 00010 using std::streambuf ; 00011 00014 class BaseExport FilterOutputStreambuf : public streambuf { 00015 public: 00016 00021 explicit FilterOutputStreambuf( streambuf *outbuf, bool del_outbuf = false ) ; 00022 00024 virtual ~FilterOutputStreambuf() ; 00025 00026 protected: 00027 streambuf *_outbuf ; 00028 bool _del_outbuf ; 00029 }; 00030 00031 00032 } // namespace 00033 00034 00035 #endif 00036 00041 /* 00042 Zipios++ - a small C++ library that provides easy access to .zip files. 00043 Copyright (C) 2000 Thomas Søndergaard 00044 00045 This library is free software; you can redistribute it and/or 00046 modify it under the terms of the GNU Lesser General Public 00047 License as published by the Free Software Foundation; either 00048 version 2 of the License, or (at your option) any later version. 00049 00050 This library is distributed in the hope that it will be useful, 00051 but WITHOUT ANY WARRANTY; without even the implied warranty of 00052 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00053 Lesser General Public License for more details. 00054 00055 You should have received a copy of the GNU Lesser General Public 00056 License along with this library; if not, write to the Free Software 00057 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00058 */