WvStreams
wvgzipstream.cc
1#include "wvgzipstream.h"
2#include "wvmoniker.h"
3#include "wvlinkerhack.h"
4
5WV_LINK(WvGzipStream);
6
7static IWvStream *creator(WvStringParm s, IObject *_obj)
8{
9 return new WvGzipStream(new WvStreamClone(wvcreate<IWvStream>(s, _obj)));
10}
11
12static WvMoniker<IWvStream> reg("gzip", creator);
13
14
The basic interface which is included by all other XPLC interfaces and objects.
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
A stream implementing Gzip compression and decompression.
A type-safe version of WvMonikerBase that lets you provide create functions for object types other th...
WvStreamClone simply forwards all requests to the "cloned" stream.