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