00001 #ifndef __RMOL_BOM_HISTORICALDATAHOLDERHOLDER_HPP 00002 #define __RMOL_BOM_HISTORICALDATAHOLDERHOLDER_HPP 00003 00004 // ////////////////////////////////////////////////////////////////////// 00005 // Import section 00006 // ////////////////////////////////////////////////////////////////////// 00007 // STL 00008 #include <iostream> 00009 // RMOL 00010 #include <rmol/bom/StructAbstract.hpp> 00011 00012 namespace RMOL { 00013 00015 struct HistoricalDataHolder; 00016 00018 typedef std::vector<HistoricalDataHolder> HistoricalDataVectorVector_T; 00019 00026 struct HistoricalDataHolderHolder : public StructAbstract { 00027 00028 public: 00029 // ////// Getters ////// 00031 const short getNumberOfHistoricalDataHolder () const { 00032 return _historicalDataVectorVector.size(); 00033 } 00034 00036 const HistoricalDataHolder& getHistoricalDataHolder (const short i) const{ 00037 return _historicalDataVectorVector.at(i); 00038 } 00039 00040 // ////// Setters ////// 00042 void addHistoricalDataHolder (const HistoricalDataHolder iHDHolder) { 00043 _historicalDataVectorVector.push_back(iHDHolder); 00044 } 00045 00049 void toStream (std::ostream& ioOut) const; 00050 00051 // ///////// Display Methods ////////// 00053 const std::string describe() const; 00054 00056 void display () const; 00057 00059 virtual ~HistoricalDataHolderHolder(); 00060 00061 public: 00064 HistoricalDataHolderHolder (); 00065 00066 private: 00067 00069 HistoricalDataVectorVector_T _historicalDataVectorVector; 00070 00071 }; 00072 } 00073 #endif // __RMOL_BOM_HISTORICALDATAHOLDERHOLDER_HPP 00074
Generated on Tue Sep 7 2010 18:38:31 for RMOL by Doxygen 1.7.1