00001 // ===================================================================== 00027 // ===================================================================== 00028 #ifdef __CLDAQ_ZLIB_USE 00029 #ifndef CLDAQ__TCOMPRESSOBJECTFILTER_HH 00030 #define CLDAQ__TCOMPRESSOBJECTFILTER_HH 00031 00032 #include "Tglobals.h" 00033 #include "TOutputObjectFilter.hh" 00034 #include "TDataDeflation.hh" 00035 00036 class TStreamableObject; 00037 class TOutputObjectStream; 00038 class TObjectStream; 00039 00059 class TCompressObjectFilter 00060 : public TOutputObjectFilter 00061 { 00062 00063 private: 00064 TDataDeflation theEncoder; 00065 00066 public: 00067 TCompressObjectFilter(); 00068 ~TCompressObjectFilter(); 00069 00070 public: 00071 Tint Filtering( TStreamableObject& object, TOutputObjectStream* stream ); 00072 Tvoid Initialize( TOutputObjectStream* stream ); 00073 Tvoid Finalize( TOutputObjectStream* stream ); 00074 00075 #ifdef __CLDAQ_ROOT_DLL 00076 ClassDef(TCompressObjectFilter,0) 00077 #endif 00078 00079 }; 00080 00081 #endif 00082 #endif