3 // ===================================================================
5 * @file ZlibCompressor.h
7 * See http://www.zlib.net/manual.html for the zlib interface itself
9 * @author Johnny Willemsen <jwillemsen@remedy.nl>
11 // ===================================================================
13 #ifndef TAO_ZLIBCOMPRESSOR_H
14 #define TAO_ZLIBCOMPRESSOR_H
16 #include /**/ "ace/pre.h"
18 #include "tao/Compression/zlib/ZlibCompressor_export.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include "tao/Compression/Compression.h"
25 #include "tao/Compression/Base_Compressor.h"
27 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
31 class TAO_ZLIBCOMPRESSOR_Export ZlibCompressor
: public BaseCompressor
34 ZlibCompressor (::Compression::CompressorFactory_ptr compressor_factory
,
35 ::Compression::CompressionLevel compression_level
);
37 virtual void compress (
38 const ::Compression::Buffer
& source
,
39 ::Compression::Buffer
& target
);
41 virtual void decompress (
42 const ::Compression::Buffer
& source
,
43 ::Compression::Buffer
& target
);
47 TAO_END_VERSIONED_NAMESPACE_DECL
49 #include /**/ "ace/post.h"
51 #endif /* TAO_ZLIBCOMPRESSOR_H */