Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

iodevice.h File Reference

Definition of the IODevice class. More...

#include <cstdlib>
#include "defs.h"
#include "exceptions.h"

Go to the source code of this file.

Compounds

class  IODevice
 The abstract parent of all input/output devices. More...


Typedefs

typedef size_t IOSize
 Type for size measurements.


Enumerations

enum  IOState {
  ReadOk, ReadError, WriteOk, WriteError,
  EndOfFile, DeviceNotPrepared
}
 An enum with values reporting the device state. More...


Detailed Description

Definition of the IODevice class.

This file contains the definition of the IODevice class.

Definition in file iodevice.h.


Enumeration Type Documentation

enum IOState
 

An enum with values reporting the device state.

In every moment, the device is in a certain state. This state influences the behaviour of the device.

Enumeration values:
ReadOk  The read operation was successful.
ReadError  The read operation was not successful.
WriteOk  The write operation was successful.
WriteError  The write operation was successful.
EndOfFile  An end of file occurred.
DeviceNotPrepared  Device is not prepared for work.

Definition at line 46 of file iodevice.h.

Referenced by FunnelDevice::getChar, FileDevice::getChar, FunnelDevice::putChar, FileDevice::putChar, FunnelDevice::readData, FileDevice::readData, FunnelDevice::writeData, and FileDevice::writeData.


Generated on Wed Feb 5 10:43:03 2003 for Exalt by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002