PropertyManager#

This is a Python binding to the C++ class Mantid::Kernel::PropertyManager.

bases: mantid.kernel.IPropertyManager

class mantid.kernel.PropertyManager#
declareOrReplaceProperty((IPropertyManager)self, (str)name, (object)defaultValue[, (object)validator=None[, (str)doc=''[, (int)direction=mantid.kernel._kernel.Direction.Input]]]) None :#

Declares or replaces a named property where the type is taken from the type of the defaultValue and mapped to an appropriate C++ type

declareProperty((IPropertyManager)self, (str)name, (object)value) None :#

Create a new named property

existsProperty((IPropertyManager)self, (str)name) bool :#

Returns whether a property exists

get((IPropertyManager)self, (str)name, (object)value) Property :#

Returns the property of the given name. Use .value to give the value. If property with given name does not exist, returns given default value.

static getInvalidValuesFilterLogName((str)arg1) str#
static getLogNameFromInvalidValuesFilter((str)arg1) str#
getProperties((IPropertyManager)self) std_vector_property :#

Returns the list of properties managed by this object

getProperty((IPropertyManager)self, (str)name) Property :#

Returns the property of the given name. Use .value to give the value

getPropertyValue((IPropertyManager)self, (str)name) str :#

Returns a string representation of the named property’s value

has_key((IPropertyManager)self, (str)name) bool :#

Returns whether a property exists

static isAnInvalidValuesFilterLog((str)arg1) bool#
isPropertyEnabled((IPropertyManager)self, (str)name) bool :#

Returns whether a property should be enabled, according to its settings

isPropertyVisible((IPropertyManager)self, (str)name) bool :#

Returns whether a property should be visible, according to its settings

keys((IPropertyManager)self) list#
propertyCount((IPropertyManager)self) int :#

Returns the number of properties being managed

setProperties((IPropertyManager)self, (dict)kwargs) None :#

Set a collection of properties from a dict

setProperty((IPropertyManager)self, (str)name, (object)value) None :#

Set the value of the named property

setPropertyGroup((IPropertyManager)self, (str)name, (str)group) None :#

Set the group for a given property

setPropertySettings((IPropertyManager)self, (str)name, (IPropertySettings)settingsManager) None :#

Assign the given IPropertySettings object to the named property

setPropertyValue((IPropertyManager)self, (str)name, (str)value) None :#

Set the value of the named property via a string

values((IPropertyManager)self) std_vector_property :#

Returns the list of properties managed by this object