Apache Log4cxx  Version 2.0.0
Loading...
Searching...
No Matches
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 ()
void close () override
void flush () override
void write (ByteBuffer &buf) override
ByteList toByteArray () const
void close (Pool &p)
void flush (Pool &p)
void write (ByteBuffer &buf, Pool &p)
Public Member Functions inherited from log4cxx::helpers::OutputStream
void close (Pool &p)
void flush (Pool &p)
void write (ByteBuffer &buf, Pool &p)
Public Member Functions inherited from log4cxx::helpers::Object
virtual ~Object ()
virtual const helpers::Class & getClass () const =0
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() [1/2]

void log4cxx::helpers::ByteArrayOutputStream::close ( )
overridevirtual

◆ close() [2/2]

Deprecated
Backward compatability support will be removed in a future version.
Deprecated
Use close() without a Pool parameter instead

◆ flush() [1/2]

void log4cxx::helpers::ByteArrayOutputStream::flush ( )
overridevirtual

◆ flush() [2/2]

Deprecated
Backward compatability support will be removed in a future version.
Deprecated
Use flush() without a Pool parameter instead

◆ toByteArray()

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

◆ write() [1/2]

void log4cxx::helpers::ByteArrayOutputStream::write ( ByteBuffer & buf)
overridevirtual

◆ write() [2/2]

Deprecated
Backward compatability support will be removed in a future version.
Deprecated
Use write() without a Pool parameter instead

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