CLog.h

Go to the documentation of this file.
00001 #ifndef X3DTK_CLOG_H
00002 #define X3DTK_CLOG_H
00003 
00004 #include <fstream>
00005 #include <iostream>
00006 #include "SFString.h"
00007 
00008 #include "Platform.h"
00009 
00010 namespace X3DTK {
00011 
00017 class X3DOfstream : public std::fstream
00018 {
00019 public:
00021   X3DOfstream(const char *path);
00023   ~X3DOfstream();
00024   
00026   void setPath(const char *path);
00028   void removeLog();
00029     
00030 private:
00031   void findPath(const char *path);
00032  
00033   char *_cwd;  
00034 };
00035 
00036 extern X3DOfstream cx3d;
00037 
00038 }
00039 
00040 #endif

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