Provides protected access that allows changing read-only property values of a Property object.
More...
Inherits ObjectPtr< IPropertyObjectProtected >.
Provides protected access that allows changing read-only property values of a Property object.
|
| void | setProtectedPropertyValue (const daq::StringPtr &propertyName, const daq::BaseObjectPtr &value) const |
| | Sets a property value. Does not fail if the property is read-only. More...
|
| |
| void | clearProtectedPropertyValue (const daq::StringPtr &propertyName) const |
| | Clears a property value. Does not fail if the property is read-only. More...
|
| |
| void | setProtectedPropertySelectionValue (const daq::StringPtr &propertyName, const daq::BaseObjectPtr &value) const |
| | Sets a Selection property value by the selection item value. Does not fail if the property is read-only. More...
|
| |
| void | clearProtectedPropertyValues () const |
| | Clears values of all properties contained in the Property object, including nested child properties. More...
|
| |
◆ clearProtectedPropertyValue()
| void clearProtectedPropertyValue |
( |
const daq::StringPtr & |
propertyName | ) |
const |
|
inline |
Clears a property value. Does not fail if the property is read-only.
- Parameters
-
| propertyName | The name of the Property of which value the function should be cleared. |
◆ clearProtectedPropertyValues()
| void clearProtectedPropertyValues |
( |
| ) |
const |
|
inline |
Clears values of all properties contained in the Property object, including nested child properties.
This function behaves similarly to IPropertyObject::clearPropertyValues(), but also clears read-only properties.
◆ setProtectedPropertySelectionValue()
| void setProtectedPropertySelectionValue |
( |
const daq::StringPtr & |
propertyName, |
|
|
const daq::BaseObjectPtr & |
value |
|
) |
| const |
|
inline |
Sets a Selection property value by the selection item value. Does not fail if the property is read-only.
- Parameters
-
| propertyName | The name of the Property. |
| value | The selection value to set (must be one of the Property's selection values). |
◆ setProtectedPropertyValue()
| void setProtectedPropertyValue |
( |
const daq::StringPtr & |
propertyName, |
|
|
const daq::BaseObjectPtr & |
value |
|
) |
| const |
|
inline |
Sets a property value. Does not fail if the property is read-only.
- Parameters
-
| propertyName | The name of the Property of which value the function should set. |
| value | The property value to set. |