Main Page   Class Hierarchy   Compound List   File List   Compound Members  

filteroutputstreambuf.cpp

Go to the documentation of this file.
00001 
00002 #include "zipios++/zipios-config.h"
00003 
00004 #include "zipios++/filteroutputstreambuf.h"
00005 
00006 namespace zipios {
00007 
00008 FilterOutputStreambuf::FilterOutputStreambuf( streambuf *outbuf, bool del_outbuf ) 
00009   : _outbuf( outbuf),
00010     _del_outbuf( del_outbuf )
00011 {
00012   if ( _outbuf == NULL ) {
00013     // throw an exception
00014   }
00015 }
00016 
00017 
00018 FilterOutputStreambuf::~FilterOutputStreambuf() {
00019   if ( _del_outbuf )
00020     delete _outbuf ;
00021 }
00022 
00023 
00024 } // namespace
00025 
00030 /*
00031   Zipios++ - a small C++ library that provides easy access to .zip files.
00032   Copyright (C) 2000  Thomas Søndergaard
00033   
00034   This library is free software; you can redistribute it and/or
00035   modify it under the terms of the GNU Lesser General Public
00036   License as published by the Free Software Foundation; either
00037   version 2 of the License, or (at your option) any later version.
00038   
00039   This library is distributed in the hope that it will be useful,
00040   but WITHOUT ANY WARRANTY; without even the implied warranty of
00041   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00042   Lesser General Public License for more details.
00043   
00044   You should have received a copy of the GNU Lesser General Public
00045   License along with this library; if not, write to the Free Software
00046   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
00047 */

Generated at Tue Aug 14 20:39:26 2001 for Zipios++ by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000