IAttributesProvider.h
Go to the documentation of this file.
1 #ifndef iattr_IAttributesProvider_included
2 #define iattr_IAttributesProvider_included
3 
4 
5 // ACF includes
6 #include <iser/IObject.h>
7 
8 
9 namespace iattr
10 {
11 
12 
17 {
18 public:
19  typedef QSet<QByteArray> AttributeIds;
20 
25  {
29  CF_RESET = 0xb812936,
38  };
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 #endif // !iattr_IAttributesProvider_included
56 
57 
Common interface for a container of properties.
The properties were removed completelly.
virtual AttributeIds GetAttributeIds() const =0
Get list of all attribute IDs.
ChangeFlags
Data model change notification flags.
An attribute was removed from the set.
virtual iser::IObject * GetAttribute(const QByteArray &attributeId) const =0
Get property with the given index.
Common interface for factorisable model objects.
Definition: IObject.h:19
A new attribute was added to the set.
Common interface for data model objects, which can be changed.
Definition: IChangeable.h:24
QSet< QByteArray > AttributeIds

© 2007-2017 Witold Gantzke and Kirill Lepskiy