7 #ifndef __UNILISTITER_H
8 #define __UNILISTITER_H
10 #include "uniconfgen.h"
11 #include "wvscatterhash.h"
12 #include "wvstringcache.h"
13 #include "wvstringlist.h"
32 UniConfKeyTable keylook;
38 UniConfKeyList::Iter ki;
39 WvStringList::Iter vi;
65 void autofill(IUniConfGen::Iter *source);
74 #endif // __UNILISTITER_H
virtual UniConfKey key() const
Returns the current key.
A cache table of WvString objects.
An iterator that iterates through a constant list of keys.
void add(const UniConfKey &k, WvStringParm v=WvString::null)
Add a key/value pair to the list that gets returned by this iterator.
WvString is an implementation of a simple and efficient printable-string class.
An abstract data container that backs a UniConf tree.
Represents a UniConf key which is a path in a hierarchy structured much like the traditional Unix fil...
virtual WvString value() const
Returns the value of the current key.
void autofill(IUniConfGen::Iter *source)
Automatically fill the contents of this iterator by calling add() for each element of the 'source' it...
This is a WvList of WvStrings, and is a really handy way to parse strings.
virtual bool next()
Seeks to the next element in the sequence.
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
virtual void rewind()
Rewinds the iterator.
An abstract iterator over keys and values in a generator.