12#include "MantidKernel/DllConfig.h"
37 const unsigned int direction = 99);
44 const std::string &
name()
const {
return m_name; };
50 const std::string &
type()
const {
return m_type; };
54 unsigned int direction()
const {
return m_direction; };
56 void printSelf(std::ostream &,
const int indent = 0,
const size_t maxPropertyLength = 0)
const;
59 bool isEmptyDefault()
const;
63 return name() == other.name() &&
value() == other.value() && type() == other.type() &&
64 isDefault() == other.isDefault();
const std::string & m_value
double value
The value of the point.
This class stores information about the parameters used by an algorithm.
unsigned int direction() const
get direction flag of algorithm parameter const
const std::string & name() const
get name of algorithm parameter const
void setValue(const std::string &value)
set value of algorithm parameter
const std::string & value() const
get value of algorithm parameter const
virtual ~PropertyHistory()=default
destructor
bool m_isDefault
flag defining if the parameter is a default or a user-defined parameter
bool isDefault() const
get isdefault flag of algorithm parameter const
std::string m_name
The name of the parameter.
const std::string & type() const
get type of algorithm parameter const
std::string m_value
The value of the parameter.
std::string m_type
The type of the parameter.
unsigned int m_direction
direction of parameter
bool operator==(const PropertyHistory &other) const
this is required for boost.python
Base class for properties.
MANTID_KERNEL_DLL std::ostream & operator<<(std::ostream &, CPUTimer &)
Convenience function to provide for easier debug printing.
std::shared_ptr< const PropertyHistory > PropertyHistory_const_sptr
std::shared_ptr< PropertyHistory > PropertyHistory_sptr
std::vector< PropertyHistory_sptr > PropertyHistories
Helper class which provides the Collimation Length for SANS instruments.