Jive reference manual
List of all members | Public Types | Public Member Functions | Protected Member Functions
jem::io::ArrayOutputStream Class Reference

#include <jem/io/ArrayOutputStream.h>

Inheritance diagram for jem::io::ArrayOutputStream:
Inheritance graph

Public Types

typedef ArrayOutputStream Self
 
typedef OutputStream Super
 

Public Member Functions

 ArrayOutputStream ()
 
 ArrayOutputStream (const Array< byte > &buf)
 
 ArrayOutputStream (const Self &rhs)
 
virtual Ref< OutputStreamdup ()
 
virtual void write (const void *buf, idx_t n)
 
virtual void writeNoThrow (const void *buf, idx_t n)
 
void reset ()
 
Array< byte > toArray () const
 
- Public Member Functions inherited from jem::io::OutputStream
virtual void close ()
 
virtual void flush ()
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Protected Member Functions

virtual ~ArrayOutputStream ()
 
- Protected Member Functions inherited from jem::io::OutputStream
virtual ~OutputStream ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Member Typedef Documentation

Constructor & Destructor Documentation

jem::io::ArrayOutputStream::ArrayOutputStream ( )
jem::io::ArrayOutputStream::ArrayOutputStream ( const Array< byte > &  buf)
explicit
jem::io::ArrayOutputStream::ArrayOutputStream ( const Self rhs)
virtual jem::io::ArrayOutputStream::~ArrayOutputStream ( )
protectedvirtual

Member Function Documentation

virtual Ref<OutputStream> jem::io::ArrayOutputStream::dup ( )
virtual

Reimplemented from jem::io::OutputStream.

virtual void jem::io::ArrayOutputStream::write ( const void *  buf,
idx_t  n 
)
virtual

Implements jem::io::OutputStream.

virtual void jem::io::ArrayOutputStream::writeNoThrow ( const void *  buf,
idx_t  n 
)
virtual

Reimplemented from jem::io::OutputStream.

void jem::io::ArrayOutputStream::reset ( )
Array<byte> jem::io::ArrayOutputStream::toArray ( ) const