COOPY » Guide
version 0.6.5
|
00001 #ifndef COOPY_WRITER_INC 00002 #define COOPY_WRITER_INC 00003 00004 #include <string> 00005 00006 namespace coopy { 00007 namespace format { 00008 class Reader; 00009 } 00010 } 00011 00012 class coopy::format::Reader { 00013 public: 00014 virtual ~Reader() {} 00015 00016 // Return some bytes, not necessarily all. 00017 // Returning a 0-length string signals end. 00018 virtual std::string read() = 0; 00019 }; 00020 00021 #endif