22class SplittingInterval;
23template <
typename T>
class TimeSeriesProperty;
47 static std::string getInvalidValuesFilterLogName(
const std::string &logName);
48 static std::string getLogNameFromInvalidValuesFilter(
const std::string &logName);
49 static bool isAnInvalidValuesFilterLog(
const std::string &logName);
56 void filterByTime(
const Types::Core::DateAndTime &start,
const Types::Core::DateAndTime &stop)
override;
57 void splitByTime(std::vector<SplittingInterval> &splitter, std::vector<PropertyManager *> outputs)
const override;
59 const std::vector<std::string> &excludedFromFiltering = std::vector<std::string>())
override;
64 void declareProperty(std::unique_ptr<Property> p,
const std::string &doc =
"")
override;
65 using IPropertyManager::declareProperty;
66 void declareOrReplaceProperty(std::unique_ptr<Property> p,
const std::string &doc =
"")
override;
67 void resetProperties()
override;
69 void setProperties(
const std::string &propertiesJson,
70 const std::unordered_set<std::string> &ignoreProperties = std::unordered_set<std::string>(),
71 bool createMissing =
false)
override;
72 void setProperties(
const std::string &propertiesJson,
IPropertyManager *targetPropertyManager,
73 const std::unordered_set<std::string> &ignoreProperties,
bool createMissing =
false);
74 void setProperties(const ::Json::Value &jsonValue,
75 const std::unordered_set<std::string> &ignoreProperties = std::unordered_set<std::string>(),
76 bool createMissing =
false)
override;
77 void setProperties(const ::Json::Value &jsonValue,
IPropertyManager *targetPropertyManager,
78 const std::unordered_set<std::string> &ignoreProperties = std::unordered_set<std::string>(),
79 bool createMissing =
false);
80 void setPropertiesWithString(
81 const std::string &propertiesString,
82 const std::unordered_set<std::string> &ignoreProperties = std::unordered_set<std::string>())
override;
83 void setPropertyValue(
const std::string &name,
const std::string &
value)
override;
84 void setPropertyValueFromJson(
const std::string &name,
const Json::Value &
value)
override;
85 void setPropertyOrdinal(
const int &
index,
const std::string &
value)
override;
87 bool existsProperty(
const std::string &name)
const override;
88 bool validateProperties()
const override;
89 size_t propertyCount()
const override;
90 std::string getPropertyValue(
const std::string &name)
const override;
91 const std::vector<Property *> &getProperties()
const override;
92 std::vector<std::string> getDeclaredPropertyNames() const noexcept override;
95 void removeProperty(const
std::
string &name, const
bool delproperty = true) override;
99 void clear() override;
102 TypedValue getProperty(const
std::
string &name) const override;
104 std::
string asString(
bool withDefaultValues = false) const override;
106 ::
Json::Value asJson(
bool withDefaultValues = false) const override;
111 Property *getPointerToProperty(const
std::
string &name) const override;
116 Property *getPointerToPropertyOrdinal(const
int &
index) const override;
117 Property *getPointerToPropertyOrNull(const
std::
string &name) const;
120 void setPropertiesWithSimpleString(const
std::
string &propertiesString,
121 const
std::unordered_set<
std::
string> &ignoreProperties);
122 void setPropertiesWithJSONString(const
std::
string &propertiesString,
123 const
std::unordered_set<
std::
string> &ignoreProperties);
const std::vector< double > & rhs
double value
The value of the point.
std::map< DeltaEMode::Type, std::string > index
Interface to PropertyManager.
Kernel/PropertyManagerOwner.h.
Property manager helper class.
std::map< std::string, std::unique_ptr< Property > > PropertyMap
typedef for the map holding the properties
static const std::string INVALID_VALUES_SUFFIX
Base class for properties.
A specialised Property class for holding a series of time-value pairs.
MatrixWorkspace_sptr MANTID_API_DLL operator+=(const MatrixWorkspace_sptr &lhs, const MatrixWorkspace_sptr &rhs)
Adds two workspaces.
std::shared_ptr< PropertyManager > PropertyManager_sptr
Typedef for a shared pointer to a PropertyManager.
Helper class which provides the Collimation Length for SANS instruments.
Utility class that enables the getProperty() method to effectively be templated on the return type.