Mantid
|
This Glob class overrides the glob() method of Poco::Glob class to make it more reliable. More...
#include <Glob.h>
Static Public Member Functions | |
static void | glob (const Poco::Path &pathPattern, std::set< std::string > &files, int options=0) |
Creates a set of files that match the given pathPattern. More... | |
This Glob class overrides the glob() method of Poco::Glob class to make it more reliable.
|
static |
Creates a set of files that match the given pathPattern.
The path may be give in either Unix, Windows or VMS syntax and is automatically expanded by calling Path::expand().
The pattern may contain wildcard expressions even in intermediate directory names (e.g. /usr/include/* /**.h).
Note that, for obvious reasons, escaping characters in a pattern with a backslash does not work in Windows-style paths.
Directories that for whatever reason cannot be traversed are ignored.
It seems that whatever bug Poco had is fixed now. So calling Poco::Glob::glob(pathPattern,files,options) inside.
pathPattern | :: The search pattern |
files | :: The names of the files that match the pattern |
options | :: Options |
Definition at line 33 of file Glob.cpp.
Referenced by Mantid::Kernel::ConfigServiceImpl::getFullPath(), and Mantid::DataHandling::LoadRawHelper::searchForLogFiles().