INumericConstraints.h
Go to the documentation of this file.
1 #ifndef imeas_INumericConstraints_included
2 #define imeas_INumericConstraints_included
3 
4 
5 // ACF includes
6 #include "istd/IChangeable.h"
7 
8 // ACF-Solutions includes
9 #include "imath/IUnitInfo.h"
10 
11 #include "imeas/imeas.h"
12 
13 
14 namespace imeas
15 {
16 
17 
23 {
24 public:
28  virtual int GetNumericValuesCount() const = 0;
29 
34  virtual QString GetNumericValueName(int index) const = 0;
35 
40  virtual QString GetNumericValueDescription(int index) const = 0;
41 
46  virtual const imath::IUnitInfo& GetNumericValueUnitInfo(int index) const = 0;
47 };
48 
49 
50 } // namespace imeas
51 
52 
53 #endif // !imeas_INumericConstraints_included
54 
55 
virtual QString GetNumericValueName(int index) const =0
Get human readable name of numeric value for specified list index.
Describe additional meta information for set of numeric values.
virtual QString GetNumericValueDescription(int index) const =0
Get human readable description of numeric value for specified list index.
virtual int GetNumericValuesCount() const =0
Get number of expected numeric values.
virtual const imath::IUnitInfo & GetNumericValueUnitInfo(int index) const =0
Get range of possible numeric values for specified list index.

© 2007-2011 Witold Gantzke and Kirill Lepskiy