Logo Search packages:      
Sourcecode: scummvm version File versions

Public Member Functions

Common::SeekableReadStream Class Reference

#include <stream.h>

Inheritance diagram for Common::SeekableReadStream:
Inheritance graph
[legend]
Collaboration diagram for Common::SeekableReadStream:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void clearErr ()
virtual bool eos () const =0
virtual bool err () const
virtual int32 pos () const =0
virtual uint32 read (void *dataPtr, uint32 dataSize)=0
byte readByte ()
virtual char * readLine (char *s, size_t bufSize)
virtual String readLine ()
FORCEINLINE int8 readSByte ()
FORCEINLINE int16 readSint16BE ()
FORCEINLINE int16 readSint16LE ()
FORCEINLINE int32 readSint32BE ()
FORCEINLINE int32 readSint32LE ()
SeekableReadStreamreadStream (uint32 dataSize)
uint16 readUint16BE ()
uint16 readUint16LE ()
uint32 readUint32BE ()
uint32 readUint32LE ()
virtual bool seek (int32 offset, int whence=SEEK_SET)=0
virtual int32 size () const =0
virtual bool skip (uint32 offset)

Detailed Description

Interface for a seekable & readable data stream.

Todo:
Get rid of SEEK_SET, SEEK_CUR, or SEEK_END, use our own constants

Definition at line 314 of file stream.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index