8 #ifndef __UNIUNWRAPGEN_H
9 #define __UNIUNWRAPGEN_H
42 void setinner(
const UniConf &inner);
55 virtual void setv(
const UniConfPairList &pairs);
75 bool refreshing, committing;
78 #endif //__UNIUNWRAPGEN_H
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...
const UniConf & inner() const
Returns the inner generator.
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 .
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.
virtual void prefetch(const UniConfKey &key, bool recursive)
Indicate that we will eventually be interested in doing get(), haschildren(), or other "get-like" ope...
virtual void commit()
Commits any changes.
virtual bool refresh()
Refreshes information about a key recursively.
virtual void setv(const UniConfPairList &pairs)
Stores multiple key-value pairs into the registry.
UniConf instances function as handles to subtrees of a UniConf tree and expose a high-level interface...
virtual Iter * recursiveiterator(const UniConfKey &key)
Like iterator(), but the returned iterator is recursive, that is, it will return children of the imme...
virtual bool exists(const UniConfKey &key)
Without fetching its value, returns true if a key exists.
WvString is an implementation of a simple and efficient printable-string class.
Deprecated: a UniConfGen that delegates all requests to an inner UniConf.
A default implementation of IUniConfGen, providing various handy features that save trouble when impl...
virtual bool isok()
Determines if the generator is usable and working properly.