9#include "MantidAPI/DllConfig.h"
106 const std::vector<std::string> &exts = std::vector<std::string>(),
107 bool allowEmptyTokens =
false);
116 std::string setValue(
const std::string &propValue)
override;
117 std::string
value()
const override;
118 std::string getDefault()
const override;
119 bool isOptional()
const;
122 const std::vector<std::string> &
getExts()
const {
return m_exts; }
132 std::string isEmptyValueValid()
const;
133 std::string setValueAsSingleFile(
const std::string &propValue);
134 std::string setValueAsMultipleFiles(
const std::string &propValue);
147 unsigned int m_action{2};
157 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'
const std::string & getDefaultExt() const
Returns the main file extension that's used.
std::vector< std::string > m_exts
Suggested extensions.
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 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
const std::vector< std::string > & getExts() const
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.