Public Member Functions | List of all members
imeas::CSimpleDataStatistics Class Reference

General implementation of the IDataStatistics interface. More...

#include <CSimpleDataStatistics.h>

Inheritance diagram for imeas::CSimpleDataStatistics:
imeas::IDataStatistics iser::ISerializable istd::IChangeable istd::IChangeable istd::IPolymorphic istd::IPolymorphic

Public Member Functions

 CSimpleDataStatistics ()
 
 CSimpleDataStatistics (double average, double median, double standardDeviation, const istd::CRange &dataBoundaries)
 
virtual void CreateStatistics (double average, double median, double standardDeviation, const istd::CRange &dataBoundaries)
 
virtual int GetSupportedStatFeatures () const
 Get set of supported statistical features. More...
 
virtual istd::CRange GetDataBoundaries () const
 Get the range of values in the data sequence. More...
 
virtual double GetStandardDeviation () const
 Get data variance. More...
 
virtual double GetAverage () const
 Get data average. More...
 
virtual double GetMedian () const
 Get data median. More...
 
virtual bool Serialize (iser::IArchive &archive)
 

Additional Inherited Members

- Public Types inherited from imeas::IDataStatistics
enum  SupportedStatFeatures { SSF_BOUNDARIES = 1 << 0, SSF_STD_DEVIATION = 1 << 1, SSF_AVERAGE = 1 << 2, SSF_MEDIAN = 1 << 3 }
 

Detailed Description

General implementation of the IDataStatistics interface.

Definition at line 15 of file CSimpleDataStatistics.h.

Constructor & Destructor Documentation

imeas::CSimpleDataStatistics::CSimpleDataStatistics ( )
imeas::CSimpleDataStatistics::CSimpleDataStatistics ( double  average,
double  median,
double  standardDeviation,
const istd::CRange dataBoundaries 
)

Member Function Documentation

virtual void imeas::CSimpleDataStatistics::CreateStatistics ( double  average,
double  median,
double  standardDeviation,
const istd::CRange dataBoundaries 
)
virtual
virtual double imeas::CSimpleDataStatistics::GetAverage ( ) const
virtual

Get data average.

Implements imeas::IDataStatistics.

virtual istd::CRange imeas::CSimpleDataStatistics::GetDataBoundaries ( ) const
virtual

Get the range of values in the data sequence.

Implements imeas::IDataStatistics.

virtual double imeas::CSimpleDataStatistics::GetMedian ( ) const
virtual

Get data median.

Implements imeas::IDataStatistics.

virtual double imeas::CSimpleDataStatistics::GetStandardDeviation ( ) const
virtual

Get data variance.

Implements imeas::IDataStatistics.

virtual int imeas::CSimpleDataStatistics::GetSupportedStatFeatures ( ) const
virtual

Get set of supported statistical features.

Implements imeas::IDataStatistics.

virtual bool imeas::CSimpleDataStatistics::Serialize ( iser::IArchive archive)
virtual

The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy