WvStreams
unifastregetgen.h
1/* -*- Mode: C++ -*-
2 * Worldvisions Weaver Software:
3 * Copyright (C) 2002-2005 Net Integration Technologies, Inc.
4 */
5#ifndef __UNIFASTREGETGEN_H
6#define __UNIFASTREGETGEN_H
7
8#include "unifiltergen.h"
9
11
34{
35public:
37 virtual ~UniFastRegetGen();
38
39 /***** Overridden members *****/
40 virtual WvString get(const UniConfKey &key);
41 virtual bool exists(const UniConfKey &key);
42 virtual bool haschildren(const UniConfKey &key);
43
44private:
45 IUniConfGen *inner;
46 UniConfValueTree *tree;
47
48protected:
49 virtual void gencallback(const UniConfKey &key, WvStringParm value);
50};
51
52
53#endif // __UNIFASTREGETGEN_H
An abstract data container that backs a UniConf tree.
Definition uniconfgen.h:40
Represents a UniConf key which is a path in a hierarchy structured much like the traditional Unix fil...
Definition uniconfkey.h:39
A plain UniConfTree that holds keys and values.
A lightwight but slightly dangerous variant of UniCacheGen.
virtual void gencallback(const UniConfKey &key, WvStringParm value)
Called by inner generator when a key changes.
virtual WvString get(const UniConfKey &key)
Fetches a string value for a key from the registry.
virtual bool haschildren(const UniConfKey &key)
Returns true if a key has children.
virtual bool exists(const UniConfKey &key)
Without fetching its value, returns true if a key exists.
A UniConfGen that delegates all requests to an inner generator.
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
Definition wvstring.h:94
WvString is an implementation of a simple and efficient printable-string class.
Definition wvstring.h:330