#include <InStreams.h>
Inheritance diagram for PhysicalInStream:
Public Member Functions | |
virtual void | readFromStream (void *p, int size)=0 |
The function reads a number of bytes from a stream. | |
virtual void | skipInStream (int size) |
The function skips a number of bytes in a stream. | |
virtual bool | exists () const |
The function states whether this stream actually exists. | |
virtual bool | getEof () const=0 |
The function states whether the end of the stream has been reached. |
Derivates of PhysicalInStream only handle the reading of data from a medium, not of formating data.
Definition at line 23 of file InStreams.h.
|
The function reads a number of bytes from a stream.
Implemented in InMessageQueue, InFile, and InMemory. Referenced by InText::nextChar(), InBinary::readChar(), InBinary::readData(), InBinary::readDouble(), InBinary::readFloat(), InBinary::readInt(), InBinary::readLong(), InBinary::readShort(), InBinary::readString(), InBinary::readUChar(), InBinary::readUInt(), InBinary::readULong(), InBinary::readUShort(), and skipInStream(). |
|
The function skips a number of bytes in a stream.
Reimplemented in InMemory. Definition at line 22 of file InStreams.cpp. References readFromStream(). Referenced by InBinary::skipData(). |
Here is the call graph for this function:
|
The function states whether this stream actually exists. This function is relevant if the stream represents a file.
Reimplemented in InMessageQueue, InFile, and InMemory. Definition at line 46 of file InStreams.h. Referenced by InConfig::create(). |
|
The function states whether the end of the stream has been reached.
Implemented in InMessageQueue, InFile, and InMemory. Referenced by InBinary::isEof(), and InText::nextChar(). |