barrier/io/IOutputStream.h

24 lines
379 B
C
Raw Normal View History

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