00001 #ifndef SCT_IOMANAGER_DUMMY_H 00002 #define SCT_IOMANAGER_DUMMY_H 00003 00004 #include "IOManager.h" 00005 #include <string> 00006 00007 namespace Sct { 00012 class IOManagerDummy : public IOManager { 00013 public: 00014 static IOManagerDummy& instance() throw(); 00018 virtual void write(const Serializable& ob, const IOParams* params = 0) const; 00022 virtual shared_ptr<Serializable> read(const string& name, const IOParams* params = 0) const; 00026 std::string testStreaming1(const Streamable& s) const; 00030 std::string testStreaming2(const Streamable& s) const; 00031 00032 protected: 00033 IOManagerDummy() throw(); 00034 }; 00035 00036 } 00037 00038 #endif // SCT_IOMANAGER_DUMMY_H