12#include "MantidAPI/DllConfig.h"
38 std::string getFullPath(
const std::string &filename,
const bool ignoreDirs =
false)
const;
39 std::string getPath(
const std::vector<IArchiveSearch_sptr> &archs,
const std::set<std::string> &filenames,
40 const std::vector<std::string> &exts)
const;
43 void setCaseSensitive(
const bool cs);
44 bool getCaseSensitive()
const;
46 std::string findRun(
const std::string &hintstr,
const std::vector<std::string> &exts = {},
47 const bool useExtsOnly =
false)
const;
48 std::vector<std::string> findRuns(
const std::string &hintstr,
const std::vector<std::string> &exts = {},
49 const bool useExtsOnly =
false)
const;
53 std::string getExtension(
const std::string &filename,
const std::vector<std::string> &exts)
const;
54 void getUniqueExtensions(
const std::vector<std::string> &extensionsToAdd, std::vector<std::string> &uniqueExts)
const;
68 std::string validateRuns(
const std::string &searchText)
const;
69 std::string extractAllowedSuffix(std::string &userString)
const;
70 std::pair<std::string, std::string> toInstrumentAndNumber(
const std::string &hint)
const;
71 std::string getArchivePath(
const std::vector<IArchiveSearch_sptr> &archs,
const std::set<std::string> &filenames,
72 const std::vector<std::string> &exts)
const;
73 std::string toUpper(
const std::string &src)
const;
This class finds data files given an instrument name (optionally) and a run number.
FileFinderImpl(const FileFinderImpl &)
Copy constructor.
int m_globOption
glob option - set to case sensitive or insensitive
FileFinderImpl & operator=(const FileFinderImpl &)
Assignment operator.
static const std::string ALLOWED_SUFFIX
a string that is allowed at the end of any run number
A class that holds information about a facility.
A class that holds information about an instrument.
Manage the lifetime of a class intended to be a singleton.
Helper class which provides the Collimation Length for SANS instruments.
Policy class controlling creation of the singleton Implementation classes should mark their default c...