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 
11 WV_LINK(UniReadOnlyGen);
12 
13 
14 static IUniConfGen *creator(WvStringParm s, IObject *_obj)
15 {
16  return new UniReadOnlyGen(wvcreate<IUniConfGen>(s, _obj));
17 }
18 
19 static WvMoniker<IUniConfGen> reg("readonly", creator);
IUniConfGen
An abstract data container that backs a UniConf tree.
Definition: uniconfgen.h:40
WvMoniker
A type-safe version of WvMonikerBase that lets you provide create functions for object types other th...
Definition: wvmoniker.h:62
IObject
The basic interface which is included by all other XPLC interfaces and objects.
Definition: IObject.h:65
WvFastString
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
Definition: wvstring.h:94
UniReadOnlyGen
A generator that wraps another generator and makes it read only.
Definition: unireadonlygen.h:20