WvStreams
debian/libwvstreams-dev/usr/include/wvstreams/wvglobdiriter.h
1/* -*- Mode: C++ -*-
2 * Worldvisions Weaver Software:
3 * Copyright (C) 1997-2002 Net Integration Technologies, Inc.
4 *
5 * Directory iterator. Recursively uses opendir and readdir, so you don't
6 * have to. Basically implements 'find'.
7 *
8 */
9
10#ifndef __WVGLOBDIRITER_H
11#define __WVGLOBDIRITER_H
12
13#include "wvdiriter.h"
14
15class WvGlob;
16
18{
19
20private:
21
22 WvGlob *glob;
23
24public:
25
26 WvGlobDirIter( WvStringParm dirname, WvStringParm globstr,
27 bool _recurse = true, bool _skip_mounts = false,
28 size_t sizeof_stat = sizeof(struct stat) );
30
31 bool next();
32
33};
34
35#endif
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
WvGlob – Unified support for filename globbing. !