00001
00002
00003
00004
00005
00006
00007
00008 #ifndef _SK_IO_ABSTRACTOUTPUTSTREAM_
00009 #define _SK_IO_ABSTRACTOUTPUTSTREAM_
00010
00011 #include <sk/io/OutputStream.h>
00012
00013 namespace sk {
00014 namespace io {
00015 class AbstractOutputStream
00016 : public virtual sk::io::OutputStream
00017 {
00018 public:
00019
00020 const sk::util::Class getClass() const;
00021
00022
00023 virtual int write(const char* buffer, int offset, int length) = 0;
00024 int write(const std::vector<char>& data, int offset);
00025 int write(const std::vector<char>& data);
00026 int write(char byte);
00027 void flush();
00028 };
00029 }
00030 }
00031
00032 #endif