#include <InStreams.h>
Inheritance diagram for StreamReader:
Protected Member Functions | |
virtual void | readChar (char &d, PhysicalInStream &stream)=0 |
reads a character from a stream | |
virtual void | readUChar (unsigned char &d, PhysicalInStream &stream)=0 |
reads a unsigned character from a stream | |
virtual void | readShort (short &d, PhysicalInStream &stream)=0 |
reads a short from a stream | |
virtual void | readUShort (unsigned short &d, PhysicalInStream &stream)=0 |
reads a unsigned short from a stream | |
virtual void | readInt (int &d, PhysicalInStream &stream)=0 |
reads a int from a stream | |
virtual void | readUInt (unsigned int &d, PhysicalInStream &stream)=0 |
reads a unsigned int from a stream | |
virtual void | readLong (long &d, PhysicalInStream &stream)=0 |
reads a long from a stream | |
virtual void | readULong (unsigned long &d, PhysicalInStream &stream)=0 |
reads a unsigned long from a stream | |
virtual void | readFloat (float &d, PhysicalInStream &stream)=0 |
reads a float from a stream | |
virtual void | readDouble (double &d, PhysicalInStream &stream)=0 |
reads a double from a stream | |
virtual void | readString (char *d, PhysicalInStream &stream)=0 |
reads a string from a stream | |
virtual void | readEndl (PhysicalInStream &stream)=0 |
reads the 'end of line' from a stream | |
virtual void | readData (void *p, int size, PhysicalInStream &stream)=0 |
The function reads a number of bytes from the file. | |
virtual void | skipData (int size, PhysicalInStream &stream) |
The function skips a number of bytes in the file. | |
virtual bool | isEof (const PhysicalInStream &stream) const=0 |
The function states whether the end of the stream has been reached. |
The physical reading is then done by PhysicalOutStream derivates.
Definition at line 61 of file InStreams.h.
|
reads a character from a stream
|
|
reads a unsigned character from a stream
|
|
reads a short from a stream
|
|
reads a unsigned short from a stream
|
|
reads a int from a stream
|
|
reads a unsigned int from a stream
|
|
reads a long from a stream
|
|
reads a unsigned long from a stream
|
|
reads a float from a stream
|
|
reads a double from a stream
|
|
reads a string from a stream
|
|
reads the 'end of line' from a stream
|
|
The function reads a number of bytes from the file.
Implemented in InText, and InBinary. Referenced by skipData(). |
|
The function skips a number of bytes in the file.
Reimplemented in InBinary. Definition at line 14 of file InStreams.cpp. References readData(). |
Here is the call graph for this function:
|
The function states whether the end of the stream has been reached.
|