|
virtual TypedValue | getProperty (const std::string &name) const noexcept override=0 |
| Get the value of a property. More...
|
|
| IAlgorithmRuntimeProps ()=default |
|
virtual bool | operator== (const Mantid::Kernel::IPropertyManager &)=delete |
|
template<typename T > |
void | setProperty (const std::string &name, const T &value) |
|
virtual void | setPropertyValue (const std::string &, const std::string &) override=0 |
| Sets property value from a string. More...
|
|
virtual | ~IAlgorithmRuntimeProps ()=default |
|
virtual ::Json::Value | asJson (bool withDefaultValues=false) const =0 |
| Return the property manager serialized as a json object. More...
|
|
virtual std::string | asString (bool withDefaultValues=false) const =0 |
| Return the property manager serialized as a string. More...
|
|
virtual void | declareOrReplaceProperty (std::unique_ptr< Property > p, const std::string &doc="")=0 |
| Function to declare properties (i.e. store them) More...
|
|
void | declareProperty (const std::string &name, const char *value, const std::string &doc, IValidator_sptr validator=std::make_shared< NullValidator >(), const unsigned int direction=Direction::Input) |
| Specialised version of declareProperty template method to prevent the creation of a PropertyWithValue of type const char* if an argument in quotes is passed (it will be converted to a string). More...
|
|
void | declareProperty (const std::string &name, const char *value, const unsigned int direction) |
| Add a property of string type to the list of managed properties. More...
|
|
void | declareProperty (const std::string &name, const char *value, IValidator_sptr validator=std::make_shared< NullValidator >(), const std::string &doc=std::string(), const unsigned int direction=Direction::Input) |
| Specialised version of declareProperty template method to prevent the creation of a PropertyWithValue of type const char* if an argument in quotes is passed (it will be converted to a string). More...
|
|
template<typename T > |
void | declareProperty (const std::string &name, T value, const std::string &doc, const unsigned int direction=Direction::Input) |
| Add a property to the list of managed properties with no validator. More...
|
|
template<typename T > |
void | declareProperty (const std::string &name, T value, const unsigned int direction) |
| Add a property of the template type to the list of managed properties. More...
|
|
template<typename T > |
void | declareProperty (const std::string &name, T value, IValidator_sptr validator=std::make_shared< NullValidator >(), const std::string &doc="", const unsigned int direction=Direction::Input) |
| Add a property of the template type to the list of managed properties. More...
|
|
virtual void | declareProperty (std::unique_ptr< Property > p, const std::string &doc="")=0 |
| Function to declare properties (i.e. store them) More...
|
|
virtual bool | existsProperty (const std::string &name) const =0 |
| Checks whether the named property is already in the list of managed property. More...
|
|
virtual void | filterByProperty (const TimeSeriesProperty< bool > &, const std::vector< std::string > &)=0 |
|
virtual void | filterByTime (const Types::Core::DateAndTime &, const Types::Core::DateAndTime &)=0 |
|
virtual std::vector< std::string > | getDeclaredPropertyNames () const noexcept=0 |
| Get the list of managed property names. More...
|
|
virtual Property * | getPointerToProperty (const std::string &name) const =0 |
| Get a pointer to property by name. More...
|
|
virtual const std::vector< Property * > & | getProperties () const =0 |
| Get the list of managed properties. More...
|
|
std::vector< Property * > | getPropertiesInGroup (const std::string &group) const |
| Get the list of managed properties in a given group. More...
|
|
virtual TypedValue | getProperty (const std::string &name) const =0 |
| Get the value of a property. More...
|
|
virtual std::string | getPropertyValue (const std::string &name) const =0 |
| Get the value of a property as a string. More...
|
|
virtual size_t | propertyCount () const =0 |
| Returns the number of properties under management. More...
|
|
virtual void | removeProperty (const std::string &name, const bool delproperty=true)=0 |
| Removes the property from management. More...
|
|
virtual void | resetProperties ()=0 |
|
virtual void | setProperties (const ::Json::Value &jsonValue, const std::unordered_set< std::string > &ignoreProperties=std::unordered_set< std::string >(), bool createMissing=false)=0 |
| Sets all the properties from a json object. More...
|
|
virtual void | setProperties (const std::string &propertiesJson, const std::unordered_set< std::string > &ignoreProperties=std::unordered_set< std::string >(), bool createMissing=false)=0 |
| Sets all properties from a string. More...
|
|
virtual void | setPropertiesWithString (const std::string &propertiesString, const std::unordered_set< std::string > &ignoreProperties=std::unordered_set< std::string >())=0 |
| Sets all the declared properties from a string. More...
|
|
IPropertyManager * | setProperty (const std::string &name, const char *value) |
| Specialised version of setProperty template method to handle const char *. More...
|
|
IPropertyManager * | setProperty (const std::string &name, const std::string &value) |
| Specialised version of setProperty template method to handle std::string. More...
|
|
template<typename T > |
IPropertyManager * | setProperty (const std::string &name, const T &value) |
| Templated method to set the value of a PropertyWithValue. More...
|
|
template<typename T > |
IPropertyManager * | setProperty (const std::string &name, std::unique_ptr< T > value) |
| Templated method to set the value of a PropertyWithValue from a std::unique_ptr. More...
|
|
void | setPropertyGroup (const std::string &name, const std::string &group) |
| Set the group for a given property. More...
|
|
virtual void | setPropertyOrdinal (const int &index, const std::string &value)=0 |
| Set the value of a property by an index. More...
|
|
void | setPropertySettings (const std::string &name, std::unique_ptr< IPropertySettings > settings) |
|
virtual void | setPropertyValue (const std::string &name, const std::string &value)=0 |
| Sets property value from a string. More...
|
|
virtual void | setPropertyValueFromJson (const std::string &name, const Json::Value &value)=0 |
| Sets property value from a Json::Value. More...
|
|
virtual void | splitByTime (std::vector< SplittingInterval > &, std::vector< PropertyManager * >) const =0 |
|
virtual std::unique_ptr< Property > | takeProperty (const size_t index)=0 |
| Removes the property from management and returns a pointer to it. More...
|
|
void | updatePropertyValues (const IPropertyManager &other) |
| Update values of the existing properties. More...
|
|
virtual bool | validateProperties () const =0 |
| Validates all the properties in the collection. More...
|
|
virtual | ~IPropertyManager ()=default |
|