Apache log4cxx  Version 0.12.0
log4cxx::helpers::ByteArrayOutputStream Class Reference

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

#include <bytearrayoutputstream.h>

Inheritance diagram for log4cxx::helpers::ByteArrayOutputStream:
log4cxx::helpers::OutputStream log4cxx::helpers::Object

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 log4cxx::helpers::Object
virtual ~Object ()
 
virtual bool instanceof (const Class &clazz) const =0
 
virtual const void * cast (const Class &clazz) const =0
 

Additional Inherited Members

- Protected Member Functions inherited from log4cxx::helpers::OutputStream
 OutputStream ()
 
virtual ~OutputStream ()
 

Detailed Description

OutputStream implemented on top of std::vector.

Constructor & Destructor Documentation

◆ ByteArrayOutputStream()

log4cxx::helpers::ByteArrayOutputStream::ByteArrayOutputStream ( )

◆ ~ByteArrayOutputStream()

virtual log4cxx::helpers::ByteArrayOutputStream::~ByteArrayOutputStream ( )
virtual

Member Function Documentation

◆ close()

virtual void log4cxx::helpers::ByteArrayOutputStream::close ( Pool p)
virtual

◆ flush()

virtual void log4cxx::helpers::ByteArrayOutputStream::flush ( Pool p)
virtual

◆ toByteArray()

ByteList log4cxx::helpers::ByteArrayOutputStream::toByteArray ( ) const

◆ write()

virtual void log4cxx::helpers::ByteArrayOutputStream::write ( ByteBuffer buf,
Pool p 
)
virtual

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