/* * The Unix Channel * * by Michel Beaudouin-Lafon * * Copyright 1990-1994 * Laboratoire de Recherche en Informatique (LRI) * * Basic I/O * * $Id$ * $CurLog$ */ #ifdef __GNUG__ #pragma implementation "IOS.h" #endif #include "IOS.h" #include "error.h" #include "ivl/String.h" /*?class IvlIOS The class \typ{IvlIOS} (for input/output stream) is a base class for all objects of \uch\ that can be written to or read from, such as buffers or sockets. It declares a number of virtual functions for reading and writing characters, integers, buffers and strings. It also provides a number of shifting operators that can be used as shorthand for reading and writing. ?*/ /*? Build a input/output stream. ?*/ IvlIOS :: IvlIOS () { } /*?nodoc?*/ IvlIOS :: ~IvlIOS () { } #ifdef DOC /*?nextdoc?*/ void IvlIOS :: WriteLong (lword l) { } /*?nextdoc?*/ void IvlIOS :: WriteShort (sword s) { } /*?nextdoc?*/ void IvlIOS :: WriteByte (byte b) { } /*?nextdoc?*/ void IvlIOS :: WriteChar (char c) { } /*?nextdoc?*/ void IvlIOS :: WriteString (const char* s) { } /*? These virtual functions are used to write on a stream. ?*/ void IvlIOS :: WriteBuf (const byte* b, int n) { } /*?nextdoc?*/ void IvlIOS :: ReadLong (lword& l) { } /*?nextdoc?*/ void IvlIOS :: ReadShort (sword& s) { } /*?nextdoc?*/ void IvlIOS :: ReadByte (byte& b) { } /*?nextdoc?*/ void IvlIOS :: ReadChar (char& c) { } /*?nextdoc?*/ void IvlIOS :: ReadString (char* s) { } /*?nextdoc?*/ void IvlIOS :: ReadString (IvlString& s) { } /*? These virtual functions are used to write on a stream. ?*/ void IvlIOS :: ReadBuf (byte* b, int n) { } #endif /* DOC */