barrier/io/IOutputStream.h

24 lines
379 B
C
Raw Normal View History

2001-10-06 18:13:28 +04:00
#ifndef IOUTPUTSTREAM_H
#define IOUTPUTSTREAM_H
#include "IInterface.h"
#include "BasicTypes.h"
class IOutputStream : public IInterface {
2002-04-29 18:40:01 +04:00
public:
2001-10-06 18:13:28 +04:00
// manipulators
// close the stream
virtual void close() = 0;
2001-10-06 18:13:28 +04:00
// write count bytes to stream
virtual UInt32 write(const void*, UInt32 count) = 0;
2001-10-06 18:13:28 +04:00
// flush the stream
virtual void flush() = 0;
2001-10-06 18:13:28 +04:00
// accessors
};
#endif