home *** CD-ROM | disk | FTP | other *** search
- //
- // $Id: InputStream.h,v 1.2 2000/06/07 06:53:19 sergey Exp $
- //
-
- #ifndef _InputStream_h_
- #define _InputStream_h_
-
- namespace Util
- {
- //
- // Input stream interface class
- //
- class InputStream
- {
- protected:
- InputStream() {}
- virtual ~InputStream() {}
-
- public:
- // Reads data from string. Returns amount of bytes read from the stream
- virtual int readData(void* data, int size) const = 0;
- virtual bool eof() const = 0;
- };
- }
- // namespace Util
-
- #endif // _InputStream_h_
-