ProcessHistory.h

Go to the documentation of this file.
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 namespace X3D {
00011 
00012 class Scene;  
00013 
00014 }
00015 
00022 class ProcessHistory
00023 {
00024 public:
00026   ProcessHistory();
00028   ProcessHistory(const ProcessHistory &H);
00029 
00031   void addEntry(const SFString &content, const struct tm &time);
00033   void addEntry(const SFString &content);
00035   inline std::list<std::pair<SFString, SFString> > getProcessMap() const {return _processMap;};
00036   
00038   static struct tm loadTime(const SFString &date);
00040   static void loadScene(X3D::Scene *S, const ProcessHistory &history);
00041 
00042 private:
00043   std::list<std::pair<SFString, SFString> > _processMap;
00044 };
00045 
00046 }
00047 
00048 #endif

Generated on Fri Aug 27 13:16:22 2004 for X3DToolKit by doxygen 1.3.6