8 #include "uniconfroot.h" 9 #include "unisubtreegen.h" 10 #include "wvlinkerhack.h" 21 WvString uniautogen_moniker(
"default:ini:/etc/uniconf.conf");
46 wvcreate<IUniConfGen>(uniautogen_moniker, _obj),
true);
49 for (
int i = appname.numsegments(); i >= 0; i--)
51 UniConfKey prefix(appname.first(i)), suffix(appname.removefirst(i));
53 if (!!cfg.xget(prefix))
55 return new UniSubtreeGen(wvcreate<IUniConfGen>(cfg.xget(prefix)),
60 return wvcreate<IUniConfGen>(
"null:");
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
Represents a UniConf key which is a path in a hierarchy structured much like the traditional Unix fil...
The basic interface which is included by all other XPLC interfaces and objects.
An abstract data container that backs a UniConf tree.
A type-safe version of WvMonikerBase that lets you provide create functions for object types other th...
A UniConfGen that returns only a particular subtree of a given generator.
WvString is an implementation of a simple and efficient printable-string class.
A default implementation of IUniConfGen, providing various handy features that save trouble when impl...
Represents the root of a hierarhical registry consisting of pairs of UniConfKeys and associated strin...