DUECA/DUSIME
|
Find a list of files matching a "glob" pattern. More...
#include <FindFiles.hxx>
Public Member Functions | |
FindFiles () | |
Default constructor, no arguments. | |
FindFiles (const char *pattern) | |
Constructor with a pattern. | |
void | scan (const char *pattern) |
Re-scan a glob pattern. | |
Find a list of files matching a "glob" pattern.
For example,
Will produce an object incos which lists all files with an extension .inco. Note that the files are not opened, you only get a list of names.
The FindFiles object derives from the vector<string> template from the standard template library. You can use the normal methods to read out this object, e.g.
Constructor with a pattern.
pattern | glob pattern |
Re-scan a glob pattern.
This discards old stuff!
pattern | glob pattern |