9#include "wvglobdiriter.h"
12WvGlobDirIter::WvGlobDirIter( WvStringParm dirname, WvStringParm glob_str,
13 bool _recurse,
bool _skip_mounts,
size_t sizeof_stat )
14 :
WvDirIter(dirname, _recurse, _skip_mounts, sizeof_stat), glob(NULL)
18 glob = new WvGlob(glob_str);
27WvGlobDirIter::~WvGlobDirIter()
29 if (glob)
delete glob;
32bool WvGlobDirIter::next()
38 result = WvDirIter::next();
39 }
while (result && glob && !glob->match(ptr()->relname));
bool isnull() const
returns true if this string is null