Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / TAO / tao / Compression / zlib / ZlibCompressor.h
blob39288abf8d3678de9d9d9f38fa2789e3d8dc82b6
1 // -*- C++ -*-
3 // ===================================================================
4 /**
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)
21 # 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
29 namespace TAO
31 class TAO_ZLIBCOMPRESSOR_Export ZlibCompressor : public BaseCompressor
33 public:
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 */