3 // ===================================================================
5 * @file RLECompressor.h
7 * @author Derek Dominish <derek.dominish@dsto.defence.gov.au>
9 // ===================================================================
11 #ifndef TAO_RLECOMPRESSOR_H
12 #define TAO_RLECOMPRESSOR_H
14 #include /**/ "ace/pre.h"
16 #include "tao/Compression/rle/RLECompressor_export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/Compression/Compression.h"
23 #include "tao/Compression/Base_Compressor.h"
25 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
29 class TAO_RLECOMPRESSOR_Export RLECompressor
: public ::TAO::BaseCompressor
32 RLECompressor(::Compression::CompressorFactory_ptr
);
34 virtual void compress (
35 const ::Compression::Buffer
&source
,
36 ::Compression::Buffer
&target
);
38 virtual void decompress (
39 const ::Compression::Buffer
&source
,
40 ::Compression::Buffer
&target
);
44 TAO_END_VERSIONED_NAMESPACE_DECL
46 #include /**/ "ace/post.h"
48 #endif /* TAO_RLECOMPRESSOR_H */