IEnumAttributeMetaInfo.h
Go to the documentation of this file.
1 #ifndef iattr_IEnumAttributeMetaInfo_included
2 #define iattr_IEnumAttributeMetaInfo_included
3 
4 
6 
7 
8 namespace iattr
9 {
10 
11 
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 #endif // !iattr_IEnumAttributeMetaInfo_included
43 
44 
virtual const iser::IObject & GetEnum(int index) const =0
Gets single enumeration.
virtual QString GetValueDescription(const iser::IObject &value) const =0
Gets description of single enumeration.
Common interface for factorisable model objects.
Definition: IObject.h:19
virtual bool IsAnyValueAllowed() const =0
Checks if other then enumerated values are allowed.
virtual int GetEnumsCount() const =0
Gets number of enumerations.
Represents constraints of properties allowing values from enumerated set.
Meta information describing single attribute.

© 2007-2017 Witold Gantzke and Kirill Lepskiy