// =====================================================================
/*!
//
//  \file TCompressObjectFilter.hh
//  \brief This file contains the TCompressObjectFilter class.
//  \author Go IWAI <goiwai@users.sourceforge.jp>
//
//  $Id: TCompressObjectFilter.hh,v 1.6 2003/12/06 10:50:44 goiwai Exp $
//  $Name: CLDAQ-1-11-00 $
//  $Log: TCompressObjectFilter.hh,v $
//  Revision 1.6  2003/12/06 10:50:44  goiwai
//  可逆な圧縮フィルターです.
//  手抜きの実装なのでまだファイルにしか対応していませんが,2倍以上速度性能
//  が向上します.
//
*/
// =====================================================================
#ifndef __TCOMPRESSOBJECTFILTER_HH
#define __TCOMPRESSOBJECTFILTER_HH

#include "Tglobals.h"
#include "TOutputObjectFilter.hh"
#include "TDataDeflation.hh"

class TStreamableObject;
class TOutputObjectStream;
class TObjectStream;

/*!
// \example
//
// If example code exists.
//
*/

/*!
// \class TCompressObjectFilter
// \brief This is the TCompressObjectFilter class.
// \author Go IWAI <goiwai@users.sourceforge.jp>
//
// The TCompressObjectFilter class detail description.
// Write it down ASAP!
//
// \todo None?
// \bug None?
// \ingroup PersistencyCategory
*/
class TCompressObjectFilter
  : public TOutputObjectFilter
{

  private:
    TDataDeflation theEncoder;

  public:
    TCompressObjectFilter();
    ~TCompressObjectFilter();

  public:
    Tint Filtering( TStreamableObject& object, TOutputObjectStream* stream );
    Tvoid Initialize( TOutputObjectStream* stream );
    Tvoid Finalize( TOutputObjectStream* stream );

};

#endif
