8 #ifndef __UNIUNWRAPGEN_H
9 #define __UNIUNWRAPGEN_H
55 virtual void setv(
const UniConfPairList &pairs);
67 virtual void gencallback(
const UniConfKey &key, WvStringParm value);
75 bool refreshing, committing;
78 #endif //__UNIUNWRAPGEN_H
virtual bool haschildren(const UniConfKey &key)
Returns true if a key has children.
virtual bool isok()
Determines if the generator is usable and working properly.
const UniConf & inner() const
Returns the inner generator.
UniConf instances function as handles to subtrees of a UniConf tree and expose a high-level interface...
WvString is an implementation of a simple and efficient printable-string class.
virtual void setv(const UniConfPairList &pairs)
Stores multiple key-value pairs into the registry.
Represents a UniConf key which is a path in a hierarchy structured much like the traditional Unix fil...
virtual bool exists(const UniConfKey &key)
Without fetching its value, returns true if a key exists.
virtual Iter * iterator(const UniConfKey &key)
Returns an iterator over the children of the specified key.
virtual void commit()
Commits any changes.
virtual bool refresh()
Refreshes information about a key recursively.
Deprecated: a UniConfGen that delegates all requests to an inner UniConf.
virtual void prefetch(const UniConfKey &key, bool recursive)
Indicate that we will eventually be interested in doing get(), haschildren(), or other "get-like" ope...
A default implementation of IUniConfGen, providing various handy features that save trouble when impl...
virtual Iter * recursiveiterator(const UniConfKey &key)
Like iterator(), but the returned iterator is recursive, that is, it will return children of the imme...
virtual WvString get(const UniConfKey &key)
Fetches a string value for a key from the registry.
virtual void set(const UniConfKey &key, WvStringParm value)
Stores a string value for a key into the registry.
virtual void flush_buffers()
Flushes any commitment/notification buffers .