UniConf::XIter Class Reference

#include <uniconf.h>

Inheritance diagram for UniConf::XIter:

[legend]
List of all members.

Detailed Description

This iterator walks over all children that match a wildcard pattern.

See UniConfKey::matches(const UniConfKey&) for information about patterns.

Example patterns: (where STAR is the asterisk character, '*')

"": a null iterator "a": matches only the key "a" if it exists "STAR": matches all direct children "STAR/foo": matches any existing key "foo" under direct children "STAR/STAR": matches all children of depth exactly 2 "foo/...": matches all keys including and below "foo" "foo/STAR/...": matches all keys below "foo" ".../foo/STAR": matches all keys below any subkey named "foo" in the tree

Definition at line 539 of file uniconf.h.

Public Member Functions

 XIter (const UniConf &_top, const UniConfKey &pattern)
 Creates a wildcard iterator.
 ~XIter ()
void rewind ()
bool next ()
const UniConfptr () const
 WvIterStuff (const UniConf)

Protected Attributes

UniConf top
UniConf current


The documentation for this class was generated from the following files:
Generated on Wed Jul 12 17:53:25 2006 for WvStreams by  doxygen 1.4.7