3 // ===================================================================
5 * @file TestCompressor.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_TESTCOMPRESSOR_H
14 #define TAO_TESTCOMPRESSOR_H
16 #include /**/ "ace/pre.h"
18 #include "TestCompressor_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_TESTCOMPRESSOR_Export TestCompressor
: public BaseCompressor
34 TestCompressor (::Compression::CompressorFactory_ptr compressor_factory
,
35 ::Compression::CompressionLevel compression_level
);
37 virtual void compress (
38 const ::Compression::Buffer
&,
39 ::Compression::Buffer
&);
41 virtual void decompress (
42 const ::Compression::Buffer
&,
43 ::Compression::Buffer
&);
47 TAO_END_VERSIONED_NAMESPACE_DECL
49 #include /**/ "ace/post.h"
51 #endif /* TAO_TESTCOMPRESSOR_H */