Main Page | Directories | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

mootio::mistream Class Reference

Abstract base class for input stream wrappers.

#include <mootIO.h>

Inheritance diagram for mootio::mistream:

Inheritance graph
[legend]
Collaboration diagram for mootio::mistream:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Constructors etc.
Input Methods

Constructor & Destructor Documentation

mootio::mistream::mistream void   )  [inline]
 

Default constructor

virtual mootio::mistream::~mistream void   )  [inline, virtual]
 

Destructor


Member Function Documentation

virtual int mootio::mistream::getc void   )  [inline, virtual]
 

Read a single byte of data. Returns EOF on eof.

Reimplemented in mootio::micbuffer, mootio::mcstream, and mootio::micxxstream.

virtual ByteCount mootio::mistream::getline std::string &  s,
const std::string &  delim = "\n\r"
[inline, virtual]
 

Read a single line of data into , using delimiters from . Returns the number of bytes read, or EOF on eof The default implementation is quite inefficient. Implicitly clears .

virtual ByteCount mootio::mistream::read char *  buf,
size_t  n
[inline, virtual]
 

Read up to
bytes of data into , returns number of bytes actually read.

Reimplemented in mootio::micbuffer, mootio::mcstream, and mootio::micxxstream.


The documentation for this class was generated from the following file:
Generated on Mon Jun 27 13:05:31 2005 for libmoot by  doxygen 1.3.8-20040913