Private interface to component tags. Allows for adding/removing tags.
More...
Inherits ObjectPtr< ITagsPrivate >.
Private interface to component tags. Allows for adding/removing tags.
Modifying the tags of a component might have unintended sideffects and should in most cases only be done by the component owner module.
|
| void | add (const daq::StringPtr &name) const |
| | Adds a new tag to the list. More...
|
| |
| void | remove (const daq::StringPtr &name) const |
| | Removes a new tag from the list. More...
|
| |
| void | replace (const daq::ListPtr< daq::IString > &tags) const |
| | Replaces all tags. More...
|
| |
◆ add()
| void add |
( |
const daq::StringPtr & |
name | ) |
const |
|
inline |
Adds a new tag to the list.
- Parameters
-
| name | The name of the tag to be added. |
- Returns
- nullptr if a node with the
name is already in the list of tags.
◆ remove()
| void remove |
( |
const daq::StringPtr & |
name | ) |
const |
|
inline |
Removes a new tag from the list.
- Parameters
-
| name | The name of the tag to be removed. |
- Returns
- nullptr if a node with the
name is not in the list of tags.
◆ replace()
| void replace |
( |
const daq::ListPtr< daq::IString > & |
tags | ) |
const |
|
inline |
Replaces all tags.
- Parameters
-
| tags | The new list of tags. |