WvStreams
uniconf
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:39
WvMoniker
A type-safe version of WvMonikerBase that lets you provide create functions for object types other th...
Definition:
wvmoniker.h:61
IObject
Definition:
IObject.h:65
UniReadOnlyGen
A generator that wraps another generator and makes it read only.
Definition:
unireadonlygen.h:19
Generated by
1.8.17