Logo Search packages:      
Sourcecode: tardy version File versions  Download package

filter.cc

//
//    tardy - a tar post-processor
//    Copyright (C) 2003 Peter Miller;
//    All rights reserved.
//
//    This program is free software; you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation; either version 2 of the License, or
//    (at your option) any later version.
//
//    This program is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.
//
//    You should have received a copy of the GNU General Public License
//    along with this program; if not, write to the Free Software
//    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
//
// MANIFEST: functions to manipulate filters
//

#pragma implementation "tar_output_filter"

#include <tar/output/filter.h>


00028 tar_output_filter::~tar_output_filter()
{
    delete deeper;
}


00034 tar_output_filter::tar_output_filter(tar_output *arg) :
    deeper(arg)
{
}


void
00041 tar_output_filter::write_header(const tar_header &arg)
{
    deeper->write_header(arg);
}


void
00048 tar_output_filter::write_header_padding()
{
    deeper->write_header_padding();
}


void 
00055 tar_output_filter::write_data(const void *arg1, int arg2)
{
    deeper->write_data(arg1, arg2);
}


void
00062 tar_output_filter::write_data_padding()
{
    deeper->write_data_padding();
}


const char *
00069 tar_output_filter::filename()
    const
{
    return deeper->filename();
}


void
00077 tar_output_filter::write_archive_begin()
{
    deeper->write_archive_begin();
}


void
00084 tar_output_filter::write_archive_end()
{
    deeper->write_archive_end();
}

Generated by  Doxygen 1.6.0   Back to index