it_bus/string_output_stream.h

00001 #ifndef _IT_BUS_STRING_OUTPUT_STREAM_H_
00002 #define _IT_BUS_STRING_OUTPUT_STREAM_H_
00003 
00004 // @Copyright 2004 IONA Technologies, Plc. All Rights Reserved.
00005 //
00006 
00007 #include <it_bus/types.h>
00008 #include <it_bus/api_defines.h>
00009 
00010 #include <it_bus/output_stream.h>
00011 
00012 namespace IT_Bus
00013 {
00014     class IT_AFC_API StringOutputStream : public OutputStream
00015     {
00016       public:
00017 
00018         StringOutputStream() throw((IOException));
00019 
00020         ~StringOutputStream();
00021 
00022         virtual
00023         void write(
00024             const Character to_write
00025         ) throw((IOException));
00026 
00027         virtual
00028         void write(
00029             const Character * to_write
00030         ) throw((IOException));
00031 
00032         virtual
00033         void write(
00034             const Character * to_write,
00035             size_t length
00036         ) throw((IOException));
00037 
00038         const String &
00039         get_string() const;
00040    
00041     private:
00042 
00043         StringOutputStream&
00044         operator=(
00045             const StringOutputStream & rhs
00046         );
00047 
00048         StringOutputStream(
00049             const StringOutputStream & rhs
00050         );
00051 
00052         String m_string;
00053     };
00054 }
00055 
00056 #endif  

Generated on Tue Mar 20 15:27:44 2007 for Artix by  doxygen 1.5.1-p1