Apache log4cxx Version 0.10.0
ByteArrayOutputStream Class Reference

OutputStream implemented on top of std::vector. More...

#include <bytearrayoutputstream.h>

Inherits OutputStream.

Public Member Functions

 ByteArrayOutputStream ()
virtual ~ByteArrayOutputStream ()
virtual void close (Pool &p)
virtual void flush (Pool &p)
virtual void write (ByteBuffer &buf, Pool &p)
ByteList toByteArray () const
Public Member Functions inherited from ObjectImpl
 ObjectImpl ()
virtual ~ObjectImpl ()
void addRef () const
void releaseRef () const
Public Member Functions inherited from Object
virtual const helpers::ClassgetClass () const
virtual ~Object ()
virtual bool instanceof (const Class &clazz) const =0
virtual const void * cast (const Class &clazz) const =0

Additional Inherited Members

Static Public Member Functions inherited from Object
static const helpers::ClassgetStaticClass ()
static const log4cxx::helpers::ClassRegistrationregisterClass ()
Protected Member Functions inherited from OutputStream
 OutputStream ()
virtual ~OutputStream ()
Protected Attributes inherited from ObjectImpl
unsigned int volatile ref

Detailed Description

OutputStream implemented on top of std::vector.

Constructor & Destructor Documentation

◆ ByteArrayOutputStream()

ByteArrayOutputStream ( )

◆ ~ByteArrayOutputStream()

virtual ~ByteArrayOutputStream ( )
virtual

Member Function Documentation

◆ close()

virtual void close ( Pool & p)
virtual

Implements OutputStream.

◆ flush()

virtual void flush ( Pool & p)
virtual

Implements OutputStream.

◆ toByteArray()

ByteList toByteArray ( ) const

◆ write()

virtual void write ( ByteBuffer & buf,
Pool & p )
virtual

Implements OutputStream.


The documentation for this class was generated from the following file: