6#ifndef __UNISECUREGEN_H
7#define __UNISECUREGEN_H
9#include "unifiltergen.h"
10#include "unipermgen.h"
12#include "wvstringlist.h"
58 bool findperm(
const UniConfKey &key, UniPermGen::Type type);
An abstract data container that backs a UniConf tree.
An abstract iterator over keys and values in a generator.
Represents a UniConf key which is a path in a hierarchy structured much like the traditional Unix fil...
A UniConfGen that delegates all requests to an inner generator.
UniPermGen wraps a tree encoding Unix-style permissions, and provides an API for setting and checking...
UniSecureGen wraps a given generator and checks permissions (using a Unix-style scheme) before respon...
virtual void set(const UniConfKey &key, WvStringParm value)
Stores a string value for a key into the registry.
virtual void commit()
Commits any changes.
virtual Iter * recursiveiterator(const UniConfKey &key)
Like iterator(), but the returned iterator is recursive, that is, it will return children of the imme...
virtual void flush_buffers()
Overridden methods.
virtual bool refresh()
Refreshes information about a key recursively.
virtual WvString get(const UniConfKey &key)
Fetches a string value for a key from the registry.
virtual bool exists(const UniConfKey &key)
Without fetching its value, returns true if a key exists.
virtual bool haschildren(const UniConfKey &key)
Returns true if a key has children.
virtual Iter * iterator(const UniConfKey &key)
Returns an iterator over the children of the specified key.
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
This is a WvList of WvStrings, and is a really handy way to parse strings.
WvString is an implementation of a simple and efficient printable-string class.