9#include "MantidAPI/DllConfig.h"
117 const std::vector<std::string> &exts = std::vector<std::string>(),
118 bool allowEmptyTokens =
false);
120 MultipleFileProperty(
const std::string &name,
const std::vector<std::string> &exts = std::vector<std::string>());
127 std::string setValue(
const std::string &propValue)
override;
128 std::string
value()
const override;
129 std::string getDefault()
const override;
130 bool isOptional()
const;
133 std::vector<std::string>
getExts()
const {
return m_exts; }
143 std::string isEmptyValueValid()
const;
144 std::string setValueAsSingleFile(
const std::string &propValue);
145 std::string setValueAsMultipleFiles(
const std::string &propValue);
158 unsigned int m_action{2};
168 bool m_allowEmptyTokens{
false};
double value
The value of the point.
A property to allow a user to specify multiple files to load.
MultipleFileProperty * clone() const override
'Virtual copy constructor'
std::vector< std::string > m_exts
Suggested extensions.
std::vector< std::string > getExts() const
MultipleFileProperty & operator=(const MultipleFileProperty &)=default
std::vector< std::vector< std::string > > m_oldFoundValue
Last value of the found files used in MultipleFileProperty::setValueAsMultipleFiles and MultipleFileP...
std::string m_defaultExt
The default file extension associated with the type of file this property will handle.
std::string getDefaultExt() const
Returns the main file extension that's used.
std::string m_oldPropValue
Last value of propValue used in MultipleFileProperty::setValueAsMultipleFiles and MultipleFilePropert...
bool m_multiFileLoadingEnabled
Whether or not the user has turned on multifile loading.
MultipleFileProperty(const MultipleFileProperty &)=default
Kernel::MultiFileNameParsing::Parser m_parser
Parser used to parse multi-file strings.
This class takes a string representing multiple files and parses it into a vector of vectors of file ...
The concrete, templated class for properties.
Helper class which provides the Collimation Length for SANS instruments.