Main Page   Class Hierarchy   Compound List   Header Files   Compound Members  

BGInputStream Class Reference

This abstract class is the superclass of all classes representing an input stream of bytes. More...

#include <bgstream.h>

List of all members.


Public Members

virtual int read ( ) = 0
Reads one byte from stream. More...

virtual long read ( unsigned char *buffer, long offset, long len )
Reads specified number of bytes from stream. More...


Detailed Description

This abstract class is the superclass of all classes representing an input stream of bytes.

Applications that need to define a subclass of InputStream must always provide a method that returns the next byte of input.


Member Function Documentation

virtual int BGInputStream::read () [pure virtual]

Reads one byte from stream.

Returns:
One byte of stream or <0 if an error occurred

virtual long BGInputStream::read (unsigned char * buffer, long offset, long len) [virtual]

Reads specified number of bytes from stream.

Parameters:
buffer   Buffer to fill
offset   Offset to use
len   Nunber of bytes to read from stream

The documentation for this class was generated from the following file:
Generated at Fri Feb 18 10:57:06 2000 for bgclass by doxygen 0.49-991205 written by Dimitri van Heesch, © 1997-1999