CSimpleNumericValueProvider.h
Go to the documentation of this file.
1 #ifndef imeas_CSimpleNumericValueProvider_included
2 #define imeas_CSimpleNumericValueProvider_included
3 
4 
5 // ACF includes
6 #include "iser/ISerializable.h"
7 #include "ilog/TLoggerCompWrap.h"
9 
10 // QSF includes
12 
13 
14 namespace imeas
15 {
16 
17 
19 {
20 public:
21  // reimplemented (imeas::INumericValueProvider)
22  virtual int GetValuesCount() const;
23  virtual const imeas::INumericValue& GetNumericValue(int index) const;
24 
25  // reimplemented (iser::ISerializable)
26  virtual bool Serialize(iser::IArchive & archive);
27 
28  // reimplemented (istd::IChangeable)
29  virtual bool CopyFrom(const IChangeable& object, CompatibilityMode mode = CM_WITHOUT_REFS);
30 
31 private:
32  typedef QVector<imeas::CSimpleNumericValue> Values;
33 
34  Values m_values;
35 };
36 
37 
38 } // namespace imeas
39 
40 
41 #endif // !imeas_CSimpleNumericValueProvider_included
42 
43 
virtual int GetValuesCount() const
Get number of numeric values in the list.
virtual bool Serialize(iser::IArchive &archive)
Provide access to the list of the numeric values.
virtual bool CopyFrom(const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS)
General parameter set containing list of numeric values.
Definition: INumericValue.h:19
virtual const imeas::INumericValue & GetNumericValue(int index) const
Returns a single numeric value from the list.

© 2007-2011 Witold Gantzke and Kirill Lepskiy