WvStreams
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
UniConf::SortedIter Class Reference

A sorted variant of UniConf::Iter. More...

#include <uniconf.h>

Inheritance diagram for UniConf::SortedIter:
Inheritance graph
[legend]

Public Types

typedef int(* Comparator) (const UniConf &a, const UniConf &b)
 

Public Member Functions

 SortedIter (const UniConf &_top, Comparator comparator=defcomparator)
 
void rewind ()
 
bool next ()
 
const UniConfptr () 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< UniConfxkeys
 
UniConf top
 
UniConf current
 

Detailed Description

A sorted variant of UniConf::Iter.

Definition at line 581 of file uniconf.h.

Member Function Documentation

◆ defcomparator()

int UniConf::SortedIterBase::defcomparator ( const UniConf a,
const UniConf b 
)
staticinherited

Default comparator.

Sorts alphabetically by full key.

Definition at line 424 of file uniconf.cc.

References UniConfKey::compareto(), and UniConf::fullkey().


The documentation for this class was generated from the following file: