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 
15 class WvGlob;
16 
17 class WvGlobDirIter : public WvDirIter
18 {
19 
20 private:
21 
22  WvGlob *glob;
23 
24 public:
25 
26  WvGlobDirIter( WvStringParm dirname, WvStringParm globstr,
27  bool _recurse = true, bool _skip_mounts = false,
28  size_t sizeof_stat = sizeof(struct stat) );
29  ~WvGlobDirIter();
30 
31  bool next();
32 
33 };
34 
35 #endif
WvDirIter
Definition: wvdiriter.h:31
WvGlob
WvGlob – Unified support for filename globbing. !
Definition: wvglob.h:15
WvGlobDirIter
Definition: wvglobdiriter.h:17