00001 #ifndef X3DTK_PROCESSHISTORY_H 00002 #define X3DTK_PROCESSHISTORY_H 00003 00004 #include "X3DBaseTypes.h" 00005 00006 #include <time.h> 00007 #include <map> 00008 00009 namespace X3DTK { 00010 00017 class ProcessHistory 00018 { 00019 public: 00021 ProcessHistory(); 00023 ProcessHistory(const ProcessHistory &H); 00024 00026 void addEntry(const SFString &content, const struct tm &time); 00028 void addEntry(const SFString &content); 00030 inline std::list<std::pair<SFString, SFString> > getProcessMap() const {return _processMap;}; 00031 00033 static struct tm loadTime(const SFString &date); 00034 00035 private: 00036 std::list<std::pair<SFString, SFString> > _processMap; 00037 }; 00038 00039 } 00040 00041 #endif