00001 #ifndef _IT_BUS_OUTPUT_STREAM_H_
00002 #define _IT_BUS_OUTPUT_STREAM_H_
00003
00004
00005
00006
00007 #include <it_bus/types.h>
00008 #include <it_bus/api_defines.h>
00009 #include <it_bus/io_exception.h>
00010
00011 namespace IT_Bus
00012 {
00016 class IT_AFC_API OutputStream
00017 {
00018 public:
00019 virtual ~OutputStream();
00020
00026 virtual
00027 void write(
00028 const Character to_write
00029 ) throw((IOException)) = 0;
00030
00036 virtual
00037 void write(
00038 const Character * to_write
00039 ) throw((IOException)) = 0;
00040
00047 virtual
00048 void write(
00049 const Character * to_write,
00050 size_t length
00051 ) throw((IOException)) = 0;
00052
00053 protected:
00054 OutputStream() {}
00055
00056 private:
00057
00058 OutputStream(const OutputStream&);
00059 void operator=(const OutputStream&);
00060 };
00061 }
00062
00063 #endif