NIREP
|
00001 #pragma once 00002 #ifndef __Statistics_H_ 00003 #define __Statistics_H_ 00004 00005 #include <string> 00006 #include "NIREPEvaluator.h" 00007 00012 class NIREPStatistics 00013 { 00014 public: 00015 // Destructor 00016 ~NIREPStatistics() {}; 00017 00018 // Compute statistic 00019 virtual TextTable ComputeStatistic(const std::vector<std::string>& arg, DisplayDescription * displayDescription) = 0; 00020 00021 protected: 00022 // Default constructor. Only subclasses are allowed to instantiate 00023 NIREPStatistics() {}; 00024 00025 // Pointer to the Evaluator to acquire data 00026 NIREPEvaluator* evaluator; 00027 00028 }; 00029 00030 #endif // __Statistics_H_