RMOL Logo Get Revenue Management Optimisation Library at SourceForge.net. Fast, secure and Free Open Source software downloads

StudyStatManager.hpp

Go to the documentation of this file.
00001 #ifndef __RMOL_BOM_STUDYSTATMANAGER_HPP
00002 #define __RMOL_BOM_STUDYSTATMANAGER_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // RMOL
00008 #include <rmol/bom/BomAbstract.hpp>
00009 #include <rmol/bom/StatAggregatorStructList.hpp>
00010 
00011 namespace RMOL {
00012 
00014   class StudyStatManager : public BomAbstract {
00015     friend class FacStudyStatManager;
00016   public:
00017     // /////////// Getters //////////////
00021     StatAggregatorStruct_T& getStatAggregator(const std::string&);
00022 
00023     // ///////// Busines methods //////////
00026     void toStream (std::ostream&) const;
00027 
00030     void fromStream (std::istream&);
00031 
00033     std::string toString() const;
00034 
00037     const std::string describeKey() const;
00038 
00041     const std::string describeShortKey() const;
00042 
00044     void addMeasure (const std::string, const double);
00045     
00046     // ///////// Display Methods //////////
00048     const std::string describe() const;
00049     
00051     void display() const;
00052     
00053   private:
00057     StudyStatManager ();
00058     StudyStatManager (const StudyStatManager&);
00059       
00061     virtual ~StudyStatManager();
00062     
00064     StatAggregatorStructList_T& getStatAggregatorStructList() {
00065       return _statAggregatorStructList;
00066     }
00067     
00068   private:
00069     
00073     StatAggregatorStructList_T _statAggregatorStructList;
00074   };
00075 
00076 }
00077 #endif // __RMOL_BOM_STUDYSTATMANAGER_HPP
SourceForge Logo

Generated on Sun Mar 7 13:11:10 2010 for RMOL by Doxygen 1.6.1