ICF 3.1.1.10
Technical documentation of ICF Libraries
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
10
11
12namespace iattr
13{
14
15
20{
21public:
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
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:25
This namespace containes implementations of attributes concept.

© Witold Gantzke and Kirill Lepskiy