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

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

#include <ByteArrayOutputStream.h>

Inheritance diagram for beecrypt::io::ByteArrayOutputStream:

Inheritance graph
[legend]
Collaboration diagram for beecrypt::io::ByteArrayOutputStream:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ByteArrayOutputStream ()
 ByteArrayOutputStream (size_t size)
virtual ~ByteArrayOutputStream ()
void reset () throw ()
size_t size () throw ()
bytearraytoByteArray ()
void toByteArray (bytearray &b)
void toByteArray (byte *data, size_t offset, size_t length)
void writeTo (OutputStream &out) throw (IOException)
virtual void close () throw (IOException)
virtual void flush () throw (IOException)
virtual void write (byte b) throw (IOException)
virtual void write (const byte *data, size_t offset, size_t length) throw (IOException)
virtual void write (const bytearray &b) throw (IOException)

Protected Attributes

bytearray buf
size_t count

Detailed Description


Constructor & Destructor Documentation

beecrypt::io::ByteArrayOutputStream::ByteArrayOutputStream  ) 
 

beecrypt::io::ByteArrayOutputStream::ByteArrayOutputStream size_t  size  ) 
 

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


Member Function Documentation

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

Reimplemented from beecrypt::io::OutputStream.

virtual void beecrypt::io::ByteArrayOutputStream::flush  )  throw (IOException) [virtual]
 

Reimplemented from beecrypt::io::OutputStream.

void beecrypt::io::ByteArrayOutputStream::reset  )  throw ()
 

size_t beecrypt::io::ByteArrayOutputStream::size  )  throw ()
 

void beecrypt::io::ByteArrayOutputStream::toByteArray byte data,
size_t  offset,
size_t  length
 

void beecrypt::io::ByteArrayOutputStream::toByteArray bytearray b  ) 
 

bytearray* beecrypt::io::ByteArrayOutputStream::toByteArray  ) 
 

virtual void beecrypt::io::ByteArrayOutputStream::write const bytearray b  )  throw (IOException) [virtual]
 

Reimplemented from beecrypt::io::OutputStream.

virtual void beecrypt::io::ByteArrayOutputStream::write const byte data,
size_t  offset,
size_t  length
throw (IOException) [virtual]
 

Reimplemented from beecrypt::io::OutputStream.

virtual void beecrypt::io::ByteArrayOutputStream::write byte  b  )  throw (IOException) [virtual]
 

Implements beecrypt::io::OutputStream.

void beecrypt::io::ByteArrayOutputStream::writeTo OutputStream out  )  throw (IOException)
 


Member Data Documentation

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

size_t beecrypt::io::ByteArrayOutputStream::count [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Jun 20 10:10:24 2005 for BeeCrypt by  doxygen 1.4.0