ACF
$AcfVersion:0$
Acf
Include
iattr
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
5
#include <
iattr/IAttributeMetaInfo.h
>
6
7
8
namespace
iattr
9
{
10
11
15
class
IEnumAttributeMetaInfo
:
virtual
public
IAttributeMetaInfo
16
{
17
public
:
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
IAttributeMetaInfo.h
iattr::IAttributeMetaInfo
Meta information describing single attribute.
Definition
IAttributeMetaInfo.h:17
iattr::IEnumAttributeMetaInfo
Represents constraints of properties allowing values from enumerated set.
Definition
IEnumAttributeMetaInfo.h:16
iattr::IEnumAttributeMetaInfo::GetEnumsCount
virtual int GetEnumsCount() const =0
Gets number of enumerations.
iattr::IEnumAttributeMetaInfo::GetValueDescription
virtual QString GetValueDescription(const iser::IObject &value) const =0
Gets description of single enumeration.
iattr::IEnumAttributeMetaInfo::GetEnum
virtual const iser::IObject & GetEnum(int index) const =0
Gets single enumeration.
iattr::IEnumAttributeMetaInfo::IsAnyValueAllowed
virtual bool IsAnyValueAllowed() const =0
Checks if other then enumerated values are allowed.
iser::IObject
Common interface for factorisable model objects.
Definition
IObject.h:23
iattr
This namespace containes implementations of attributes concept.
Definition
CAttributeMetaInfo.h:13
Generated by
1.9.8