ACF $AcfVersion:0$
IAttributesProvider.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// ACF includes
6#include <iser/IObject.h>
7
8
9namespace iattr
10{
11
12
17{
18public:
19 typedef QSet<QByteArray> AttributeIds;
20
39
43 virtual AttributeIds GetAttributeIds() const = 0;
44
48 virtual iser::IObject* GetAttribute(const QByteArray& attributeId) const = 0;
49};
50
51
52} // namespace iattr
53
54
55
56
Common interface for a container of properties.
virtual AttributeIds GetAttributeIds() const =0
Get list of all attribute IDs.
virtual iser::IObject * GetAttribute(const QByteArray &attributeId) const =0
Get property with the given index.
ChangeFlags
Data model change notification flags.
@ CF_ATTR_ADDED
A new attribute was added to the set.
@ CF_ATTR_REMOVED
An attribute was removed from the set.
@ CF_RESET
The properties were removed completelly.
Common interface for factorisable model objects.
Definition IObject.h:23
Common interface for data model objects, which can be changed.
Definition IChangeable.h:28
This namespace containes implementations of attributes concept.