35 const unsigned int direction = Direction::Input);
43 void saveProperty(Nexus::File *file)
override;
44 std::string
value()
const override;
45 std::string valueAsPrettyStr(
const size_t maxLength = 0,
const bool collapseLists =
true)
const override;
46 Json::Value valueAsJson()
const override;
49 int size()
const override;
50 std::string getDefault()
const override;
51 std::string setValue(
const std::string &
value)
override;
52 std::string setValueFromJson(
const Json::Value &
value)
override;
53 std::string setDataItem(
const std::shared_ptr<DataItem> &data)
override;
57 virtual const TYPE &operator()()
const;
58 virtual operator const TYPE &()
const;
59 std::string isValid()
const override;
60 bool isDefault()
const override;
61 std::vector<std::string> allowedValues()
const override;
62 bool isMultipleSelectionAllowed()
override;
74 std::string setValueFromProperty(
const Property &
right)
override;
76 template <
typename U> std::string setTypedValue(
const U &
value,
const std::true_type &);
78 template <
typename U> std::string setTypedValue(
const U &
value,
const std::false_type &);
80 const TYPE getValueForAlias(
const TYPE &alias)
const;
const std::vector< double > & rhs
double value
The value of the point.
MANTID_NEXUS_DLL bool operator!=(std::string const &s, Mantid::Nexus::NexusAddress const &p)
MANTID_NEXUS_DLL bool operator==(std::string const &s, Mantid::Nexus::NexusAddress const &p)
#define DLLExport
Definitions of the DLLImport compiler directives for MSVC.
The Logger class is in charge of the publishing messages from the framework through various channels.
NullValidator is a validator that doesn't.
The concrete, templated class for properties.
static Logger g_logger
Static reference to the logger class.
TYPE m_initialValue
the property's default value which is also its initial value
IValidator_sptr m_validator
Visitor validator class.
void saveProperty(Nexus::File *file) override
PropertyWithValue()=delete
TYPE m_value
The value of the property.
Base class for properties.
MatrixWorkspace_sptr MANTID_API_DLL operator+=(const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs)
Adds two workspaces.
std::shared_ptr< IValidator > IValidator_sptr
A shared_ptr to an IValidator.
Helper class which provides the Collimation Length for SANS instruments.