WvStreams
|
A sorted variant of UniConf::RecursiveIter. More...
#include <uniconf.h>
Public Types | |
typedef int(* | Comparator) (const UniConf &a, const UniConf &b) |
Public Member Functions | |
SortedRecursiveIter (const UniConf &_top, Comparator comparator=defcomparator) | |
void | rewind () |
bool | next () |
const UniConf * | ptr () const |
WvIterStuff (const UniConf) | |
Static Public Member Functions | |
static int | defcomparator (const UniConf &a, const UniConf &b) |
Default comparator. More... | |
Protected Member Functions | |
template<class Iter > | |
void | populate (Iter &i) |
Protected Attributes | |
std::vector< UniConf > | xkeys |
UniConf | top |
UniConf | current |
A sorted variant of UniConf::RecursiveIter.
Default comparator.
Sorts alphabetically by full key.
Definition at line 424 of file uniconf.cc.
References UniConfKey::compareto(), and UniConf::fullkey().