ICF
3.1.1.10
Technical documentation of ICF Libraries
Main Page
Topics
Namespaces
Classes
Files
File List
File Members
iattr
IEnumAttributeMetaInfo.h
Go to the documentation of this file.
1
/********************************************************************************
2
** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3
** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4
********************************************************************************/
5
6
#pragma once
7
8
9
#include <
iattr/IAttributeMetaInfo.h
>
10
11
12
namespace
iattr
13
{
14
15
19
class
IEnumAttributeMetaInfo
:
virtual
public
IAttributeMetaInfo
20
{
21
public
:
26
virtual
bool
IsAnyValueAllowed
()
const
= 0;
30
virtual
int
GetEnumsCount
()
const
= 0;
35
virtual
QString
GetValueDescription
(
const
iser::IObject
& value)
const
= 0;
39
virtual
const
iser::IObject
&
GetEnum
(
int
index)
const
= 0;
40
};
41
42
43
}
// namespace iattr
44
45
IAttributeMetaInfo.h
iattr::IAttributeMetaInfo
Meta information describing single attribute.
Definition
IAttributeMetaInfo.h:21
iattr::IEnumAttributeMetaInfo
Represents constraints of properties allowing values from enumerated set.
Definition
IEnumAttributeMetaInfo.h:20
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:25
iattr
This namespace containes implementations of attributes concept.
Definition
CAttributeMetaInfo.h:15
© Witold Gantzke and Kirill Lepskiy