WvStreams
unireadonlygen.cc
1/*
2 * Worldvisions Weaver Software:
3 * Copyright (C) 1997-2002 Net Integration Technologies, Inc.
4 *
5 * A read only generator wrapper.
6 */
7#include "unireadonlygen.h"
8#include "wvmoniker.h"
9#include "wvlinkerhack.h"
10
11WV_LINK(UniReadOnlyGen);
12
13
14static IUniConfGen *creator(WvStringParm s, IObject *_obj)
15{
16 return new UniReadOnlyGen(wvcreate<IUniConfGen>(s, _obj));
17}
18
19static WvMoniker<IUniConfGen> reg("readonly", creator);
The basic interface which is included by all other XPLC interfaces and objects.
Definition: IObject.h:65
An abstract data container that backs a UniConf tree.
Definition: uniconfgen.h:40
A generator that wraps another generator and makes it read only.
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
Definition: wvstring.h:94
A type-safe version of WvMonikerBase that lets you provide create functions for object types other th...
Definition: wvmoniker.h:62