thanx,
ittay
--
_______________________________________________
Ittay Freiman. (mailto:it...@tecnomatix.com)
Graphics Team. Platforms R&D. Robcad.
Tecnomatix Technologies Ltd (www.tecnomatix.com)
Delta House, 16 Ha-Galim Ave. Tel: +972-9-9594793
Herzelyia-B, 46733, Israel Fax: +972-9-9544402
For the compression have a look at zlib. This provides a C interface to
the compression and decompression used by gzip. To create an IOStream
interface to this stream, you would derive a class from 'streambuf'
which calls the zlib functions. To sent the characters to an arbitrary
destination, this stream buffer would be just a filtering stream buffer,
ie. it would get another stream buffer where the compressed stream is
read from or written to.
--
<mailto:dietma...@claas-solutions.de>
homepage: <http://www.informatik.uni-konstanz.de/~kuehl>
Sent via Deja.com http://www.deja.com/
Before you buy.
zlib is at http://cdrom.com/pub/infozip/zlib
In the unsupported contrib directory of the zlib distribution there are
two iostream implementations.
--
------
Paul Scott <pms...@dera.gov.uk>
> zlib is at http://cdrom.com/pub/infozip/zlib
This should be <http://www.cdrom.com/pub/infozip/zlib/>.
> In the unsupported contrib directory of the zlib distribution there
> are two iostream implementations.
Neither of these two implementations uses a filtering stream buffer:
Both access files directly. This is not what was originally required.
However, these implementations might be useful as a guide when
implementing a stream buffer which does the compression and uses another
stream buffer to do the actual character I/O.
Any reference book on compression should suffice
http://www.amazon.com/exec/obidos/query/%28keyword%20%3D%20%22compression%22%29
--
__ _ __ If all the world is a stage,
/ ) / / ' ) ) / where is my copy of the damn
/--' * / / /--' _ _ /> _ / _ __ script?
/__)__/\_/\_/\_ / \_(_) (__(_/\_(/_/ (_ mailto:BRo...@titan.com