ACF $AcfVersion:0$
IEnumAttributeMetaInfo.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
6
7
8namespace iattr
9{
10
11
16{
17public:
22 virtual bool IsAnyValueAllowed() const = 0;
26 virtual int GetEnumsCount() const = 0;
31 virtual QString GetValueDescription(const iser::IObject& value) const = 0;
35 virtual const iser::IObject& GetEnum(int index) const = 0;
36};
37
38
39} // namespace iattr
40
41
42
43
Meta information describing single attribute.
Represents constraints of properties allowing values from enumerated set.
virtual int GetEnumsCount() const =0
Gets number of enumerations.
virtual QString GetValueDescription(const iser::IObject &value) const =0
Gets description of single enumeration.
virtual const iser::IObject & GetEnum(int index) const =0
Gets single enumeration.
virtual bool IsAnyValueAllowed() const =0
Checks if other then enumerated values are allowed.
Common interface for factorisable model objects.
Definition IObject.h:23
This namespace containes implementations of attributes concept.