Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

beecrypt::io::PushbackInputStream Class Reference
[C++ classes mimicking java.io]

#include <PushbackInputStream.h>

Inheritance diagram for beecrypt::io::PushbackInputStream:

[legend]
Collaboration diagram for beecrypt::io::PushbackInputStream:
[legend]
List of all members.

Public Member Functions

 PushbackInputStream (InputStream &in, size_t size=1)
virtual ~PushbackInputStream ()
virtual off_t available () throw (IOException)
virtual void close () throw (IOException)
virtual bool markSupported () throw ()
virtual int read () throw (IOException)
virtual int read (byte *data, size_t offset, size_t length) throw (IOException)
virtual off_t skip (off_t n) throw (IOException)
void unread (byte) throw (IOException)
void unread (const byte *data, size_t offset, size_t length) throw (IOException)
void unread (const bytearray &b) throw (IOException)

Protected Attributes

bytearray buf
size_t pos

Detailed Description


Constructor & Destructor Documentation

beecrypt::io::PushbackInputStream::PushbackInputStream InputStream in,
size_t  size = 1
 

virtual beecrypt::io::PushbackInputStream::~PushbackInputStream  )  [virtual]
 


Member Function Documentation

virtual off_t beecrypt::io::PushbackInputStream::available  )  throw (IOException) [virtual]
 

Reimplemented from beecrypt::io::FilterInputStream.

virtual void beecrypt::io::PushbackInputStream::close  )  throw (IOException) [virtual]
 

Reimplemented from beecrypt::io::FilterInputStream.

virtual bool beecrypt::io::PushbackInputStream::markSupported  )  throw () [virtual]
 

Reimplemented from beecrypt::io::FilterInputStream.

virtual int beecrypt::io::PushbackInputStream::read byte data,
size_t  offset,
size_t  length
throw (IOException) [virtual]
 

Reimplemented from beecrypt::io::FilterInputStream.

virtual int beecrypt::io::PushbackInputStream::read  )  throw (IOException) [virtual]
 

Reimplemented from beecrypt::io::FilterInputStream.

virtual off_t beecrypt::io::PushbackInputStream::skip off_t  n  )  throw (IOException) [virtual]
 

Reimplemented from beecrypt::io::FilterInputStream.

void beecrypt::io::PushbackInputStream::unread const bytearray b  )  throw (IOException)
 

void beecrypt::io::PushbackInputStream::unread const byte data,
size_t  offset,
size_t  length
throw (IOException)
 

void beecrypt::io::PushbackInputStream::unread byte   )  throw (IOException)
 


Member Data Documentation

bytearray beecrypt::io::PushbackInputStream::buf [protected]
 

size_t beecrypt::io::PushbackInputStream::pos [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Jun 29 23:17:35 2005 for BeeCrypt by  doxygen 1.4.1