#include <archon/util/stream.H>
Inheritance diagram for Archon::Utilities::Stream::ReaderBase< C >:
Public Types | |
typedef C | CharType |
Public Member Functions | |
virtual int | read (C *buffer, int size)=0 throw (ReadException, UnexpectedException) |
Read at most 'size' characters into 'buffer'. | |
int | readAll (C *buffer, int size) throw (ReadException, UnexpectedException) |
Read until end-of-file is reached or 'size' characters have been read. | |
unsigned long | getReadCount () const |
Protected Member Functions | |
unsigned long | getReadCountNoLock () const |
Definition at line 70 of file stream.H.
|
Read at most 'size' characters into 'buffer'.
Implemented in Archon::Utilities::Stream::BasicPipe< C >, Archon::Utilities::Stream::StringReader, Archon::Utilities::Stream::FileReader, Archon::Utilities::Stream::Utf8StreamReader, Archon::Utilities::Stream::Utf8FileReader, Archon::Utilities::Stream::BasicRewindReader< C >, Archon::X3D::SAI::Reader, and Archon::Utilities::Stream::BasicPipe< char >. Referenced by Archon::Utilities::Stream::ReaderBase< char >::readAll(). |
|
Read until end-of-file is reached or 'size' characters have been read.
|