|
Mantid
|
#include "MantidAPI/FileFinder.h"#include "MantidPythonInterface/core/ReleaseGlobalInterpreterLock.h"#include <boost/python/class.hpp>#include <boost/python/list.hpp>#include <boost/python/reference_existing_object.hpp>Go to the source code of this file.
Functions | |
| void | export_FileFinder () |
| static std::string | getFullPathProxy (const FileFinderImpl &self, const std::string &path, const bool ignoreDirs=false) |
| std::vector< std::string > | runFinderProxy (const FileFinderImpl &self, const std::string &hintstr, list exts_list, const bool useExtsOnly) |
| Runs FileFinder.findRuns after releasing the python GIL. | |
| void export_FileFinder | ( | ) |
Definition at line 52 of file FileFinder.cpp.
References Mantid::API::FileFinderImpl::getCaseSensitive(), getFullPathProxy(), runFinderProxy(), and Mantid::API::FileFinderImpl::setCaseSensitive().
|
static |
Definition at line 47 of file FileFinder.cpp.
References Mantid::API::FileFinderImpl::getFullPath().
Referenced by export_FileFinder().
| std::vector< std::string > runFinderProxy | ( | const FileFinderImpl & | self, |
| const std::string & | hintstr, | ||
| list | exts_list, | ||
| const bool | useExtsOnly | ||
| ) |
Runs FileFinder.findRuns after releasing the python GIL.
| self | :: A reference to the calling object |
| hintstr | :: A string containing the run number and possibly instrument to search for |
| exts_list | :: A python list containing strings of file extensions to search |
| useExtsOnly | :: bool. If true, use exts_list only. If false, use combination of exts_list and facility_exts. |
Definition at line 27 of file FileFinder.cpp.
References Mantid::API::FileFinderImpl::findRuns().
Referenced by export_FileFinder().